Template:Standard attributes for RCOXML objects: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
|+standard object attributes {{ed right|RCOXML standard object attributes}}
|+standard attributes for RCOXML objects {{ed right|standard attributes for RCOXML objects}}
! colspan="5" | Attribute !! rowspan="2" | How it works
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
|-
! Name !! Type !! {{icon content psp}} !! {{icon content ps3}} !! Examples
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-
|-
| stdPositionX || float || {{yes}} || {{yes}} ||  || Object X position, in pixels
| PositionX || float || {{yes}} || {{yes}} ||  || rowspan="3" | '''XYZ Position''', in pixels
|-
|-
| stdPositionY || float || {{yes}} || {{yes}} || || Object Y position, in pixels
| PositionY || float || {{yes}} || {{yes}} ||  
|-
|-
| stdPositionZ || float || {{yes}} || {{yes}} || || Object Z position, in pixels
| PositionZ || float || {{yes}} || {{yes}} ||  
|-
|-
| stdRecolourR || float || {{yes}} || {{yes}} ||  || Object Red channel override, scale 0-1
| ColorScaleR || float || {{yes}} || {{yes}} ||  || rowspan="4" | '''RGBA Color Scale''' (multiplyer, 1 original, smaller than 1 reduced, bigger than 1 increased)
|-
|-
| stdRecolourG || float || {{yes}} || {{yes}} || || Object Green channel override, scale 0-1
| ColorScaleG || float || {{yes}} || {{yes}} ||  
|-
|-
| stdRecolourB || float || {{yes}} || {{yes}} || || Object Blue channel override, scale 0-1
| ColorScaleB || float || {{yes}} || {{yes}} ||  
|-
|-
| stdRecolourA || float || {{yes}} || {{yes}} || || Object Alpha channel override, scale 0-1
| ColorScaleA || float || {{yes}} || {{yes}} ||  
|-
|-
| stdSizeX || float || {{yes}} || {{yes}} ||  || Object X size (width), in pixels
| SizeX || float || {{yes}} || {{yes}} ||  || rowspan="3" | '''XYZ Size''', in pixels
|-
|-
| stdSizeY || float || {{yes}} || {{yes}} || || Object Y size (height), in pixels
| SizeY || float || {{yes}} || {{yes}} ||  
|-
|-
| stdSizeZ || float || {{yes}} || {{yes}} || || Object Z size (depth), in pixels
| SizeZ || float || {{yes}} || {{yes}} ||  
|-
|-
| stdResizeX || float || {{yes}} || {{yes}} ||  || Object X size override, scale 0-1
| SizeScaleX || float || {{yes}} || {{yes}} ||  || rowspan="3" | '''XYZ Size Scale''' (multiplyer, 1 original, smaller than 1 reduced, bigger than 1 increased)
|-
|-
| stdResizeY || float || {{yes}} || {{yes}} || || Object Y size override, scale 0-1
| SizeScaleY || float || {{yes}} || {{yes}} ||  
|-
|-
| stdResizeZ || float || {{yes}} || {{yes}} ||  || Object Z size override, scale 0-1
| SizeScaleZ || float || {{yes}} || {{yes}} ||
|-{{cellcolors|#DD6666}}
| AnchorMode || int || {{yes}} || {{yes}} ||  || Partially unknown
|-
|-
| stdAnchorPoint || int || {{yes}} || {{yes}} ||  || Object "handle point", by default located in the center of the object
| OnInit || event || {{yes}} || {{yes}} ||  || Triggers an '''event'''
|-
|-
| stdOnInit || event || {{yes}} || {{yes}} ||  || Triggers an event when the object is loaded, see [[RCOXML Structure]]
| PositionOverrideX || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  || rowspan="3" | '''XYZ Position Override''' with values from [[XMB Layouts]]
|-
|-
| stdGridPositionX || unk || {{no}} || {{yes}} || || Overrides '''stdPositionX''' value with a [[XMB Layouts]] reference
| PositionOverrideY || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
|-
|-
| stdGridPositionY || unk || {{no}} || {{yes}} || || Overrides '''stdPositionY''' value with a [[XMB Layouts]] reference
| PositionOverrideZ || <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
| SizeOverrideX || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  || rowspan="3" | ''' XYZ Size Override''' with values from [[XMB Layouts]]
|-
|-
| stdGridSizeX || unk || {{no}} || {{yes}} || || Overrides '''stdSizeX''' value with a [[XMB Layouts]] reference
| SizeOverrideY || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
|-
|-
| stdGridSizeY || unk || {{no}} || {{yes}} ||  || Overrides '''stdSizeY''' value with a [[XMB Layouts]] reference
| SizeOverrideZ || <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
|}
|}
*[[XMB Layouts]] references uses the data type "unk" used on purpose because rcomage cant convert the value correctlly
<noinclude>[[Category:Templates]]</noinclude>
<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:
{| class="wikitable"
|+'''stdAnchorPoint'''
| 0x11 || 0x10 || 0x12
|-
| 0x01 || 0x00 || 0x02
|-
| 0x21 || 0x20 || 0x22
|}

Latest revision as of 13:52, 2 September 2016

standard attributes for RCOXML objects
Attribute How it works
Name Type PSP icon PS3 icon Examples
PositionX float Yes Yes XYZ Position, in pixels
PositionY float Yes Yes
PositionZ float Yes Yes
ColorScaleR float Yes Yes RGBA Color Scale (multiplyer, 1 original, smaller than 1 reduced, bigger than 1 increased)
ColorScaleG float Yes Yes
ColorScaleB float Yes Yes
ColorScaleA float Yes Yes
SizeX float Yes Yes XYZ Size, in pixels
SizeY float Yes Yes
SizeZ float Yes Yes
SizeScaleX float Yes Yes XYZ Size Scale (multiplyer, 1 original, smaller than 1 reduced, bigger than 1 increased)
SizeScaleY float Yes Yes
SizeScaleZ float Yes Yes
AnchorMode int Yes Yes Partially unknown
OnInit event Yes Yes Triggers an event
PositionOverrideX unk No Yes XYZ Position Override with values from XMB Layouts
PositionOverrideY unk No Yes
PositionOverrideZ unk No Yes
SizeOverrideX unk No Yes XYZ Size Override with values from XMB Layouts
SizeOverrideY unk No Yes
SizeOverrideZ unk No Yes