Meta-Animation: Difference between revisions

From Retro Modding Wiki
Jump to navigation Jump to search
>Aruki
(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...")
 
>Aruki
 
(2 intermediate revisions by the same user not shown)
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__
Line 31: Line 31:
==== Play ====
==== Play ====


'''Play''' meta-animations simply play an [[ANIM (File Format)|ANIM]] animation.
''Play'' meta-animations simply play an [[ANIM (File Format)|ANIM]] animation.


{| class="wikitable"
{| class="wikitable"
Line 49: Line 49:
| '''Primitive Name'''
| '''Primitive Name'''
| Name of this animation primitive.
| Name of this animation primitive.
|-
| float
| '''Time'''
| First part of CCharAnimTime
|-
|-
| [[Char Anim Time]]
| [[Char Anim Time]]
Line 61: Line 57:
==== Blend/Phase Blend ====
==== Blend/Phase Blend ====


'''Blend''' and '''Phase Blend''' animations blend between two animations. The same structure is shared between both Blend and Phase Blend.
''Blend'' and ''Phase Blend'' animations blend between two animations. The same structure is shared between both Blend and Phase Blend.


{| class="wikitable"
{| class="wikitable"
Line 87: Line 83:
==== Random ====
==== Random ====


'''Random''' animations contain a list of animations and select one to be played at random.
''Random'' animations contain a list of animations and select one to be played at random.


{| class="wikitable"
{| class="wikitable"
Line 124: Line 120:
==== Sequence ====
==== Sequence ====


'''Sequence''' animations contains a list of animations and plays each of them one after the other in sequence.
''Sequence'' animations contains a list of animations and plays each of them one after the other in sequence.


{| class="wikitable"
{| class="wikitable"

Latest revision as of 23:48, 7 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.
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