Jump to content

PingPong: Difference between revisions

From ModEnc²
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..."
 
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Flag
{{Flag
|name={{PAGENAME}}
|files={{Categ|ini=art}}
|files={{Categ|Art(md).ini}}
|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
|rp=yes
}}
}}


If an [[Animation]] has PingPong= set to "yes" the game will play the Animation forward tell it reaches the number of frames as defined by [[LoopEnd]]. Once it has reached the [[LoopEnd]]. It will make the [[Animation]] play backwards from [[LoopEnd]] to [[LoopStart]]. If the [[Animation]] has [[LoopCount]] set to "-1" known as "infinite looping". It will repeat a cycle of playing the [[Animation]] backward and forwards.
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.


Note: PingPong is a bugged key. It causes the game to become confused when the [[Animation]] has damage frames. The Tiberian Sun GDI Radar disk has this bug. The damaged radar disk [[Animation]] will jump between frames and once the GDI Radar is fully repaired it will continue to play the damaged radar disk [[Animation]].
<p style="background-color:#ffcccc;"><font style="color:red">Even though the SHP fortification animation is the same type of animation as other animations, But this flag cannot be used on turrets!</font>🥱</p>
 
=={{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]]

Latest revision as of 17:42, 2 July 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.

Even though the SHP fortification animation is the same type of animation as other animations, But this flag cannot be used on turrets!🥱

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.

See Also