• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Change the unit's animation with item

Status
Not open for further replies.
Level 19
Joined
Apr 21, 2013
Messages
1,194
Hey guys, i've got rid of my problem but new ones have come out :D

Now, the problem is this;

Our character chooses a weapon(item) such as spear, axe, sword,... but the main character has got
a villager model which attacks with bare hands and kicks.

So the thing i gotta solve is when the character takes spear in hand he'll have a spear attached to
both hands and attack with that not with his bare hands while he's got a weapon as its happening now...
And when he drops the weapon the weapon will be gone and his attacks will be reset to his previous one (again punch and kick).

Hope i explained it well any help is needed i gotta deal with this one before i can continue my map.
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
The model has to be animated as such. If it does have those animations, then it depends on how they're called.
If it's done smartly, it would be set up so you would have to use animation tags (e.g. all animations ending with "alternate" are meant for two-handed attacks, etc.).
"Animation - add/remove animation tag for unit"
 
Status
Not open for further replies.
Top