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

SurvivorRate

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: SurvivorRate
File(s): rules(md).ini
Values: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Applicable to: General


This flag specifies a factor in determining how many infantry should eject from a sold or destroyed building.

Number of Survivors = [BuildingType]->Cost * SurvivorRate / SurvivorDivisor

Example: A building with Cost=1000 is sold, SurvivorRate=0.1, and SurvivorDivisor=100. 1000 * 0.1 / 100 = 1 infantry unit is ejected.

The specific infantry units that are recovered are set by Crew in Red Alert and Tiberian Sun. In Red Alert 2 and Yuri's Revenge, each side can have its own survivor infantry with AlliedCrew, SovietCrew, and ThirdCrew.