Meta-Animation
From Retro Modding Wiki
Revision as of 00:00, 3 March 2017 by Aruki (Talk | contribs) (Created page with "Meta-animations are animations that describe how other animations play. They can be found in the ANCS, CHAR, and SAND (File For...")
Meta-animations are animations that describe how other animations play. They can be found in the ANCS, CHAR, and SAND formats.
Contents
Format
Meta-Animation
Every meta-animation starts with a u32 type enum.
ID | Type |
---|---|
0 | Play |
1 | Blend |
2 | Phase Blend |
3 | Random |
4 | Sequence |
Play
Play meta-animations simply play an ANIM animation.
Type | Name | Notes |
---|---|---|
Asset ID (ANIM) | Animation Asset ID | Animation to be played. |
u32 | Primitive ID | ID of this animation primitive. |
string | Primitive Name | Name of this animation primitive. |
float | Time | First part of CCharAnimTime |
Char Anim Time | Unknown |
Blend/Phase Blend
Blend and Phase Blend animations blend between two animations. The same structure is shared between both Blend and Phase Blend.
Type | Name | Notes |
---|---|---|
Meta-Animation | Animation A | First animation being blended. |
Meta-Animation | Animation B | Second animation being blended. |
float | Unknown | Probably blend alpha |
bool | Unknown |
Random
Random animations contain a list of animations and select one to be played at random.
Type | Count | Name | Notes |
---|---|---|---|
u32 | 1 | Anim Count | |
Anim Probability Pair | Anim Count | Anim List | List of animations that can potentially be played. |
Anim Probability Pair
Type | Name | Notes |
---|---|---|
Meta-Animation | Animation | |
u32 | Probability | Unknown exactly how this is used. |
Sequence
Sequence animations contains a list of animations and plays each of them one after the other in sequence.
Type | Count | Name | Notes |
---|---|---|---|
u32 | 1 | Anim Count | Count of animations in the sequence |
Meta-Animation | Anim Count | Anim List | List of animations to play in the sequence |