Template:RCO TOC Animations standard attributes: Difference between revisions

From PS3 Developer wiki
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 09 00 00 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]]
</noinclude>| 0x28 || 0x08 || ref || '''object''' || {{yes}} || {{yes}} || 04 09 00 00 / 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]] (first 2 bytes '''reference_type''', last 2 bytes '''string_offset''')
|-
|-
| 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 03:11, 14 October 2016

RCO TOC Animations standard attributes
Offset Length Type Name PSP icon PS3 icon 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 (first 2 bytes reference_type, last 2 bytes string_offset)
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" />