Editing Template:RCO TOC Objects standard attributes
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
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 || 0x04 || float || '''positionX''' || {{yes}} || {{yes}} || 42 C8 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionX="100"/>|lang=xml| | </noinclude>| 0x28 || 0x04 || float || '''positionX''' || {{yes}} || {{yes}} || 42 C8 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionX="100"/>|lang=xml|enclose=none}} || rowspan="3" | '''XYZ Position''', in pixels | ||
|- | |- | ||
| 0x2C || 0x04 || float || '''positionY''' || {{yes}} || {{yes}} || 42 C8 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionY="100"/>|lang=xml| | | 0x2C || 0x04 || float || '''positionY''' || {{yes}} || {{yes}} || 42 C8 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionY="100"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x30 || 0x04 || float || '''positionZ''' || {{yes}} || {{yes}} || 00 00 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionZ="0"/>|lang=xml| | | 0x30 || 0x04 || float || '''positionZ''' || {{yes}} || {{yes}} || 00 00 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionZ="0"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x34 || 0x04 || float || '''colorScaleR''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} colorScaleR="1"/>|lang=xml| | | 0x34 || 0x04 || float || '''colorScaleR''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} colorScaleR="1"/>|lang=xml|enclose=none}} || rowspan="4" | '''RGBA Color Scale''' <abbr title="1 original, smaller than 1 reduced, bigger than 1 increased">multiplyer</abbr> | ||
|- | |- | ||
| 0x38 || 0x04 || float || '''colorScaleG''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} colorScaleG="1"/>|lang=xml| | | 0x38 || 0x04 || float || '''colorScaleG''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} colorScaleG="1"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x3C || 0x04 || float || '''colorScaleB''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} colorScaleB="1"/>|lang=xml| | | 0x3C || 0x04 || float || '''colorScaleB''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} colorScaleB="1"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x40 || 0x04 || float || '''colorScaleA''' || {{yes}} || {{yes}} || 3F 00 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} colorScaleA="0.5"/>|lang=xml| | | 0x40 || 0x04 || float || '''colorScaleA''' || {{yes}} || {{yes}} || 3F 00 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} colorScaleA="0.5"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x44 || 0x04 || float || '''sizeX''' || {{yes}} || {{yes}} || 42 C8 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeX="100"/>|lang=xml| | | 0x44 || 0x04 || float || '''sizeX''' || {{yes}} || {{yes}} || 42 C8 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeX="100"/>|lang=xml|enclose=none}} || rowspan="3" | '''XYZ Size''', in pixels | ||
|- | |- | ||
| 0x48 || 0x04 || float || '''sizeY''' || {{yes}} || {{yes}} || 42 C8 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeY="100"/>|lang=xml| | | 0x48 || 0x04 || float || '''sizeY''' || {{yes}} || {{yes}} || 42 C8 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeY="100"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x4C || 0x04 || float || '''sizeZ''' || {{yes}} || {{yes}} || 00 00 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeZ="0"/>|lang=xml| | | 0x4C || 0x04 || float || '''sizeZ''' || {{yes}} || {{yes}} || 00 00 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeZ="0"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x50 || 0x04 || float || '''sizeScaleX''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeScaleX="1"/>|lang=xml| | | 0x50 || 0x04 || float || '''sizeScaleX''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeScaleX="1"/>|lang=xml|enclose=none}} || rowspan="3" | '''XYZ Size Scale''' <abbr title="1 original, smaller than 1 reduced, bigger than 1 increased">multiplyer</abbr> | ||
|- | |- | ||
| 0x54 || 0x04 || float || '''sizeScaleY''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeScaleY="1"/>|lang=xml| | | 0x54 || 0x04 || float || '''sizeScaleY''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeScaleY="1"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x58 || 0x04 || float || '''sizeScaleZ''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeScaleZ="1"/>|lang=xml| | | 0x58 || 0x04 || float || '''sizeScaleZ''' || {{yes}} || {{yes}} || 3F 80 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeScaleZ="1"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x5C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''anchorMode''' || {{yes}} || {{yes}} || 00 00 / 32 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} anchorMode="0x3200"/>|lang=xml| | | 0x5C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''anchorMode''' || {{yes}} || {{yes}} || 00 00 / 32 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} anchorMode="0x3200"/>|lang=xml|enclose=none}} || Object handler point. See [[RCOXML Objects]] and [[Talk:RCOXML Objects|talk]] pages | ||
|- | |- | ||
| 0x60 || 0x08 || event || '''onInit''' || {{yes}} || {{yes}} || 04 00 / <abbr title="Padding, always 0x00 0x00">00 00</abbr> / 12 34 56 78 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} onInit="event:native:/runFuctionX"/>|lang=xml| | | 0x60 || 0x08 || event || '''onInit''' || {{yes}} || {{yes}} || 04 00 / <abbr title="Padding, always 0x00 0x00">00 00</abbr> / 12 34 56 78 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} onInit="event:native:/runFuctionX"/>|lang=xml|enclose=none}} || Triggers an '''event''' ([[Template:RCO TOC reference types|ref_type]][2], padding[2], [[Resource_Container_(RCO)|event_string_table_offset]][4]) | ||
|- | |- | ||
| 0x68 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideX''' || {{no}} || {{yes}} || 34 12 / 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionOverrideX="0x34120000"/>|lang=xml| | | 0x68 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideX''' || {{no}} || {{yes}} || 34 12 / 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionOverrideX="0x34120000"/>|lang=xml|enclose=none}} || rowspan="3" | Overrides '''XYZ Position''' with pointers to the [[XMB Layouts]] (grid_pointer[2], factor_pointer[2]) | ||
|- | |- | ||
| 0x6C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideY''' || {{no}} || {{yes}} || 35 12 / 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionOverrideY="0x35120000"/>|lang=xml| | | 0x6C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideY''' || {{no}} || {{yes}} || 35 12 / 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionOverrideY="0x35120000"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x70 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideZ''' || {{no}} || {{yes}} || 36 12 / 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionOverrideZ="0x36120000"/>|lang=xml| | | 0x70 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideZ''' || {{no}} || {{yes}} || 36 12 / 00 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} positionOverrideZ="0x36120000"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x74 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideX''' || {{no}} || {{yes}} || 37 12 / 01 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeOverrideX="0x37120100"/>|lang=xml| | | 0x74 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideX''' || {{no}} || {{yes}} || 37 12 / 01 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeOverrideX="0x37120100"/>|lang=xml|enclose=none}} || rowspan="3" | Overrides '''XYZ Size''' with pointers to the [[XMB Layouts]] (grid_pointer[2], factor_pointer[2]) | ||
|- | |- | ||
| 0x78 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideY''' || {{no}} || {{yes}} || 38 12 / 01 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeOverrideY="0x38120100"/>|lang=xml| | | 0x78 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideY''' || {{no}} || {{yes}} || 38 12 / 01 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeOverrideY="0x38120100"/>|lang=xml|enclose=none}} | ||
|- | |- | ||
| 0x7C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideZ''' || {{no}} || {{yes}} || 39 12 / 01 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeOverrideZ="0x39120100"/>|lang=xml| | | 0x7C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideZ''' || {{no}} || {{yes}} || 39 12 / 01 00 || class="nowrap | {{#tag:syntaxhighlight|<{{{1|Element}}} sizeOverrideZ="0x39120100"/>|lang=xml|enclose=none}} | ||
|-<noinclude> | |-<noinclude> | ||
|} | |} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |