Template:Standard attributes for RCOXML objects: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (longer names, but more explicit and intuitive)
mNo edit summary
Line 5: Line 5:
! Name !! Type !! {{icon content psp}} !! {{icon content ps3}} !! Examples
! Name !! Type !! {{icon content psp}} !! {{icon content ps3}} !! Examples
|-
|-
| stdPositionX || float || {{yes}} || {{yes}} ||  || Object X position, in pixels
| stdPositionX || float || {{yes}} || {{yes}} ||  || rowspan="3" | Object X,Y,Z position, in pixels
|-
|-
| stdPositionY || float || {{yes}} || {{yes}} || || Object Y position, in pixels
| stdPositionY || float || {{yes}} || {{yes}} ||  
|-
|-
| stdPositionZ || float || {{yes}} || {{yes}} || || Object Z position, in pixels
| stdPositionZ || float || {{yes}} || {{yes}} ||  
|-
|-
| stdScaleColourR || float || {{yes}} || {{yes}} ||  || Object Red channel override, scale 0-1
| stdScaleColourR || float || {{yes}} || {{yes}} ||  || rowspan="4" | Object Red,Green,Blue,Alpha channels override, scale 0-1
|-
|-
| stdScaleColourG || float || {{yes}} || {{yes}} || || Object Green channel override, scale 0-1
| stdScaleColourG || float || {{yes}} || {{yes}} ||  
|-
|-
| stdScaleColourB || float || {{yes}} || {{yes}} || || Object Blue channel override, scale 0-1
| stdScaleColourB || float || {{yes}} || {{yes}} ||  
|-
|-
| stdScaleColourA || float || {{yes}} || {{yes}} || || Object Alpha channel override, scale 0-1
| stdScaleColourA || float || {{yes}} || {{yes}} ||  
|-
|-
| stdSizeX || float || {{yes}} || {{yes}} ||  || Object X size (width), in pixels
| stdSizeX || float || {{yes}} || {{yes}} ||  || rowspan="3" | Object X,Y,Z size, in pixels
|-
|-
| stdSizeY || float || {{yes}} || {{yes}} || || Object Y size (height), in pixels
| stdSizeY || float || {{yes}} || {{yes}} ||  
|-
|-
| stdSizeZ || float || {{yes}} || {{yes}} || || Object Z size (depth), in pixels
| stdSizeZ || float || {{yes}} || {{yes}} ||  
|-
|-
| stdScaleSizeX || float || {{yes}} || {{yes}} ||  || Object X size override, scale 0-1
| stdScaleSizeX || float || {{yes}} || {{yes}} ||  || rowspan="3" | Object X,Y,Z size override, scale 0-1
|-
|-
| stdScaleSizeY || float || {{yes}} || {{yes}} || || Object Y size override, scale 0-1
| stdScaleSizeY || float || {{yes}} || {{yes}} ||  
|-
|-
| stdScaleSizeZ || float || {{yes}} || {{yes}} || || Object Z size override, scale 0-1
| stdScaleSizeZ || float || {{yes}} || {{yes}} ||  
|-
|-
| stdAnchorPointMode || 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
Line 35: Line 35:
| 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]]
|-
|-
| stdGridPositionX || unk || {{no}} || {{yes}} ||  || Overrides '''stdPositionX''' value with a [[XMB Layouts]] reference
| stdGridPositionX || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  || rowspan="3" | Overrides '''stdPositionX''', '''stdPositionY''', '''stdPositionZ''' with values from [[XMB Layouts]]
|-
|-
| stdGridPositionY || unk || {{no}} || {{yes}} || || Overrides '''stdPositionY''' value with a [[XMB Layouts]] reference
| stdGridPositionY || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
|-
|-
| stdGridPositionZ || unk || {{no}} || {{yes}} || || Overrides '''stdPositionZ''' value with a [[XMB Layouts]] reference
| stdGridPositionZ || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
|-
|-
| stdGridSizeX || unk || {{no}} || {{yes}} ||  || Overrides '''stdSizeX''' value with a [[XMB Layouts]] reference
| stdGridSizeX || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  || rowspan="3" | Overrides '''stdSizeX''', '''stdSizeY''', '''stdSizeZ''' with values from [[XMB Layouts]]
|-
|-
| stdGridSizeY || unk || {{no}} || {{yes}} || || Overrides '''stdSizeY''' value with a [[XMB Layouts]] reference
| stdGridSizeY || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
|-
|-
| stdGridSizeZ || unk || {{no}} || {{yes}} || || Overrides '''stdSizeZ''' value with a [[XMB Layouts]] reference
| stdGridSizeZ || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
|}
|}
*[[XMB Layouts]] references uses the data type "unk" used on purpose because rcomage cant convert the value correctlly
<noinclude>[[Category:Templates]]</noinclude>
*The anchor point affects the position of the object and all transformations (resize, rotate, etc...), there are only 9 posible values:
*The anchor point affects the position of the object and all transformations (resize, rotate, etc...), there are only 9 posible values:
{| class="wikitable"
{| class="wikitable"
Line 59: Line 56:
| 0x21 || 0x20 || 0x22
| 0x21 || 0x20 || 0x22
|}
|}
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 13:22, 10 December 2015

standard object attributes
Attribute How it works
Name Type PSP icon PS3 icon Examples
stdPositionX float Yes Yes Object X,Y,Z position, in pixels
stdPositionY float Yes Yes
stdPositionZ float Yes Yes
stdScaleColourR float Yes Yes Object Red,Green,Blue,Alpha channels override, scale 0-1
stdScaleColourG float Yes Yes
stdScaleColourB float Yes Yes
stdScaleColourA float Yes Yes
stdSizeX float Yes Yes Object X,Y,Z size, in pixels
stdSizeY float Yes Yes
stdSizeZ float Yes Yes
stdScaleSizeX float Yes Yes Object X,Y,Z size override, scale 0-1
stdScaleSizeY float Yes Yes
stdScaleSizeZ float Yes Yes
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, stdPositionY, stdPositionZ with values from XMB Layouts
stdGridPositionY unk No Yes
stdGridPositionZ unk No Yes
stdGridSizeX unk No Yes Overrides stdSizeX, stdSizeY, stdSizeZ with values from XMB Layouts
stdGridSizeY unk No Yes
stdGridSizeZ unk No Yes
  • 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