Page 1 of 1

Extending [jmad] time

Posted: Tue Sep 04, 2007 6:16 pm
by CaptainPoopface
Is there a way to make a particular animation take longer, or simply not repeat, even though it keeps getting called by game events?

There is a Max Cycle Length field, which can be reduced to shorten the duration of an animation without causing problems. However, increasing it results in bizarre camera and animation behavior that often crashes the game.

There is also a "Doesn't Repeat" flag, but I've browsed hundreds of jmads for the masterchief, dervish and elite, and I have never seen the box checked for any of them, nor does ticking the box seem to have any effect.

Here's what I have in mind:
The "idle" animation for the magnum gets called repeatedly if you walk around with a magnum but don't do anything with it. If you swap the idle animation with, say, the "ready" animation, then you will continually ready the pistol over and over, until you fire the gun or throw a grenade or do something to interrupt the idle animation calls. I would like for the idle animation (or whatever it may be swapped to) to happen one time, and then hang on the last frame, or disappear, or anything but repeat.

It would also work if the cycle length of the animation is so long, say 10 seconds, that effectively it only occurs when it is interrupted by another animation call, then called again to start over. What I mean is, you walk around and the gun idles once, then no longer animates. You fire a few shots, then the gun plays the idle animation once and hangs again.

If you know how to do this, or know that it is not possible, please help.