Author Topic: Milkshape multiple animations  (Read 920 times)

In milkshape, how do i add more animations without deleting the existing one i made. I am working on a boat like strato's and i want the propeler to move when you go forward and backwards. I want 2 differant animations but i do not know how to add a new animation without deleting the original one. Any help?

Alright quick breefer on how animations work.

First off, you have to create a string of animation keyframes, divided into animation sequences for the model which will be all the animations it will potentially use whenever their sequence name is called by a function.

Example:

You can dedicate keyframes 1 to 2 to get a small propeller animation, or more if you want something more detailed. It will be set to loop however so keep in mind that the propeller does not need to make a full revolution to actually look like it's turning. You should keep state 1 unchanged so it matches up with other animations with little problem.

You can then set keyframes 3 to 4 for the backwards animation.

Next flatshade, do whatever else, and then go to export with DTS Plus

You can then create Animation Sequences in the exporter window. Name them something like Forward and Backward. You'll want to check the loop box for both so they'll keep spinning until something else comes up to override them. Which reminds me, you'll probably even want a 5th animation sequence that's 5 to 6 (with nothing actually happening) called Stop or something which kicks in whenever you aren't going forward or backwards.

You could also try getting a slower Ambient animation instead for "Stop", where the prop slowly spins by making another 1 to 2 sequence, this time lowering the FPS on it.

Now in script, you'll have to call those animations somehow, and it can be done easily with imageSates

Code: [Select]
stateSequence[##] = SequenceNameHere;
Or with functions, I don't have an example of that though but you can check other vehicles like the planes and stuff.