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

SurvivorRate

From ModEnc
Revision as of 08:37, 27 November 2009 by EvilRenegade (talk | contribs) (Replacing Template:TTL with Template:F.)
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: SurvivorRate
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Applicable to: General


Fraction of the cost of a building which is used to be converted to infantry units when it is sold. The infantry received is determined by the Crew=, AlliedCrew=, SovietCrew= and/or ThirdCrew= flags (see Misc. in [General]), and the amount of that infantry is determined by the SurvivorDivisor= flag.

Here's an example: a building that costs 1000 credits is sold. SurvivorRate= is set to 0.1 and (Allied/Soviet)Crew= is set to E1. This means that the player will get 0.1 x 1000 = 100 credits worth of infantry, and if SurvivorDivisor= is set to 100, the player will receive 100 / 100 = 1 infantry of the sold structure.