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

SurvivorDivisor

From ModEnc
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: SurvivorDivisor
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: General


Defines the divider of the value of the SurvivorRate= flag to determine the amount of infantry ejecting from a sold or destroyed building. For example, if the SurvivorRate is set to "0.1" and the cost of the sold building was 1000, the player would receive 1000 x 0.1 = 100 worth of infantry. That amount is divided with SurvivorDivisor (which is set to 100 in our example), so in the end, the player gets 100 / 100 = 1 soldier from the sold or destroyed structure.