Template:RCO TOC Objects standard attributes

From PS3 Developer wiki
Revision as of 15:50, 23 April 2023 by Sandungas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
RCO TOC Objects standard attributes
Offset Length Type Name PSP icon PS3 icon Example (TOC) Example (XML) Notes
0x28 0x04 float positionX Yes Yes 42 C8 00 00 <Element positionX="100"/> XYZ Position, in pixels
0x2C 0x04 float positionY Yes Yes 42 C8 00 00 <Element positionY="100"/>
0x30 0x04 float positionZ Yes Yes 00 00 00 00 <Element positionZ="0"/>
0x34 0x04 float colorScaleR Yes Yes 3F 80 00 00 <Element colorScaleR="1"/> RGBA Color Scale multiplyer
0x38 0x04 float colorScaleG Yes Yes 3F 80 00 00 <Element colorScaleG="1"/>
0x3C 0x04 float colorScaleB Yes Yes 3F 80 00 00 <Element colorScaleB="1"/>
0x40 0x04 float colorScaleA Yes Yes 3F 00 00 00 <Element colorScaleA="0.5"/>
0x44 0x04 float sizeX Yes Yes 42 C8 00 00 <Element sizeX="100"/> XYZ Size, in pixels
0x48 0x04 float sizeY Yes Yes 42 C8 00 00 <Element sizeY="100"/>
0x4C 0x04 float sizeZ Yes Yes 00 00 00 00 <Element sizeZ="0"/>
0x50 0x04 float sizeScaleX Yes Yes 3F 80 00 00 <Element sizeScaleX="1"/> XYZ Size Scale multiplyer
0x54 0x04 float sizeScaleY Yes Yes 3F 80 00 00 <Element sizeScaleY="1"/>
0x58 0x04 float sizeScaleZ Yes Yes 3F 80 00 00 <Element sizeScaleZ="1"/>
0x5C 0x04 unk anchorMode Yes Yes 00 00 / 32 00 <Element anchorMode="0x3200"/> Object handler point. See RCOXML Objects and talk pages
0x60 0x08 event onInit Yes Yes 04 00 / 00 00 / 12 34 56 78 <Element onInit="event:native:/runFuctionX"/> Triggers an event (ref_type[2], padding[2], event_string_table_offset[4])
0x68 0x04 unk positionOverrideX No Yes 34 12 / 00 00 <Element positionOverrideX="0x34120000"/> Overrides XYZ Position with pointers to the XMB Layouts (grid_pointer[2], factor_pointer[2])
0x6C 0x04 unk positionOverrideY No Yes 35 12 / 00 00 <Element positionOverrideY="0x35120000"/>
0x70 0x04 unk positionOverrideZ No Yes 36 12 / 00 00 <Element positionOverrideZ="0x36120000"/>
0x74 0x04 unk sizeOverrideX No Yes 37 12 / 01 00 <Element sizeOverrideX="0x37120100"/> Overrides XYZ Size with pointers to the XMB Layouts (grid_pointer[2], factor_pointer[2])
0x78 0x04 unk sizeOverrideY No Yes 38 12 / 01 00 <Element sizeOverrideY="0x38120100"/>
0x7C 0x04 unk sizeOverrideZ No Yes 39 12 / 01 00 <Element sizeOverrideZ="0x39120100"/>