HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell Animation Trouble.

06-25-2009, 01:47 PM#1
Fulla
Trying to make a projectile spell for the Beserker model (Headhunter alternate). I can't seem to correctly get an attack/throw animation however, it simply either doesn't work or converts the beserker into a headhunter.

If it helps I know the animation index is 18, for beserker attack.
I've attempted numerous ways now, fiddling with the spell string, trying to manually trigger it, all leading to complete failure.

So basically asking/requesting, if anyone could give it a try for themselves. See if they can get an attack animation playing on the beserker model for any type of spell & if so please tell me how, thx.
06-25-2009, 02:01 PM#2
moyack
unitanimation by index is the best way to force it, and it should work.

My question is: How did you get that index? if you get it via magos, counting in the animation order, then I have to tell you it's not totally accurate.

I had a similar problem with Brutal Lord model in my project, and then I figured it out magos doesn't get the animation order properly.

I used mdlvis to check the right order. I'll PM you the link.
06-25-2009, 02:03 PM#3
Fulla
I ran through all the Animations in game 1-20, 18 caused the Beserker to show his attack animation.

I then tried this in the spell forcefully & it simply turns him into a headhunter.
06-25-2009, 02:59 PM#4
moyack
First animation has 0 index, so it should be 0-19
06-25-2009, 03:41 PM#5
Fulla
Oh yea I've tried 0 as well, 18 definitely is the beserker attack animation.

Wanted to see if anyone could make a spell with Beserker using the attack animation, because I can't :-/
06-25-2009, 11:11 PM#6
Fledermaus
Have you tried using "attack" and "range" as the Animation Names of the spell?

Also how are turning the HH into a Zerker?
06-25-2009, 11:31 PM#7
Fulla
Yea I tried that one, doesn't work either. The string actually is "Attack Alternate - 1" for Beserker, but can't get it working.

I'm not actually turning a HH into Zerker, he's just naturally a Beserker at all times, but can't get a throw spell animation working on him.
06-26-2009, 12:15 AM#8
Zerzax
EDIT: Ok, I got it to work. As long as the unit starts as a berserker, just use "attack" as the string in the spell animation field.

That is, with the proper model file, Frozen Throne as model (Extra) those three animation fields set to "alternate". It should work.
06-26-2009, 12:39 AM#9
moyack
I did my test too, and I was able to force this model do the animations.

I did a spell based on vampiric swarm and it does the animation properly after one second of being casted the ability.
Attached Files
File type: w3xanim test.w3x (14.1 KB)
06-26-2009, 01:01 AM#10
Zerzax
Mine was based off firebolt.
06-26-2009, 02:27 AM#11
moyack
The spell is not important, but the fact it works :)
06-26-2009, 08:21 AM#12
Fulla
Quote:
EDIT: Ok, I got it to work. As long as the unit starts as a berserker, just use "attack" as the string in the spell animation field.

That is, with the proper model file, Frozen Throne as model (Extra) those three animation fields set to "alternate". It should work.

Hmmm, well thats weird, I tried it doesn't work, atleast with channel base ability. I then tried with firebolt & it does work ?

Quote:
I did my test too, and I was able to force this model do the animations.

I did a spell based on vampiric swarm and it does the animation properly after one second of being casted the ability.

Aha yea it seems it works if you use a delayed timer, even if simply 0 seconds.

Thx guys, should have it solved now.