Template:Standard attributes for RCOXML objects: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(17 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}} ||  || rowspan="3" | Object X,Y,Z position, in pixels
| PositionX || float || {{yes}} || {{yes}} ||  || rowspan="3" | '''XYZ Position''', in pixels
|-
|-
| stdPositionY || float || {{yes}} || {{yes}} ||  
| PositionY || float || {{yes}} || {{yes}} ||  
|-
|-
| stdPositionZ || float || {{yes}} || {{yes}} ||  
| PositionZ || float || {{yes}} || {{yes}} ||  
|-
|-
| stdScaleColourR || float || {{yes}} || {{yes}} ||  || rowspan="4" | Object Red,Green,Blue,Alpha channels override, scale 0-1
| ColorScaleR || float || {{yes}} || {{yes}} ||  || rowspan="4" | '''RGBA Color Scale''' (multiplyer, 1 original, smaller than 1 reduced, bigger than 1 increased)
|-
|-
| stdScaleColourG || float || {{yes}} || {{yes}} ||  
| ColorScaleG || float || {{yes}} || {{yes}} ||  
|-
|-
| stdScaleColourB || float || {{yes}} || {{yes}} ||  
| ColorScaleB || float || {{yes}} || {{yes}} ||  
|-
|-
| stdScaleColourA || float || {{yes}} || {{yes}} ||  
| ColorScaleA || float || {{yes}} || {{yes}} ||  
|-
|-
| stdSizeX || float || {{yes}} || {{yes}} ||  || rowspan="3" | Object X,Y,Z size, in pixels
| SizeX || float || {{yes}} || {{yes}} ||  || rowspan="3" | '''XYZ Size''', in pixels
|-
|-
| stdSizeY || float || {{yes}} || {{yes}} ||  
| SizeY || float || {{yes}} || {{yes}} ||  
|-
|-
| stdSizeZ || float || {{yes}} || {{yes}} ||  
| SizeZ || float || {{yes}} || {{yes}} ||  
|-
|-
| stdScaleSizeX || float || {{yes}} || {{yes}} ||  || rowspan="3" | Object X,Y,Z 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)
|-
|-
| stdScaleSizeY || float || {{yes}} || {{yes}} ||  
| SizeScaleY || float || {{yes}} || {{yes}} ||  
|-
|-
| stdScaleSizeZ || float || {{yes}} || {{yes}} ||  
| SizeScaleZ || float || {{yes}} || {{yes}} ||  
|-{{cellcolors|#DD6666}}
| AnchorMode || int || {{yes}} || {{yes}} ||  || Partially unknown
|-
|-
| stdAnchorPointMode || 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, 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]]
|-
|-
| stdOverridePositionX || <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]]
| PositionOverrideY || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
|-
|-
| stdOverridePositionY || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
| PositionOverrideZ || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
|-
|-
| stdOverridePositionZ || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
| 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]]
|-
|-
| stdOverrideSizeX || <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]]
| SizeOverrideY || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
|-
|-
| stdOverrideSizeY || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
| SizeOverrideZ || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||  
|-
| stdOverrideSizeZ || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} ||
|}
*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
|}
|}
<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>

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