Freedom Reborn

Freedom Force Forums => Hex Editing => Topic started by: TAP43 on June 02, 2009, 06:45:26 PM

Title: Keyframe help
Post by: TAP43 on June 02, 2009, 06:45:26 PM
Hello,

I have a skope of a robot spider, preview on page 9. What I need is to see if anyone can help me modify the climb animation. I copied the run animation and changed the name to climb, but I need to change it to a vertical climb. So hopefully someone knows how to do this, I have tried looking at in Nifskope but can't find anyway to do it.
Thanks
Title: Re: Keyframe help
Post by: White Knight on June 03, 2009, 06:07:26 PM
Open your keyframes in Niskope.  Locate your new climb animation (Probably the last one).  Highlight the last NiKeyframeData under that animation.  You should see Quaternion Keys, that is what you need to modify.  I'm not sure if this varies from mesh to mesh, but what has worked for me is to change the subtract 90 from the y value of each Quaternion Key.  Of course, back up your keyframes first.
Let me know if none of this made any sense.

(http://i305.photobucket.com/albums/nn203/whyteknyght/Clipboard02.jpg)
Title: Re: Keyframe help
Post by: TAP43 on June 04, 2009, 02:24:47 AM
Thanks for replying, but unfortunately the keyframes don't have  Quaternion Keys. It has Linear_key and changing it only broke the keyframes. But still thank you anyway for helping and I looked through the whole climb animation and could not find anything that looked even close to what you showed me.

Thanks
Title: Re: Keyframe help
Post by: White Knight on June 04, 2009, 03:46:16 AM
Ah crud, I'm sorry.

I guess if I really wanted to be helpful, I should have made sure my advice would work on the keyframes you would be using.  Well, it works the same basic way for valandar's mojo keyframes with just some minor differences.

Maybe this will help, I created a .kf file with only mojo's run animation already modified to be vertical. Use m25's keyframes transfer utility to add this animation to your keyframes. 

http://www.mediafire.com/file/3vdm2emgn2r/mojo_val climb keyframes.rar (http://www.mediafire.com/file/3vdm2emgn2r/mojo_val%20climb%20keyframes.rar)

If this doesn't work let me know.
Title: Re: Keyframe help
Post by: TAP43 on June 04, 2009, 01:27:05 PM
Thank you so much, It does work. :thumbup: There is only one thing when he climb his head separates from his neck a little bit.
I have to try it in game to see how noticeable it is. But it work perfectly other wise, I owe you one for the help.
Title: Re: Keyframe help
Post by: style on June 13, 2009, 08:58:52 PM
I hope you don't mind me piggybacking your topic Tap.... I was wondering is there a way you can shrink something in a keyframe set or make something larger?
Title: Re: Keyframe help
Post by: White Knight on June 13, 2009, 11:45:23 PM
Absolutely, anything with a NiNode.  Same principle as above.  Locate the NiKeyframeData corresponding to the NiNode.  Within the NiKeyframeData you'll need to modify the Scale keys.
Title: Re: Keyframe help
Post by: Failed_Hero on June 14, 2009, 07:26:46 PM
What if the piece has an NiNode and not corresponding NiKeyframeData like on some wings and what not?