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 delays ---> http://endlessparadigm.com/forum/showthread.php?tid=19501&pid=262236#pid262236 | |||
**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}} | |||
{{ | |||
== | ==Standard attributes== | ||
*For a better understanding is posible to difference two groups of attributes based in how are used by the animations | |||
**'''Standard attributes''' are used by all the animations except the '''Delay''', '''FireEvent''', '''Lock''', and '''Unlock''' | |||
**'''Specific attributes''' are only used by a specific animation | |||
{| class="wikitable | {| class="wikitable" | ||
|+ | |+standard attributes for RCOXML animations | ||
! | ! 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 || | ||
|} | |} | ||
== | =Animations= | ||
==MoveTo== | |||
{{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': Yes<br />'''Specific attributes''': Yes}} | {{Boxinfo3|content='''Console support''': {{icon content psp|50px}} {{icon content ps3|50px}}<br />'''Standard attributes''': Yes<br />'''Specific attributes''': Yes}} | ||
{| class="wikitable | {| class="wikitable" | ||
|+ | |+specific attributes for Page | ||
! | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
| | ! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples | ||
|- | |- | ||
| {{ | | 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== | ||
==Rotate== | |||
==Resize== | |||
==Fade== | |||
==Delay== | |||
==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 | |||
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 | |||
==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) | ||
==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) | ||
==SlideOut== | |||
[http://ctfs.wiki.fc2.com/wiki/SlideOut%E3%81%AE%E4%BD%BF%E7%94%A8%E4%BE%8B example] | |||
{| | =Animation examples= | ||
==Gameboot Animation== | |||
In [[gamelib_plugin]].rco | |||
{{Boxcode|content=<syntaxhighlight lang="xml"> | |||
<Animation name="anim_gameboot"> | |||
<Lock unknownInt0="0xffffffff" /> | |||
<Fade object="object:ps3logo" duration="0" accelMode="0x0" transparency="0" /> | |||
<Resize object="object:ps3logo" duration="0" accelMode="0x0" width="0.938" height="0.938" depth="1" /> | |||
<Delay time="500" /> | |||
<Fade object="object:ps3logo" duration="863" accelMode="0x3" transparency="1" /> | |||
<Resize object="object:ps3logo" duration="863" accelMode="0x4" width="1" height="1" depth="1" /> | |||
<Delay time="1100" /> | |||
<Fade object="object:ps3logo" duration="174" accelMode="0x1" transparency="0" /> | |||
<Resize object="object:ps3logo" duration="174" accelMode="0x1" width="1.284" height="1.284" depth="1" /> | |||
<Delay time="1000" /> | |||
<Delay time="200" /> | |||
<FireEvent event="event:native:/GameLibApp_OnBootAnimationFinished" /> | |||
</Animation> | |||
</syntaxhighlight>}} | |||
In [[custom_render_plugin]].rco | |||
{{ | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<Animation name="anim_gameboot"> | |||
<Lock unknownInt0="0xffffffff" /> | |||
<Fade object="object:ps3logo" duration="0" accelMode="0x0" transparency="0" /> | |||
<Resize object="object:ps3logo" duration="0" accelMode="0x0" width="0.938" height="0.938" depth="1" /> | |||
<FireEvent event="event:native:/anim_gameboot_BG2" /> | |||
<Delay time="500" /> | |||
<Fade object="object:ps3logo" duration="863" accelMode="0x3" transparency="1" /> | |||
<Resize object="object:ps3logo" duration="863" accelMode="0x4" width="1" height="1" depth="1" /> | |||
<FireEvent event="event:native:/anim_gameboot_BG3" /> | |||
<Delay time="1100" /> | |||
<Fade object="object:ps3logo" duration="174" accelMode="0x1" transparency="0" /> | |||
<Resize object="object:ps3logo" duration="174" accelMode="0x1" width="1.284" height="1.284" depth="1" /> | |||
<Delay time="1000" /> | |||
<Delay time="200" /> | |||
<FireEvent event="event:native:/anim_gameboot_Finished" /> | |||
</Animation> | |||
</syntaxhighlight>}} | |||
{{#ev:youtube|hNBA_ab_NqA}} | |||
|} | |||
{{File Formats}}<noinclude>[[Category:Main]]</noinclude> | {{File Formats}} | ||
<noinclude>[[Category:Main]]</noinclude> |