Editing RCOXML Animations
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=Description= | =Description= | ||
'''RCOXML animations''' are defined in the XML code embedded inside .rco files. See [[Resource Container (RCO)]] and [[RCOXML | '''RCOXML animations''' are defined in the XML code embedded inside .rco files. See [[Resource Container (RCO)]] and [[RCOXML Structure]] | ||
*External links | *External links | ||
**RCOXML animations basic ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=255053#pid255053 | **RCOXML animations basic ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=255053#pid255053 | ||
**RCOXML animations cube sample ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=326948#pid326948 | **RCOXML animations cube sample ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=326948#pid326948 | ||
=General concepts= | =General concepts= | ||
==Measure units and conversions== | ==Measure units and conversions== | ||
{{Measure units used in RCOXML code}} | {{Measure units used in RCOXML code}} | ||
= | ==Event types== | ||
{{Event types used in RCOXML code}} | |||
{{ | |||
== | ==Delays and execution timeline== | ||
RCOXML animations delays ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=262236#pid262236 | |||
{| class="wikitable" | =Animations= | ||
==MoveTo== | |||
{| class="wikitable" | |||
|- | |- | ||
| | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples | |||
! | |||
|- | |- | ||
| | | object || ref || {{yes}} || {{yes}} || {{icon content ps3|50px}} object:ps3logo || links the animation to an [[RCOXML Objects|object]] | ||
|- | |- | ||
| | | duration || float || {{yes}} || {{yes}} || 0 || | ||
| | |||
{{ | |||
{{ | |||
| | |||
|- | |- | ||
| | | accelMode || int || {{yes}} || {{yes}} || 0x0 || | ||
|- | |- | ||
| {{ | | x || float || {{yes}} || {{yes}} || || updates the value of attribute '''PositionX''' from the animated [[RCOXML Objects|object]] | ||
|- | |- | ||
| | | y || float || {{yes}} || {{yes}} || || updates the value of attribute '''PositionY''' from the animated [[RCOXML Objects|object]] | ||
|- | |- | ||
| | | z || float || {{yes}} || {{yes}} || || updates the value of attribute '''PositionZ''' from the animated [[RCOXML Objects|object]] | ||
|-{{cellcolors|#DD6666}} | |||
| unknownInt5 || int || {{no}} || {{yes}} || || either updates '''SizeX''', or is an override ? | |||
|-{{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 ? | ||
|- | |||
| | |||
|- | |||
| | |||
|} | |} | ||
== | ==Recolour== | ||
{| class="wikitable" | |||
{| class="wikitable" | |||
|- | |- | ||
| | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
| {{ | ! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples | ||
|- | |- | ||
| | | object || ref || {{yes}} || {{yes}} || {{icon content ps3|50px}} object:ps3logo || links the animation to an [[RCOXML Objects|object]] | ||
|- | |- | ||
| {{ | | duration || float || {{yes}} || {{yes}} || 0 || | ||
|- | |- | ||
| | | accelMode || int || {{yes}} || {{yes}} || 0x0 || | ||
|- | |- | ||
| | | red || float || {{yes}} || {{yes}} || || updates the value of attribute '''ColorScaleR''' from the animated [[RCOXML Objects|object]] | ||
|- | |- | ||
| | | green || float || {{yes}} || {{yes}} || || updates the value of attribute '''ColorScaleG''' from the animated [[RCOXML Objects|object]] | ||
|- | |- | ||
| | | blue || float || {{yes}} || {{yes}} || || updates the value of attribute '''ColorScaleB''' from the animated [[RCOXML Objects|object]] | ||
|- | |- | ||
| | | alpha || float || {{yes}} || {{yes}} || || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]] | ||
|} | |} | ||
== | ==Rotate== | ||
{| class="wikitable" | |||
{| class="wikitable" | |||
|- | |- | ||
| | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
| {{ | ! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples | ||
|- | |- | ||
| | | object || ref || {{yes}} || {{yes}} || {{icon content ps3|50px}} object:ps3logo || links the animation to an [[RCOXML Objects|object]] | ||
|- | |- | ||
| {{ | | duration || float || {{yes}} || {{yes}} || 0 || | ||
|- | |- | ||
| | | accelMode || int || {{yes}} || {{yes}} || 0x0 || | ||
|- | |- | ||
| | | x || float || {{yes}} || {{yes}} || || | ||
|- | |- | ||
| | | y || float || {{yes}} || {{yes}} || || | ||
|- | |- | ||
| | | z || float || {{yes}} || {{yes}} || || | ||
|} | |} | ||
== | ==Resize== | ||
{| class="wikitable" | |||
{| class="wikitable" | |||
|- | |- | ||
| | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
| {{ | ! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples | ||
|- | |- | ||
| | | object || ref || {{yes}} || {{yes}} || {{icon content ps3|50px}} object:ps3logo || links the animation to an [[RCOXML Objects|object]] | ||
|- | |- | ||
| {{ | | duration || float || {{yes}} || {{yes}} || 0 || | ||
|- | |- | ||
| | | accelMode || int || {{yes}} || {{yes}} || 0x0 || | ||
|- | |- | ||
| | | width || float || {{yes}} || {{yes}} || || updates the value of attribute '''SizeX''' from the animated [[RCOXML Objects|object]] | ||
|- | |- | ||
| | | height || float || {{yes}} || {{yes}} || || updates the value of attribute '''SizeY''' from the animated [[RCOXML Objects|object]] | ||
|- | |- | ||
| | | depth || float || {{yes}} || {{yes}} || || updates the value of attribute '''SizeZ''' from the animated [[RCOXML Objects|object]] | ||
|} | |} | ||
== | ==Fade== | ||
{| class="wikitable" | |||
{| class="wikitable" | |||
|- | |- | ||
| | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
| {{ | ! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples | ||
|- | |- | ||
| | | object || ref || {{yes}} || {{yes}} || {{icon content ps3|50px}} object:ps3logo || links the animation to an [[RCOXML Objects|object]] | ||
|- | |- | ||
| {{ | | duration || float || {{yes}} || {{yes}} || 0 || | ||
|- | |- | ||
| | | accelMode || int || {{yes}} || {{yes}} || 0x0 || | ||
|- | |- | ||
| | | transparency || float || {{yes}} || {{yes}} || || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]] | ||
|} | |} | ||
== | ==Delay== | ||
{| class="wikitable" | |||
{| class="wikitable" | |||
|- | |- | ||
| | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
| {{ | ! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples | ||
|- | |- | ||
| | | time || float || {{yes}} || {{yes}} || || | ||
|} | |} | ||
== | ==FireEvent== | ||
Triggers (or "fires") an event, there are different types of events (see [[RCOXML Structure]]). The most used inside animations are "native events" and "animation events" itself | |||
By triggering an animation event from inside an animation... both animations are played consecutivelly. Also is posible to reload the animation by triggering itself to create an infinite animation loop | |||
{| class="wikitable" | |||
{| class="wikitable" | |||
|- | |- | ||
| | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
| {{ | ! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples | ||
|- | |- | ||
| | | event || ref || {{yes}} || {{yes}} || || | ||
|} | |} | ||
== | ==Lock== | ||
Disables [[XMB]]. Note in [[Talk:Custom_render_plugin]] how '''anim_coldboot''', '''anim_coldboot2''', '''anim_gameboot''', and '''anim_otherboot''' animations starts by locking the XMB to dont interfere | Disables [[XMB]]. Note in [[Talk:Custom_render_plugin]] how '''anim_coldboot''', '''anim_coldboot2''', '''anim_gameboot''', and '''anim_otherboot''' animations starts by locking the XMB to dont interfere | ||
*In latest firmwares (where is used coldboot.raf animation) if XMB is not locked + having a dynamic theme applyed the PS3 crashes. Is because inside dynamic themes the background is a .raf animation. Is not posible to play 2 .raf animations together overlapped (from coldboot.raf and from inside a dynamic theme) | *In latest firmwares (where is used coldboot.raf animation) if XMB is not locked + having a dynamic theme applyed the PS3 crashes. Is because inside dynamic themes the background is a .raf animation. Is not posible to play 2 .raf animations together overlapped (from coldboot.raf and from inside a dynamic theme) | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
| | ! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples | ||
|-{{cellcolors|#DD6666}} | |||
| unknownInt0 || int || {{yes}} || {{yes}} || || | |||
|} | |} | ||
== | ==Unlock== | ||
Enables [[XMB]]. Note in [[Talk:Custom_render_plugin]] how '''anim_gameboot''', and '''anim_otherboot''' animations doesnt unlocks XMB at the ending because when the animation is completed a game/app boots (doesnt returns to XMB) | Enables [[XMB]]. Note in [[Talk:Custom_render_plugin]] how '''anim_gameboot''', and '''anim_otherboot''' animations doesnt unlocks XMB at the ending because when the animation is completed a game/app boots (doesnt returns to XMB) | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples | |||
|-{{cellcolors|#DD6666}} | |||
| unknownInt0 || int || {{yes}} || {{yes}} || || | |||
|- | |||
|} | |} | ||
== | ==SlideOut== | ||
{| class="wikitable" | |||
{| class="wikitable" | |||
|- | |- | ||
| | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
| {{ | ! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples | ||
|- | |- | ||
| | | object || ref || {{yes}} || {{yes}} || {{icon content ps3|50px}} object:ps3logo || links the animation to an [[RCOXML Objects|object]] | ||
|- | |- | ||
| {{ | | duration || float || {{yes}} || {{yes}} || 0 || | ||
|- | |- | ||
| | | accelMode || int || {{yes}} || {{yes}} || 0x0 || | ||
|- | |- | ||
| | | xspeed || float || {{yes}} || {{yes}} || || | ||
|- | |- | ||
| | | yspeed || float || {{yes}} || {{yes}} || || | ||
|- | |- | ||
| | | xcompress || float || {{yes}} || {{yes}} || || | ||
|- | |- | ||
| | | ycompress || float || {{yes}} || {{yes}} || || | ||
|} | |} | ||