Animation Events (File Format): Difference between revisions
Jump to navigation
Jump to search
Animation Events (File Format) (view source)
Revision as of 23:05, 24 February 2015
, 24 February 2015no edit summary
>Embyr 75 m ({{research}}) |
imported>Jackoalan No edit summary |
||
Line 1: | Line 1: | ||
{{research| | {{research|1|Some event parameters need research}} | ||
The '''EVNT format''' is a companion to [[ANIM (File Format)|ANIM]] resources. | |||
Animators are able to synchronize functional events to rigged animations for things like sound effects, visual effects, character messages, and playback control. | |||
{| class="wikitable" | |||
!Data Type | |||
!Element Count | |||
!Identifier | |||
!Notes | |||
|- | |||
|long | |||
|1 | |||
|version | |||
|0x1 or 0x2 | |||
|- | |||
|long | |||
|1 | |||
|loop_event_count | |||
| | |||
|- | |||
|[[#Loop Event|Loop Event]] | |||
|loop_event_count | |||
|loop_events | |||
| | |||
|- | |||
|long | |||
|1 | |||
|uevt_event_count | |||
|Version 0x2 only | |||
|- | |||
|[[#UEVT Event|UEVT Event]] | |||
|uevt_event_count | |||
|uevt_events | |||
|Version 0x2 only | |||
|- | |||
|long | |||
|1 | |||
|effect_event_count | |||
| | |||
|- | |||
|[[#Effect Event|Effect Event]] | |||
|effect_event_count | |||
|effect_events | |||
| | |||
|- | |||
|long | |||
|1 | |||
|sound_event_count | |||
| | |||
|- | |||
|[[#Sound Event|Sound Event]] | |||
|sound_event_count | |||
|sound_events | |||
| | |||
|} | |||
=== Event Base === | |||
{| class="wikitable" | |||
!Offset | |||
!Length | |||
!Data Type | |||
!Identifier | |||
!Notes | |||
|- | |||
|<start> | |||
|2 | |||
|short | |||
|unknown0 | |||
| | |||
|- | |||
|<start> + 0x2 | |||
|<null-term> | |||
|string | |||
|event_name | |||
| | |||
|- | |||
|0x0 | |||
|2 | |||
|short | |||
|event_type | |||
|Enumerated event type (unknown values) | |||
|- | |||
|0x2 | |||
|4 | |||
|float | |||
|event_timestamp | |||
|Time (in seconds) from start of [[ANIM (File Format)|ANIM]] to trigger event | |||
|- | |||
|0x6 | |||
|4 | |||
|long | |||
|unknown1 | |||
| | |||
|- | |||
|0xA | |||
|4 | |||
|long | |||
|event_index | |||
|Index of event unique from other events (perhaps used to maintain a ''triggered'' bitmap) | |||
|- | |||
|0xE | |||
|1 | |||
|bool | |||
|unknown2 | |||
|Unknown Flag | |||
|- | |||
|0xF | |||
|4 | |||
|float | |||
|unknown3 | |||
| | |||
|- | |||
|0x13 | |||
|4 | |||
|float | |||
|unknown4 | |||
| | |||
|- | |||
|0x17 | |||
|4 | |||
|long | |||
|unknown5 | |||
| | |||
|- | |||
|} | |||
'''RWK Note:''' The ''props'' string is formatted as: | |||
<code> | |||
Type:<event_type> <unknown1> <unknown2> <unknown3> <unknown4> <unknown5> | |||
</code> | |||
=== Loop Event === | |||
=== UEVT Event === | |||
=== Effect Event === | |||
=== Sound Event === | |||
[[Category:File Formats]] | [[Category:File Formats]] |