News:

Rings of Reznor!

Main Menu

Keyframe help

Started by TAP43, June 02, 2009, 06:45:26 PM

Previous topic - Next topic

TAP43

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

White Knight

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.


TAP43

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

White Knight

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

If this doesn't work let me know.

TAP43

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.

style

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?
The Ultimate Fan!

White Knight

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.

Failed_Hero

What if the piece has an NiNode and not corresponding NiKeyframeData like on some wings and what not?
At the end of the day all that matter is that I tried, right?