Template:RCO TOC Animations standard attributes: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
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 / <abbr title="Padding, always 0x00 0x00">00 00</abbr> / 12 34 56 78 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">object</span><span style="color:#ff3333;">="object:label"</span> '''/>'''</span> || links the animation to an [[RCOXML Objects|object]] (ref_type[1], ref_id[1], padding[2], string_offset[4])
</noinclude>| 0x28 || 0x08 || ref || '''object''' || {{yes}} || {{yes}} || 04 09 / <abbr title="Padding, always 0x00 0x00">00 00</abbr> / 12 34 56 78 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} object="object:label"/>|lang=xml|inline=yes}} || links the animation to an [[RCOXML Objects|object]] ([[Template:RCO TOC reference types|ref_type]][2], padding[2], [[Resource_Container_(RCO)|label_string_table_offset]][4])
|-
|-
| 0x30 || 0x04 || float || '''duration''' || {{yes}} || {{yes}} || 44 7A 00 00 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">duration</span><span style="color:#ff3333;">="1000"</span> '''/>'''</span> ||  
| 0x30 || 0x04 || float || '''time''' || {{yes}} || {{yes}} || 44 7A 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} time="1000"/>|lang=xml|inline=yes}} ||  
|-
|-
| 0x34 || 0x04 || int || '''accelMode''' || {{yes}} || {{yes}} || 00 00 00 03 || <span style="font-family:Courier New;">'''<{{{1|Entry}}}''' <span style="color:#000077;">accelMode</span><span style="color:#ff3333;">="0x3"</span> '''/>'''</span> ||  
| 0x34 || 0x04 || int || '''accelMode''' || {{yes}} || {{yes}} || 00 00 00 03 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} accelMode="0x3"/>|lang=xml|inline=yes}} ||  
|-<noinclude>
|-<noinclude>
|}
|}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 15:45, 23 April 2023

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 <Element object="object:label"/> links the animation to an object (ref_type[2], padding[2], label_string_table_offset[4])
0x30 0x04 float time Yes Yes 44 7A 00 00 <Element time="1000"/>
0x34 0x04 int accelMode Yes Yes 00 00 00 03 <Element accelMode="0x3"/>