HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

"locking" animations

07-30-2003, 03:42 PM#1
Schantz
I am currently toying around with a cinematic based on the "bullet time" effect from the matrix movies.

I have arthas fight a blademaster, and the bullet effect should start when I execute Arthas "attack - 1" animation. However arthas has two attacks, and even though I tell the editor to play the "attack - 1" animation it shifts betwen the two animations at random. Is there someone who knows how to "lock" the animations so that when I write a trigger saying that it should ply the "attack - 1" it will always play the "attack - 1" animation and never the attack - 2 animation.

it is rahter annoying cos one animation the timing is perfect, but the other one is way off, and no matter of toying around with the pauses and stuff makes both animation look good.
07-30-2003, 06:42 PM#2
Ari
Hmmm, the problem with modeling for a so long and not doing jass for a while is that I immediately think of the mdl answer, and can't think of a jass answer at all.

In any case, the solution I immediately think of is to completely nix the second animation from the model itself. If you've never mdl-edited before this may be overly complex, though. What you'll need to do is first download yobgul's mdx <---> mdl converter, and then convert this model. You can open up the mdl file in notepad and then rename "attack 2" to something else like "dummy." You then reconvert to mdx format and implant in your map (granted this adds about 100kb to the size).

Let me know if you have any questions.
07-30-2003, 07:03 PM#3
Challis
I made a map showing you how to do this

click here to get it

If you want to completly stop the unit, use this action:

Unit - Pause/unpause

Hope that helps!
07-31-2003, 12:32 AM#4
|)@rk-Revenant
cant you use animation-remove animation (or whatever it was) and say like attack - (t12-4) or summing look at the model when you select it in the editor.
07-31-2003, 12:47 AM#5
SilentSpyder
I have the same problem with Arthas vs Arthas, so how do you make it work?