Meta-Animation: Difference between revisions

From Retro Modding Wiki
Jump to navigation Jump to search
>Aruki
mNo edit summary
>Aruki
No edit summary
Line 1: Line 1:
Meta-animations are animations that describe how other animations play. They can be found in the [[ANCS (File Format)|ANCS]], [[CHAR (File Format)|CHAR]], and [[SAND (File Format)|SAND]] formats.
'''Meta-animations''' are animations that describe how other animations play. They can be found in the [[ANCS (File Format)|ANCS]], [[CHAR (File Format)|CHAR]], and [[SAND (File Format)|SAND]] formats.


__TOC__
__TOC__

Revision as of 06:19, 3 March 2017

Meta-animations are animations that describe how other animations play. They can be found in the ANCS, CHAR, and SAND formats.

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