Template:Standard attributes for RCOXML objects: Difference between revisions
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}} || | | stdPositionY || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| stdPositionZ || float || {{yes}} || {{yes}} || | | stdPositionZ || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| stdScaleColourR || float || {{yes}} || {{yes}} || || Object Red | | stdScaleColourR || float || {{yes}} || {{yes}} || || rowspan="4" | Object Red,Green,Blue,Alpha channels override, scale 0-1 | ||
|- | |- | ||
| stdScaleColourG || float || {{yes}} || {{yes}} || | | stdScaleColourG || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| stdScaleColourB || float || {{yes}} || {{yes}} || | | stdScaleColourB || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| stdScaleColourA || float || {{yes}} || {{yes}} || | | stdScaleColourA || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| stdSizeX || float || {{yes}} || {{yes}} || || Object X size | | stdSizeX || float || {{yes}} || {{yes}} || || rowspan="3" | Object X,Y,Z size, in pixels | ||
|- | |- | ||
| stdSizeY || float || {{yes}} || {{yes}} || | | stdSizeY || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| stdSizeZ || float || {{yes}} || {{yes}} || | | 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}} || | | stdScaleSizeY || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| stdScaleSizeZ || float || {{yes}} || {{yes}} || | | 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''' | | 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}} || | | stdGridPositionY || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} || | ||
|- | |- | ||
| stdGridPositionZ || unk || {{no}} || {{yes}} || | | 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''' | | 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}} || | | stdGridSizeY || <abbr title="data type unk used on purpose because rcomage cant convert the value correctlly">unk</abbr> || {{no}} || {{yes}} || | ||
|- | |- | ||
| stdGridSizeZ || unk || {{no}} || {{yes}} || | | stdGridSizeZ || <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: | *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
Attribute | How it works | ||||
---|---|---|---|---|---|
Name | Type | 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:
0x11 | 0x10 | 0x12 |
0x01 | 0x00 | 0x02 |
0x21 | 0x20 | 0x22 |