• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[General] Changing Spell Animation Using Object Editor

Status
Not open for further replies.
Level 30
Joined
Jul 26, 2008
Messages
1,573
Hi guys,

I am looking to try to change a spells animation to a unit's "stand three" animation ( i am using a custom model ). I have searched on the forum and have seen many solutions (very confusing) for using triggers to do this, but since i am just slightly modifying a current spell in the world editor (Druid of the Claw's rejuvenation) i was wondering if there is a means to do this via the object editor ( i have been trying to use the Art-Animation Names field at the top of the spell data, but nothing seems to work. Was just curious if there is a way to accomplish this :)

Thanks guys!

Edit: The most relevant link i have found is the one below, but because the pictures have been removed i cannot understand how to do it :p
Using Animations
 
Hi Abovegame,
this is the screenshot i took. Basically, i am trying to modify the rejuvenation spell, and have a custom model unit use the stand three animation, but nothing happens. I will probably be exploring how to use the various attack animations for units, since many of the models on hiveworkshop i have come across have great attack animations also, so i think it is important that i get the basics down as to how to have a unit use animations while using spells ( I can make spell slam work, but that is probably because there is only one spell slam animation, where as for stand, and maybe attack, there are multiple animations )

I have also tried using "3" instead of "three", still nothing happened.
Thanks! :)


upload_2017-12-5_4-9-45.png


 
U need to use the Custom Script funtion "call SetUnitAnimationByIndex (your unit, integer)"

each unit animation is assigned to a number by the system. You need to find out which number is for the stand 3 animation.

You have to change the "your unit" part with YOUR specific unit but it has to be the JASS name. If it is a certain variable (for instance "MyUnit") you type:

call SetUnitAnimationByIndex (udg_MyUnit, integer)

The same question has been answered on this forum (check this LINK).
 
Or, since you're using a custom model anyway maybe you could just change the animation name from the model itself using a model editor. It's easier than it sounds, just download a war3modeleditor
 
Hmm, have you tried different variations on the animation names?? Like stand slam, spell slam, stand channel, etc?


Also some base abilities don't have working cast animation fields. E.g., Berserk, immolation so you might wanna check with blizz models
 
Status
Not open for further replies.
Back
Top