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 5: | Line 5: | ||
**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 | ||
{{RCOXML contents PS3}} | |||
{{spoiler|RCOXML contents PS3|{{RCOXML contents PS3}}}} | |||
=General concepts= | =General concepts= | ||
==Measure units and conversions== | |||
{{Measure units used in RCOXML code}} | |||
==Reference loaders== | |||
{{RCOXML reference loaders}} | |||
==Delays and execution timeline== | ==Delays and execution timeline== | ||
RCOXML animations delays ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=262236#pid262236 | RCOXML animations delays ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=262236#pid262236 | ||
== | ==Acceleration modes== | ||
*'''accelMode'''. Used to accelerate or decelerate an animation effect, used by most of the animations, posible values are: | |||
*'''accelMode'''. Used to accelerate or decelerate an animation, used by most of the animations, posible values are: | |||
**0x0 - no accelaration | **0x0 - no accelaration | ||
**0x1 - starts fast, ends slow | **0x1 - starts fast, ends slow | ||
Line 32: | Line 27: | ||
**0x4 - starts slow, ends fast | **0x4 - starts slow, ends fast | ||
= | =(0x09 0x00) AnimTree= | ||
==( | ==(0x09 0x01) Animation== | ||
The '''AnimTree''' can have one or more '''Animation''' childrens, and every '''Animation''' can have a list of the childrens listed below | |||
===(0x09 0x02) 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}} || 1000 || | ||
| | |||
| | |||
|- | |- | ||
| | | 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 ? | ||
|- | |||
| | |||
|- | |||
| | |||
|} | |} | ||
==( | ===(0x09 0x03) 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}} || 1000 || | ||
|- | |- | ||
| | | 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]] | ||
|} | |} | ||
==( | ===(0x09 0x04) 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}} || 1000 || | ||
|- | |- | ||
| | | accelMode || int || {{yes}} || {{yes}} || 0x0 || | ||
|- | |- | ||
| | | x || float || {{yes}} || {{yes}} || || | ||
|- | |- | ||
| | | y || float || {{yes}} || {{yes}} || || | ||
|- | |- | ||
| | | z || float || {{yes}} || {{yes}} || || | ||
|} | |} | ||
==( | ===(0x09 0x05) 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}} || 1000 || | ||
|- | |- | ||
| | | accelMode || int || {{yes}} || {{yes}} || 0x0 || | ||
|- | |- | ||
| | | width || float || {{yes}} || {{yes}} || || updates the value of attribute '''SizeScaleX''' from the animated [[RCOXML Objects|object]] | ||
|- | |- | ||
| | | height || float || {{yes}} || {{yes}} || || updates the value of attribute '''SizeScaleY''' from the animated [[RCOXML Objects|object]] | ||
|- | |- | ||
| | | depth || float || {{yes}} || {{yes}} || || updates the value of attribute '''SizeScaleZ''' from the animated [[RCOXML Objects|object]] | ||
|} | |} | ||
==( | ===(0x09 0x06) 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}} || 1000 || | ||
|- | |- | ||
| | | accelMode || int || {{yes}} || {{yes}} || 0x0 || | ||
|- | |- | ||
| | | transparency || float || {{yes}} || {{yes}} || || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]] | ||
|} | |} | ||
==( | ===(0x09 0x07) 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}} || || | ||
|} | |} | ||
==( | ===(0x09 0x08) FireEvent=== | ||
Triggers (or "fires") an event, there are different types of events (see [[RCOXML Coding]]). The most used inside animations are "native events" and "animation events" itself | Triggers (or "fires") an event, there are different types of events (see [[RCOXML Coding]]). 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 | 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}} || || | ||
|} | |} | ||
==( | ===(0x09 0x09) 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}} || || | |||
|} | |} | ||
==( | ===(0x09 0x0A) 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}} || || | |||
|- | |||
|} | |} | ||
==( | ===(0x09 0x0B) 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}} || 1000 || | ||
|- | |- | ||
| | | accelMode || int || {{yes}} || {{yes}} || 0x0 || | ||
|- | |- | ||
| | | xspeed || float || {{yes}} || {{yes}} || || | ||
|- | |- | ||
| | | yspeed || float || {{yes}} || {{yes}} || || | ||
|- | |- | ||
| | | xcompress || float || {{yes}} || {{yes}} || || | ||
|- | |- | ||
| | | ycompress || float || {{yes}} || {{yes}} || || | ||
|} | |} | ||