ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

RandomRate

From ModEnc
Revision as of 12:34, 26 March 2022 by Starkku (talk | contribs) (Added information about a bug concerning parsing of RandomRate)
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: RandomRate
File(s): Art(md).ini
Values: Two Integers, separated by comma
Default: 0,0
Applicable to: Animations


In Tiberian Sun, some random events such as RandomRate are not synchronized properly between players and cause Reconnection Errors. Use RandomRate with caution.

This tag holds two values. These specify the range at which a random Rate= will be generated. In debris animations, this makes the debris spin (because its animation is of the debris spinning) at a random speed each time the debris is generated.

Bugs/Side-Effects/Unexpected Limitations

  • Due to an oversight this tag does not function correctly if values are listed in expected order of minimum & maximum. Swapping the order of the values allows it to function as expected.