Difference between revisions of "Animation Tab"
Jump to navigation
Jump to search
→Animation file format: corrected info about .kf data
imported>Jjones |
imported>Throttlekitty (→Animation file format: corrected info about .kf data) |
||
Line 33: | Line 33: | ||
<!-- not sure if following belongs here, but it is useful info... --> | <!-- not sure if following belongs here, but it is useful info... --> | ||
The KF format specification hasn't been released by Bethesda yet | The KF format specification hasn't been released by Bethesda yet. There are some tidbits of useful information though (gleaned from NifSkope): | ||
* The animation group of an animation is stored in the file. In NifSkope: NiControllerSequence/Name. | * The animation group of an animation is stored in the file. In NifSkope: NiControllerSequence/Name. | ||
* Animation length is stored in the file. In NifSkope: In NiControllerSequence, look at Start Time and Stop Time. Also, in NiTextKeyExtraData/Text Keys/Keys, look at the first and last keys for start and stop times, respectively. I'm not sure why the times are in two different places, but they should be equal in value. | * Animation length is stored in the file. In NifSkope: In NiControllerSequence, look at Start Time and Stop Time. Also, in NiTextKeyExtraData/Text Keys/Keys, look at the first and last keys for start and stop times, respectively. I'm not sure why the times are in two different places, but they should be equal in value. | ||
* Animations also determine when certain game actions occur during the animation, such as when a gun is fired, when a weapon hits, or when a sound is played. These are displayed under Group Frame Properties and Group Sound Properties. In NifSkope: In NiTextKeyExtraData/Text Keys/Keys, look at all the keys besides the first and last. | * Animations also determine when certain game actions occur during the animation, such as when a gun is fired, when a weapon hits, or when a sound is played. These are displayed under Group Frame Properties and Group Sound Properties. In NifSkope: In NiTextKeyExtraData/Text Keys/Keys, look at all the keys besides the first and last. | ||
* In NifSkope: Each NiTransformInterpolator and NiSplineCompTransformInterpolator is responsible for the animation of a certain skeleton part. In NiControllerSequence, each Controlled Block links to an interpolator block and specifies: what skeletal part the interpolator is operating on, and the priority of animating that part (in case multiple animations are animating the same skeletal part). | * In NifSkope: Each NiTransformInterpolator and NiSplineCompTransformInterpolator is responsible for the animation of a certain skeleton part. In NiControllerSequence, each Controlled Block links to an interpolator block and specifies: what skeletal part the interpolator is operating on, and the priority of animating that part (in case multiple animations are animating the same skeletal part). | ||
* In NifSkope: If a NiTransformInterpolator contains an NiTransformData, that NiTransformData contains a sequence of rotations, translations, and scales at specified times. The role of NiTransformInterpolator | * In NifSkope: If a NiTransformInterpolator contains an NiTransformData, that NiTransformData contains a sequence of rotations, translations, and scales at specified times. The role of NiTransformInterpolator is to contain keyframe data (NiTransformData), and that the data should be [http://en.wikipedia.org/wiki/Interpolation Interpolated]. NiBSplineCompTransformInterpolator and its child nodes are difficult to visualize in NifSkope, but contains smooth curve data. | ||
* Some animations apparently loop automatically when played in the CS preview window. | * NiTransformData can also dictate how keyframes are interpolated. Linear Interpolation will move in a direct line from one keyframe to another, such as a sharp sawtooth wave. Quadratic Interpolation can specify arcs to travel between keyframes, such a a smooth sine wave. | ||
* Some animations apparently loop automatically when played in the CS preview window. This is governed by the 'Cycle Type' field in a .kf, which can be set to forward (once), looping, or backward (once). | |||
[[Category:Creatures]] | [[Category:Creatures]] | ||
[[Category:NPC]] | [[Category:NPC]] |