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}} | |||
{{ | |||
== | =AnimTree= | ||
==Animation== | |||
===MoveTo=== | |||
===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> |