Game Development Community

MilkShape 3D and looping animations?

by Edward Smith · in General Discussion · 01/01/2003 (2:15 am) · 4 replies

Ok I want my weapons to do a looping animation when its not firing etc?

Can I set a defualt animation in milkshape? I remember something about cycle? but doesn't seem to work?

Thanks in advance!

Edward

#1
01/01/2003 (3:58 am)
If I remember correctly, you can't set any default animations in Milkshape. I believe that the only way to make a "cycle" animation is to animate it to a certain point and make it return to the initial position in the end of the animation.
#2
01/01/2003 (10:03 am)
You'll have to create a looping animation in MilkShape. To do that, follow the MilkShape exporter instructions (you basically mark the sequence as "cyclic").

To get it to loop in the game, you'll need to modify the weapon's image state table. The state table is used to control which animations get played, when to transition from fireing to non-fireing, reloading etc. You'll have to set the non-fireing/idle state to play an animation. There are a few weapon tutorials in the torque resource tree, but you'll probably have to dig around a little :)
#3
01/01/2003 (11:12 am)
Thanks, Tim. But please, there is a forum for this type of post. Our poor General Forum is overloaded.

Jeff Tunnell GG
#4
01/01/2003 (3:03 pm)
Thank you very much, I was thinking I may have to do such a thing.

Sorry Jeff. its just this general forum is much easier to talk on, ok I'm just lazy.

Thanks again!