Talk:RCOXML Animations: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "=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 tab...")
 
m (easyer)
Line 7: Line 7:


{| class="wikitable"
{| class="wikitable"
|-(0x09 0x02) MoveTo
|+(0x09 0x03) Recolour
! colspan="5" | Attribute !! rowspan="2" | How it works  
! colspan="5" | Attribute !! rowspan="2" | How it works  
|-
|-
Line 18: Line 18:
| accelMode || int || {{yes}} || {{yes}} || 0x0 ||  
| accelMode || int || {{yes}} || {{yes}} || 0x0 ||  
|-
|-
| x || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''PositionX''' from the animated [[RCOXML Objects|object]]
| red || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''ColorScaleR''' from the animated [[RCOXML Objects|object]]
|-
|-
| y || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''PositionY''' from the animated [[RCOXML Objects|object]]
| green || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''ColorScaleG''' from the animated [[RCOXML Objects|object]]
|-
|-
| z || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''PositionZ''' from the animated [[RCOXML Objects|object]]
| blue || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''ColorScaleB''' from the animated [[RCOXML Objects|object]]
|-{{cellcolors|#DD6666}}
|-
| unknownInt5 || int || {{no}} || {{yes}} ||  || either updates '''SizeX''', or is an override ?
| alpha || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]]
|-{{cellcolors|#DD6666}}
| unknownInt6 || int || {{no}} || {{yes}} ||  || either updates '''SizeY''', or is an override ?
|-{{cellcolors|#DD6666}}
| unknown7 || unk || {{no}} || {{yes}} ||  || either updates '''SizeZ''', or is an override ?
|}
|}

Revision as of 03:37, 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

(0x09 0x03) Recolour
Attribute How it works
Name Type PSP icon PS3 icon Examples
object ref Yes Yes PS3 icon 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