Animation Events (File Format): Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>Jackoalan
No edit summary
imported>Jackoalan
No edit summary
Line 70: Line 70:
|
|
|-
|-
|<start> + 0x2
|&#43;0x2
|<null-term>
|<null-term>
|string
|string
Line 76: Line 76:
|
|
|-
|-
|0x0
|&#43;&#43;0x0
|2
|2
|short
|short
Line 82: Line 82:
|Enumerated event type (unknown values)
|Enumerated event type (unknown values)
|-
|-
|0x2
|&#43;&#43;0x2
|4
|4
|float
|float
Line 88: Line 88:
|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
|-
|-
|0x6
|&#43;&#43;0x6
|4
|4
|long
|long
Line 94: Line 94:
|
|
|-
|-
|0xA
|&#43;&#43;0xA
|4
|4
|long
|long
Line 100: Line 100:
|Index of event unique from other events (perhaps used to maintain a ''triggered'' bitmap)
|Index of event unique from other events (perhaps used to maintain a ''triggered'' bitmap)
|-
|-
|0xE
|&#43;&#43;0xE
|1
|1
|bool
|bool
Line 106: Line 106:
|Unknown Flag
|Unknown Flag
|-
|-
|0xF
|&#43;&#43;0xF
|4
|4
|float
|float
Line 112: Line 112:
|
|
|-
|-
|0x13
|&#43;&#43;0x13
|4
|4
|float
|float
Line 118: Line 118:
|
|
|-
|-
|0x17
|&#43;&#43;0x17
|4
|4
|long
|long
Line 132: Line 132:


=== Loop Event ===
=== Loop Event ===
{| class="wikitable"
!Offset
!Length
!Data Type
!Identifier
!Notes
|-
|<start>
|<varies>
|[[#Event Base|Event Base]]
|event_base
|
|-
|&#43;0x0
|1
|bool
|unknown_flag
|
|}


=== UEVT Event ===
=== UEVT Event ===
{| class="wikitable"
!Offset
!Length
!Data Type
!Identifier
!Notes
|-
|<start>
|<varies>
|[[#Event Base|Event Base]]
|event_base
|
|-
|&#43;0x0
|4
|long
|uevt_type
|Enumerated UEVT type (unknown values)
|-
|&#43;0x4
|<null-term>
|string
|bone_name
|[[CINF (File Format)|CINF]] Bone Name (for applicable events)
|}


=== Effect Event ===
=== Effect Event ===
{| class="wikitable"
!Offset
!Length
!Data Type
!Identifier
!Notes
|-
|<start>
|<varies>
|[[#Event Base|Event Base]]
|event_base
|
|-
|&#43;0x0
|4
|long
|frame_count
|Number of frames to run effect for
|-
|&#43;0x4
|4
|long
|effect_type
|FourCC of effect's type ([[PART (File Format)|PART]], [[SWHC (File Format)|SWHC]], [[ELSC (File Format)|ELSC]])
|-
|&#43;0x8
|4
|long
|effect_ref
|ID of [[Effect Script|effect]] resource
|-
|&#43;0xC
|<null-term>
|string
|bone_name
|[[CINF (File Format)|CINF]] Bone Name (for transforming effects)
|-
|&#43;&#43;0x0
|4
|float
|effect_scale
|Proportional-scale to applied to effect in scene
|-
|&#43;&#43;0x4
|4
|long
|transform_type
|Enumerated transform-mode relating effect to actor's bone:
<ol start="0">
<li>Effect-emitter transformed to bone for initial frame, then retained</li>
<li>Effect-emitter continuously transformed to bone</li>
<li>Entire effect (particle instances and all) continuously transformed to bone</li>
</ol>
|}


=== Sound Event ===
=== Sound Event ===
{| class="wikitable"
!Offset
!Length
!Data Type
!Identifier
!Notes
|-
|<start>
|<varies>
|[[#Event Base|Event Base]]
|event_base
|
|-
|&#43;0x0
|4
|long
|sound_id
|16-bit [[AGSC (File Format)|AGSC]] ''sound-id'' indirected via [[ATBL (File Format)|ATBL]]
|-
|&#43;0x4
|4
|float
|ref_amplitude
|Reference amplitude for audio attenuation
|-
|&#43;0x8
|4
|float
|ref_distance
|Reference distance for audio attenuation
|}


[[Category:File Formats]]
[[Category:File Formats]]
Anonymous user

Navigation menu