Freedom Reborn

Freedom Force Forums => Hex Editing => Topic started by: heroidosilencio on October 20, 2016, 03:29:20 AM

Title: IS IT POSSIBLE to make a movement repeat?
Post by: heroidosilencio on October 20, 2016, 03:29:20 AM
Is it possible to make a movement repeat?

I was trying to make a tumble movement like a jump repeat multiple times.

Could I do it with nifskope??
Title: Re: IS IT POSSIBLE to make a movement repeat?
Post by: detourne_me on October 20, 2016, 09:38:42 AM
Do you mean repeat, like the idle, melee_idle, and run animations repeat themselves in a loop?

That is pretty simple to do.
Open up the keyframes in nifskope.
Open the NiControllerSequence branch of theanimation you want to change.
Right-click on each NiKeyframeController and choose "Flags"
In the pop-up menu, change the Loop Mode to Cycle.
Do this to every NiKeyframController in the animation.

You can also make an animation play only once by choosing Clamp.
Or make it play in reverse with...you guessed it, Reverse!
Title: Re: IS IT POSSIBLE to make a movement repeat?
Post by: heroidosilencio on October 22, 2016, 05:47:05 AM
detourne_me, thank you for responding.
I am talking about a tumble movement.

I am not finding the NiControllerSequence flag option.

Are you sure we can do that with a tumble too?
Title: Re: IS IT POSSIBLE to make a movement repeat?
Post by: detourne_me on October 22, 2016, 06:09:34 PM
The flags are under NiKeyframeController. There should be many of them under the NiControllerSequence.

It is totally possible with tumble!
Title: Re: IS IT POSSIBLE to make a movement repeat?
Post by: heroidosilencio on October 22, 2016, 09:57:01 PM
I did it.
Thank you.
But the movement takes too long and when it iniciate to repeat the cycle, the TUMBLE power gets over.

Is it possible to speed up this movement? And if so, how should I do it?
Title: Re: IS IT POSSIBLE to make a movement repeat?
Post by: detourne_me on October 23, 2016, 09:09:51 AM
That is possible I believe,  but would take A LOT of work. you would need to adjust ALL of the translation and quarternion keys from every NiKeyframeController to speed it up.
For example, this is my theory:
Run is too slow,  it take 1 second, you want to make it only .5 seconds.
MaybetThe left foot moves at .1,.3,.5,.7, and .9 seconds.
You would need to change the timing to happen at .05,.15,.25,.35, and .45 seconds.
So that 5 adjustments for 1 node, and there are ~30 nodes for each animation. So that's at least 150 adjustments you need to make. And the other numbers aren't nice and easy to work with like that.

But that is just my theory, If anybody else has another way to speed up keyframes, I would love to hear it!
Title: Re: IS IT POSSIBLE to make a movement repeat?
Post by: heroidosilencio on October 29, 2016, 04:31:52 AM
detourne_me, where do you see the speed in the keyframes?

I would like to try it but
I looked in the flags and I could not see any change in speed numbers.

Where should I look? And thank you
Title: Re: IS IT POSSIBLE to make a movement repeat?
Post by: detourne_me on October 29, 2016, 11:09:44 AM
Under the Translation, Quarternion, and Scale Keys for each NiKeyframeController. There will be a time value for each keyframe. That is the time when the node (the bone or mesh piece) should be at the designated position.