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 2: | Line 2: | ||
{| class="wikitable" style="font-size:small;" | {| class="wikitable" style="font-size:small;" | ||
|+RCO TOC Objects standard attributes {{ed right|RCO TOC Objects standard attributes}} | |+RCO TOC Objects standard attributes {{ed right|RCO TOC Objects standard attributes}} | ||
! Offset !! Length !! | ! Offset !! Length !! Data type !! 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 | | </noinclude>| 0x28 || 0x04 || float || '''positionX''' || {{yes}} || {{yes}} || 42 C8 00 00 || <{{{1|entry}}} <span style="color:#000099;">positionX</span><span style="color:#990000;">="100"</span> /> || rowspan="3" | '''XYZ Position''', in pixels | ||
|- | |- | ||
| 0x2C || 0x04 || float || '''positionY''' || {{yes}} || {{yes}} || 42 C8 00 00 | | | 0x2C || 0x04 || float || '''positionY''' || {{yes}} || {{yes}} || 42 C8 00 00 || <{{{1|entry}}} <span style="color:#000099;">positionY</span><span style="color:#990000;">="100"</span> /> | ||
|- | |- | ||
| 0x30 || 0x04 || float || '''positionZ''' || {{yes}} || {{yes}} || 00 00 00 00 | | | 0x30 || 0x04 || float || '''positionZ''' || {{yes}} || {{yes}} || 00 00 00 00 || <{{{1|entry}}} <span style="color:#000099;">positionZ</span><span style="color:#990000;">="0"</span> /> | ||
|- | |- | ||
| 0x34 || 0x04 || float || '''colorScaleR''' || {{yes}} || {{yes}} || 3F 80 00 00 | | | 0x34 || 0x04 || float || '''colorScaleR''' || {{yes}} || {{yes}} || 3F 80 00 00 || <{{{1|entry}}} <span style="color:#000099;">colorScaleR</span><span style="color:#990000;">="1"</span> /> || rowspan="4" | '''RGBA Color Scale''' (multiplyer, 1 original, smaller than 1 reduced, bigger than 1 increased) | ||
|- | |- | ||
| 0x38 || 0x04 || float || '''colorScaleG''' || {{yes}} || {{yes}} || 3F 80 00 00 | | | 0x38 || 0x04 || float || '''colorScaleG''' || {{yes}} || {{yes}} || 3F 80 00 00 || <{{{1|entry}}} <span style="color:#000099;">colorScaleG</span><span style="color:#990000;">="1"</span> /> | ||
|- | |- | ||
| 0x3C || 0x04 || float || '''colorScaleB''' || {{yes}} || {{yes}} || 3F 80 00 00 | | | 0x3C || 0x04 || float || '''colorScaleB''' || {{yes}} || {{yes}} || 3F 80 00 00 || <{{{1|entry}}} <span style="color:#000099;">colorScaleB</span><span style="color:#990000;">="1"</span> /> | ||
|- | |- | ||
| 0x40 || 0x04 || float || '''colorScaleA''' || {{yes}} || {{yes}} || 3F 00 00 00 | | | 0x40 || 0x04 || float || '''colorScaleA''' || {{yes}} || {{yes}} || 3F 00 00 00 || <{{{1|entry}}} <span style="color:#000099;">colorScaleA</span><span style="color:#990000;">="0.5"</span> /> | ||
|- | |- | ||
| 0x44 || 0x04 || float || '''sizeX''' || {{yes}} || {{yes}} || 42 C8 00 00 | | | 0x44 || 0x04 || float || '''sizeX''' || {{yes}} || {{yes}} || 42 C8 00 00 || <{{{1|entry}}} <span style="color:#000099;">sizeX</span><span style="color:#990000;">="100"</span> /> || rowspan="3" | '''XYZ Size''', in pixels | ||
|- | |- | ||
| 0x48 || 0x04 || float || '''sizeY''' || {{yes}} || {{yes}} || 42 C8 00 00 | | | 0x48 || 0x04 || float || '''sizeY''' || {{yes}} || {{yes}} || 42 C8 00 00 || <{{{1|entry}}} <span style="color:#000099;">sizeY</span><span style="color:#990000;">="100"</span> /> | ||
|- | |- | ||
| 0x4C || 0x04 || float || '''sizeZ''' || {{yes}} || {{yes}} || 00 00 00 00 | | | 0x4C || 0x04 || float || '''sizeZ''' || {{yes}} || {{yes}} || 00 00 00 00 || <{{{1|entry}}} <span style="color:#000099;">sizeZ</span><span style="color:#990000;">="0"</span> /> | ||
|- | |- | ||
| 0x50 || 0x04 || float || '''sizeScaleX''' || {{yes}} || {{yes}} || 3F 80 00 00 | | | 0x50 || 0x04 || float || '''sizeScaleX''' || {{yes}} || {{yes}} || 3F 80 00 00 || <{{{1|entry}}} <span style="color:#000099;">sizeScaleX</span><span style="color:#990000;">="1"</span> /> || rowspan="3" | '''XYZ Size Scale''' (multiplyer, 1 original, smaller than 1 reduced, bigger than 1 increased) | ||
|- | |- | ||
| 0x54 || 0x04 || float || '''sizeScaleY''' || {{yes}} || {{yes}} || 3F 80 00 00 | | | 0x54 || 0x04 || float || '''sizeScaleY''' || {{yes}} || {{yes}} || 3F 80 00 00 || <{{{1|entry}}} <span style="color:#000099;">sizeScaleY</span><span style="color:#990000;">="1"</span> /> | ||
|- | |- | ||
| 0x58 || 0x04 || float || '''sizeScaleZ''' || {{yes}} || {{yes}} || 3F 80 00 00 | | | 0x58 || 0x04 || float || '''sizeScaleZ''' || {{yes}} || {{yes}} || 3F 80 00 00 || <{{{1|entry}}} <span style="color:#000099;">sizeScaleZ</span><span style="color:#990000;">="1"</span> /> | ||
|- | |- | ||
| 0x5C || 0x04 || | | 0x5C || 0x04 || int || '''anchorMode''' || {{yes}} || {{yes}} || 00 00 00 01 || <{{{1|entry}}} <span style="color:#000099;">anchorMode</span><span style="color:#990000;">="0x1"</span> /> || object handler point | ||
|- | |- | ||
| 0x60 || 0x08 || event || '''onInit''' || {{yes}} || {{yes}} || 04 00 | | 0x60 || 0x08 || event || '''onInit''' || {{yes}} || {{yes}} || 04 00 00 00 12 34 56 78 || <{{{1|entry}}} <span style="color:#000099;">onInit</span><span style="color:#990000;">="event:native:/runFuctionX"</span> /> || Triggers an '''event''' (first 4 bytes event_type, last 4 bytes string offset) | ||
|- | |- | ||
| 0x68 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideX''' || {{no}} || {{yes}} || | | 0x68 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideX''' || {{no}} || {{yes}} || || <{{{1|entry}}} <span style="color:#000099;">positionOverrideX</span><span style="color:#990000;">=" "</span> /> || rowspan="3" | '''XYZ Position Override''' with values from [[XMB Layouts]] | ||
|- | |- | ||
| 0x6C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideY''' || {{no}} || {{yes}} || | | 0x6C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideY''' || {{no}} || {{yes}} || || <{{{1|entry}}} <span style="color:#000099;">positionOverrideY</span><span style="color:#990000;">=" "</span> /> | ||
|- | |- | ||
| 0x70 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideZ''' || {{no}} || {{yes}} || | | 0x70 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''positionOverrideZ''' || {{no}} || {{yes}} || || <{{{1|entry}}} <span style="color:#000099;">positionOverrideZ</span><span style="color:#990000;">=" "</span> /> | ||
|- | |- | ||
| 0x74 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideX''' || {{no}} || {{yes}} || | | 0x74 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideX''' || {{no}} || {{yes}} || || <{{{1|entry}}} <span style="color:#000099;">sizeOverrideX</span><span style="color:#990000;">=" "</span> /> || rowspan="3" | ''' XYZ Size Override''' with values from [[XMB Layouts]] | ||
|- | |- | ||
| 0x78 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideY''' || {{no}} || {{yes}} || | | 0x78 || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideY''' || {{no}} || {{yes}} || || <{{{1|entry}}} <span style="color:#000099;">sizeOverrideY</span><span style="color:#990000;">=" "</span> /> | ||
|- | |- | ||
| 0x7C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideZ''' || {{no}} || {{yes}} || | | 0x7C || 0x04 || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || '''sizeOverrideZ''' || {{no}} || {{yes}} || || <{{{1|entry}}} <span style="color:#000099;">sizeOverrideZ</span><span style="color:#990000;">=" "</span> /> | ||
|-<noinclude> | |-<noinclude> | ||
|} | |} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |