Template:RCO TOC Animations standard attributes: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (human-editable fix)
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 2: Line 2:
{| class="wikitable" style="font-size:small;"
{| class="wikitable" style="font-size:small;"
|+RCO TOC Animations standard attributes {{ed right|RCO TOC Animations standard attributes}}
|+RCO TOC Animations standard attributes {{ed right|RCO TOC Animations standard attributes}}
! Offset !! Length !! Data type !! 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 || reference || '''object''' || {{yes}} || {{yes}} || FF FF 00 00 FF FF FF FF || <{{{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 / <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 || <{{{1|entry}}} <span style="color:#000099;">duration</span><span style="color:#990000;">="1000"</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 || integer || '''accelMode''' || {{yes}} || {{yes}} || 00 00 00 03 || <{{{1|entry}}} <span style="color:#000099;">accelMode</span><span style="color:#990000;">="3"</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"/>