Game Development Community

Help!! My animation plays repeatedly

by Robert Garrett · in Artist Corner · 06/25/2002 (12:34 pm) · 4 replies

Hello there,

I've made my animation and gotten it to export, a rather wicked looking slash with a rather wicked looking sword (even if I do say so myself). I've found the action map script and bound it to mouse button0 and it goes off just fine...but then it doesn't stop. It just keeps looping and looping and looping and looping and....well you get the picture. My thoughts on it are that I'm using the playCel function to call the swing as if it were a wave or a salute, which is obviously wrong it would appear. Anyone have any ideas as to how else I could get it to play, or another function I could call? Also, I'm unhappy with the playCel function since the run animation supercedes it, while I would need the swing animation to supercede the run animation. I read in the documentation that you can set priority to certain animations, but that's about all it said.

#1
06/25/2002 (1:14 pm)
One thing that you can do is look into your sequence helper (in your 3D application) and check to make sure that its not set to be cyclic (if it is, this will cause your sequence to repeat itself).

As for getting another sequence to run while your run sequence is going... a run sequence will always take priority over any other sequence that is taking place. So what most of us are doing is only exporting the legs in the "run" DSQ (through the use of the CFG file). This then allows us to have another DSQ play that affect the upper half of the character without any problems (ie. your character can use his weapon and run at the same time).

I hope that this helps you out.

Logan
#2
06/26/2002 (1:02 pm)
It's a great help, thank you. My question now would be if you know how to open the sequence helper in 3ds max 4 (sorry, i'm not an artist, it's the first time I'm using the program.) I looked everywhere and the help was n help at all.
#3
06/26/2002 (1:05 pm)
In your scene, select the sequence helper object. Then go to the modify panel. All the parameters for the sequence helper are available there.
#4
06/29/2002 (11:01 am)
All fixed, thx =)