ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
PingPong: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{Flag |name={{PAGENAME}} |files={{Categ|Art(md).ini}} |values={{values|boolean}} |default=no |types= {{Categ|Animations}} |ts=yes |fs=yes |ets=yes |ra2=yes |yr=yes |rp=yes }} I..." |
The exact looping behavior and bugs ought to be clarified more if anyone feels like testing that. |
||
Line 1: | Line 1: | ||
{{Flag | {{Flag | ||
|files={{Categ|ini=art}} | |||
|files={{Categ| | |||
|values={{values|boolean}} | |values={{values|boolean}} | ||
|default=no | |default=no | ||
|types= {{Categ|Animations}} | |types={{Categ|Animations}} | ||
|ts=yes | |ts=yes | ||
|fs=yes | |fs=yes | ||
Line 10: | Line 9: | ||
|ra2=yes | |ra2=yes | ||
|yr=yes | |yr=yes | ||
}} | }} | ||
This flag specifies whether an [[animation]] should reverse after completing a loop. If {{f|PingPong|yes}}, the animation will play forward until it reaches the [[frame]] defined by {{f|LoopEnd|link}}. It will then play backwards from {{f|LoopEnd}} to {{f|LoopStart|link}}. If {{f|LoopCount|-1|link}} (infinite loop), the animation will repeat a cycle of playing backward and forward. | |||
{{Bugs}} | |||
{{f|PingPong}} is a bugged key. It causes the game to become confused when the animation has damage frames. The Tiberian Sun GDI Radar has this bug. The damaged radar dish animation will jump between frames and once the GDI Radar is fully repaired it will continue to play the damaged radar dish animation. | |||
==See Also== | |||
* [[Animation Looping]] |
Revision as of 17:50, 5 August 2011
Flag: | PingPong |
File(s): | art(md).ini |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Default: | no |
Applicable to: | Animations |
This flag specifies whether an animation should reverse after completing a loop. If PingPong=yes, the animation will play forward until it reaches the frame defined by LoopEnd. It will then play backwards from LoopEnd to LoopStart. If LoopCount=-1 (infinite loop), the animation will repeat a cycle of playing backward and forward.
Bugs/Side-Effects/Unexpected Limitations
PingPong is a bugged key. It causes the game to become confused when the animation has damage frames. The Tiberian Sun GDI Radar has this bug. The damaged radar dish animation will jump between frames and once the GDI Radar is fully repaired it will continue to play the damaged radar dish animation.