Template:Standard attributes for RCOXML objects: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
No edit summary
m (longer names, but more explicit and intuitive)
Line 11: Line 11:
| stdPositionZ || float || {{yes}} || {{yes}} ||  || Object Z position, in pixels
| stdPositionZ || float || {{yes}} || {{yes}} ||  || Object Z position, in pixels
|-
|-
| stdRecolourR || float || {{yes}} || {{yes}} ||  || Object Red channel override, scale 0-1
| stdScaleColourR || float || {{yes}} || {{yes}} ||  || Object Red channel override, scale 0-1
|-
|-
| stdRecolourG || float || {{yes}} || {{yes}} ||  || Object Green channel override, scale 0-1
| stdScaleColourG || float || {{yes}} || {{yes}} ||  || Object Green channel override, scale 0-1
|-
|-
| stdRecolourB || float || {{yes}} || {{yes}} ||  || Object Blue channel override, scale 0-1
| stdScaleColourB || float || {{yes}} || {{yes}} ||  || Object Blue channel override, scale 0-1
|-
|-
| stdRecolourA || float || {{yes}} || {{yes}} ||  || Object Alpha 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
| stdSizeX || float || {{yes}} || {{yes}} ||  || Object X size (width), in pixels
Line 25: Line 25:
| stdSizeZ || float || {{yes}} || {{yes}} ||  || Object Z size (depth), in pixels
| stdSizeZ || float || {{yes}} || {{yes}} ||  || Object Z size (depth), in pixels
|-
|-
| stdResizeX || float || {{yes}} || {{yes}} ||  || Object X size override, scale 0-1
| stdScaleSizeX || float || {{yes}} || {{yes}} ||  || Object X size override, scale 0-1
|-
|-
| stdResizeY || float || {{yes}} || {{yes}} ||  || Object Y size override, scale 0-1
| stdScaleSizeY || float || {{yes}} || {{yes}} ||  || Object Y size override, scale 0-1
|-
|-
| stdResizeZ || float || {{yes}} || {{yes}} ||  || Object Z size override, scale 0-1
| stdScaleSizeZ || float || {{yes}} || {{yes}} ||  || Object Z size override, scale 0-1
|-
|-
| stdAnchorPoint || int || {{yes}} || {{yes}} ||  || Object "handle point", by default located in the center of the object
| 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]]
| stdOnInit || event || {{yes}} || {{yes}} ||  || Triggers an event when the object is loaded, see [[RCOXML Structure]]

Revision as of 13:11, 10 December 2015

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