Template:RCO TOC Animations standard attributes: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes | ! Offset !! Length !! <abbr title="Data type">Type</abbr> !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (TOC) !! Example (XML) !! Notes | ||
|- | |- | ||
</noinclude>| 0x28 || 0x08 || ref || '''object''' || {{yes}} || {{yes}} || 04 | </noinclude>| 0x28 || 0x08 || ref || '''object''' || {{yes}} || {{yes}} || 04 09 / <abbr title="Padding, always 0x00 0x00">00 00</abbr> / 12 34 56 78 || <{{{1|entry}}} <span style="color:#000099;">object</span><span style="color:#990000;">="object:label"</span> /> || links the animation to an [[RCOXML Objects|object]] (ref_type[1], ref_id[1], padding[2], string_offset[4]) | ||
|- | |- | ||
| 0x30 || 0x04 || float || '''duration''' || {{yes}} || {{yes}} || 44 7A 00 00 || <{{{1|entry}}} <span style="color:#000099;">duration</span><span style="color:#990000;">="1000"</span> /> || | | 0x30 || 0x04 || float || '''duration''' || {{yes}} || {{yes}} || 44 7A 00 00 || <{{{1|entry}}} <span style="color:#000099;">duration</span><span style="color:#990000;">="1000"</span> /> || |
Revision as of 06:37, 22 October 2016
Offset | Length | Type | Name | Example (TOC) | Example (XML) | Notes | ||
---|---|---|---|---|---|---|---|---|
0x28 | 0x08 | ref | object | Yes | Yes | 04 09 / 00 00 / 12 34 56 78 | <entry object="object:label" /> | links the animation to an object (ref_type[1], ref_id[1], padding[2], string_offset[4]) |
0x30 | 0x04 | float | duration | Yes | Yes | 44 7A 00 00 | <entry duration="1000" /> | |
0x34 | 0x04 | int | accelMode | Yes | Yes | 00 00 00 03 | <entry accelMode="0x3" /> |