• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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.
 
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.
Back
Top