Animation Events (File Format): Difference between revisions
Jump to navigation
Jump to search
Animation Events (File Format) (view source)
Revision as of 07:23, 2 September 2016
, 2 September 2016→Event Base
>Aruki (→Format) |
imported>Antidote |
||
Line 81: | Line 81: | ||
| Enumerated event type (unknown values) | | Enumerated event type (unknown values) | ||
|- | |- | ||
| | | [[#CCharAnimTime|CCharAnimTime]] | ||
| 1 | | 1 | ||
| '''Event Timestamp''' | | '''Event Timestamp''' | ||
| Time (in seconds) from start of [[ANIM (File Format)|ANIM]] to trigger event | | Time (in seconds) from start of [[ANIM (File Format)|ANIM]] to trigger event | ||
|- | |- | ||
| u32 | | u32 | ||
Line 103: | Line 98: | ||
| float | | float | ||
| 1 | | 1 | ||
| | | '''Weight''' | ||
| | | The likelihood of this event being selected | ||
|- | |- | ||
| s32 | | s32 | ||
Line 115: | Line 110: | ||
| {{unknown|Unknown}} | | {{unknown|Unknown}} | ||
| | | | ||
|} | |||
====CCharAnimTime=== | |||
{| class="wikitable" | |||
! Type | |||
! Count | |||
! Name | |||
! Notes | |||
|- | |||
| float | |||
| 1 | |||
| '''Event Timestamp''' | |||
| Time (in seconds) from start of [[ANIM (File Format)|ANIM]] to trigger event | |||
|- | |||
| [[#TimeType|TimeType]] | |||
| 1 | |||
| Value Type | |||
| Describes the current status of the time value | |||
|} | |||
=====TimeType=== | |||
TimeType describes the current status of the animation time, e.g: Non-zero, Increasing from zero, Staying at zero, Decreasing to zero, or Infinity, | |||
the ordering fo | |||
{| class="wikitable" | |||
! Name | |||
! Value | |||
|- | |||
| NonZero | |||
| 0 | |||
|- | |||
| ZeroIncreasing | |||
| 1 | |||
|- | |||
| ZeroSteady | |||
| 2 | |||
|- | |||
| ZeroDecreasing | |||
| 3 | |||
|- | |||
| Infinity | |||
| 4 | |||
|} | |} | ||