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

SurvivorDivisor

From ModEnc
Revision as of 07:20, 7 August 2011 by 001010011100101110 (talk | contribs) (Also destroyed.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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.