Number of frames question finally answered
Posted: Mon Mar 09, 2009 10:47 am
Forever every one was debating how many frames this animation has and that one has and how many should or can be used for new ones. Well there is a way to find how many frames a animation uses.
In the munge.bat file found in the animation folder for example:(assets/animation/SoldierAnimationBank/ep3obiwan) add /comp_debug 0 /debug after where is says obiwan.zaf and before the quotes so it would look like this
@call ..\munge_animation.bat "/keepframe0 /dest obiwan.zaf /comp_debug 0 /debug" Sides\Rep
This will print out a obiwan.zat file. One important thing, if the directory does not have a basepose.msh copy a similar one from another directory, in this case just copied one from human_1 it won't work otherwise.
Now if you open this file with notepad or your editor of choice you will see all sort of information but here is a couple of examples.
As you can see there are various different frame lengths so you do not necessarily need to try and fit an animation to 10 or 20 frames.
Other useful things from the zat, you can get a listing of all the bones, and if you follow it down you can find out where a bone is parented to thus finding out the hierarchy. and such
In the munge.bat file found in the animation folder for example:(assets/animation/SoldierAnimationBank/ep3obiwan) add /comp_debug 0 /debug after where is says obiwan.zaf and before the quotes so it would look like this
@call ..\munge_animation.bat "/keepframe0 /dest obiwan.zaf /comp_debug 0 /debug" Sides\Rep
This will print out a obiwan.zat file. One important thing, if the directory does not have a basepose.msh copy a similar one from another directory, in this case just copied one from human_1 it won't work otherwise.
Now if you open this file with notepad or your editor of choice you will see all sort of information but here is a couple of examples.
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Other useful things from the zat, you can get a listing of all the bones, and if you follow it down you can find out where a bone is parented to thus finding out the hierarchy. and such
Hidden/Spoiler:
Hidden/Spoiler: