Jump to content

RandomLoopDelay: Difference between revisions

From ModEnc²
en>Crimsonum
Changed to bug template, and added note about fix(es).
m 6 revisions imported
(No difference)

Revision as of 22:03, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: RandomLoopDelay
File(s): Art(md).ini
Values: Two Integers, separated by comma
Default: 0,0
Applicable to: Animations


Specifies a minimum and maximum delay range between each loop of this animation. The delay is randomly chosen from between the two values. A RandomLoopDelay=100,300 at game speed 4 (30 FPS) will see typical intervals between 5 to 11 sec.

Bugs/Side-Effects/Unexpected Limitations In vanilla Tiberian Sun, RandomLoopDelay is known to cause players to desync in an online game (Reconnection Error). This is because the flag erroneously uses a random number generator that isn't synchronized between players. TS patches and Vinifera fix this.