Talk:RCOXML Animations: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 26: | Line 26: | ||
| alpha || float || {{yes}} || {{yes}} || || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]] | | alpha || float || {{yes}} || {{yes}} || || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]] | ||
|} | |} | ||
{| class="wikitable" style="font-size:small;" | {| class="wikitable" style="font-size:small;" | ||
Line 49: | Line 47: | ||
| 0x1C || 0x04 || float || {{yes}} || {{yes}} || 3F 80 00 00 || 1 || '''alpha''' || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]] | | 0x1C || 0x04 || float || {{yes}} || {{yes}} || 3F 80 00 00 || 1 || '''alpha''' || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]] | ||
|} | |} | ||
<syntaxhighlight lang="xml"><entry duration="1000" /></syntaxhighlight> | |||
{| class="wikitable" style="font-size:small;" | |||
|+Attributes for entry_type 0x09030000 (Recolour) | |||
! rowspan="2" | Offset !! rowspan="2" | Length !! rowspan="2" | Data type !! colspan="2" | Console !! colspan="2" | Example !! rowspan="2" | Name !! rowspan="2" | Notes | |||
|- | |||
! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! HEX !! XML | |||
|- | |||
| {{RCOXML Animations standard attributes|Recolour}} | |||
| 0x10 || 0x04 || float || {{yes}} || {{yes}} || 3F 80 00 00 || 1 || '''red''' || updates the value of attribute '''ColorScaleR''' from the animated [[RCOXML Objects|object]] | |||
|- | |||
| 0x14 || 0x04 || float || {{yes}} || {{yes}} || 3F 80 00 00 || 1 || '''green''' || updates the value of attribute '''ColorScaleG''' from the animated [[RCOXML Objects|object]] | |||
|- | |||
| 0x18 || 0x04 || float || {{yes}} || {{yes}} || 3F 80 00 00 || 1 || '''blue''' || updates the value of attribute '''ColorScaleB''' from the animated [[RCOXML Objects|object]] | |||
|- | |||
| 0x1C || 0x04 || float || {{yes}} || {{yes}} || 3F 80 00 00 || 1 || '''alpha''' || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]] | |||
|} |
Revision as of 05:45, 24 September 2016
Tests
Dual table with common and specific attributes + using the same headers than the tables on Resource Container (RCO)
The purpose is to standarize a bit the tables used in wiki by creating tables that contains templates, and move all the info related to attribute entry types to separated wiki pages
Also, is needed to include in the table info about how are represented the values inside the TOC (raw values like in an hexeditor view with offset, length, etc...) and in the RCOXML (values converted to XML), also the data types that indicates the conversion method from TOC to XML for every value
Attribute | How it works | ||||
---|---|---|---|---|---|
Name | Type | Examples | |||
object | ref | Yes | Yes | object:ps3logo | links the animation to an object |
duration | float | Yes | Yes | 1000 | |
accelMode | int | Yes | Yes | 0x0 | |
red | float | Yes | Yes | updates the value of attribute ColorScaleR from the animated object | |
green | float | Yes | Yes | updates the value of attribute ColorScaleG from the animated object | |
blue | float | Yes | Yes | updates the value of attribute ColorScaleB from the animated object | |
alpha | float | Yes | Yes | updates the value of attribute ColorScaleA from the animated object |
Offset | Length | Data type | Console | Example | Name | Notes | ||
---|---|---|---|---|---|---|---|---|
HEX | XML | |||||||
0x00 | 0x08 | reference | Yes | Yes | FF FF 00 00 FF FF FF FF | object:ps3logo | object | links the animation to an object |
0x08 | 0x04 | float | Yes | Yes | 44 7A 00 00 | 1000 | duration | |
0x0C | 0x04 | integer | Yes | Yes | 00 00 00 03 | 3 | accelMode | |
0x10 | 0x04 | float | Yes | Yes | 3F 80 00 00 | 1 | red | updates the value of attribute ColorScaleR from the animated object |
0x14 | 0x04 | float | Yes | Yes | 3F 80 00 00 | 1 | green | updates the value of attribute ColorScaleG from the animated object |
0x18 | 0x04 | float | Yes | Yes | 3F 80 00 00 | 1 | blue | updates the value of attribute ColorScaleB from the animated object |
0x1C | 0x04 | float | Yes | Yes | 3F 80 00 00 | 1 | alpha | updates the value of attribute ColorScaleA from the animated object |
<entry duration="1000" />
Offset | Length | Data type | Console | Example | Name | Notes | |||
---|---|---|---|---|---|---|---|---|---|
HEX | XML | ||||||||
Template:RCOXML Animations standard attributes | 0x10 | 0x04 | float | Yes | Yes | 3F 80 00 00 | 1 | red | updates the value of attribute ColorScaleR from the animated object |
0x14 | 0x04 | float | Yes | Yes | 3F 80 00 00 | 1 | green | updates the value of attribute ColorScaleG from the animated object | |
0x18 | 0x04 | float | Yes | Yes | 3F 80 00 00 | 1 | blue | updates the value of attribute ColorScaleB from the animated object | |
0x1C | 0x04 | float | Yes | Yes | 3F 80 00 00 | 1 | alpha | updates the value of attribute ColorScaleA from the animated object |