Template:Standard attributes for RCOXML objects

From PS3 Developer wiki
Revision as of 13:11, 10 December 2015 by Sandungas (talk | contribs) (longer names, but more explicit and intuitive)
Jump to navigation Jump to search
standard object attributes
Attribute How it works
Name Type PSP icon PS3 icon Examples
stdPositionX float Yes Yes Object X position, in pixels
stdPositionY float Yes Yes Object Y position, in pixels
stdPositionZ float Yes Yes Object Z position, in pixels
stdScaleColourR float Yes Yes Object Red channel override, scale 0-1
stdScaleColourG float Yes Yes Object Green channel override, scale 0-1
stdScaleColourB float Yes Yes Object Blue channel override, scale 0-1
stdScaleColourA float Yes Yes Object Alpha channel override, scale 0-1
stdSizeX float Yes Yes Object X size (width), in pixels
stdSizeY float Yes Yes Object Y size (height), in pixels
stdSizeZ float Yes Yes Object Z size (depth), in pixels
stdScaleSizeX float Yes Yes Object X size override, scale 0-1
stdScaleSizeY float Yes Yes Object Y size override, scale 0-1
stdScaleSizeZ float Yes Yes Object Z size override, scale 0-1
stdAnchorPointMode int Yes Yes Object "handle point", by default located in the center of the object
stdOnInit event Yes Yes Triggers an event when the object is loaded, see RCOXML Structure
stdGridPositionX unk No Yes Overrides stdPositionX value with a XMB Layouts reference
stdGridPositionY unk No Yes Overrides stdPositionY value with a XMB Layouts reference
stdGridPositionZ unk No Yes Overrides stdPositionZ value with a XMB Layouts reference
stdGridSizeX unk No Yes Overrides stdSizeX value with a XMB Layouts reference
stdGridSizeY unk No Yes Overrides stdSizeY value with a XMB Layouts reference
stdGridSizeZ unk No Yes Overrides stdSizeZ value with a XMB Layouts reference
  • XMB Layouts references uses the data type "unk" used on purpose because rcomage cant convert the value correctlly
  • The anchor point affects the position of the object and all transformations (resize, rotate, etc...), there are only 9 posible values:
stdAnchorPoint
0x11 0x10 0x12
0x01 0x00 0x02
0x21 0x20 0x22