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

SurvivorRate: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
Un-DeeZire'd
Vinifera7 (talk | contribs)
Cleaning things up a bit.
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Flag
{{Flag
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|files={{Categ|rules(md).ini}}
|values={{values|float}}
|values={{values|float}}
|types={{Categ|General}}
|types={{Categ|General}}
Line 12: Line 11:
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
}}
}}
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 {{TTL|Crew}}=, {{TTL|AlliedCrew}}=, {{TTL|SovietCrew}}= and/or {{TTL|ThirdCrew}}= flags (see Misc. in [General]), and the amount of that infantry is determined by the {{TTL|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 {{TTL|SurvivorDivisor}}= is set to 100, the player will receive 100 / 100 = 1 infantry of the sold structure.
This flag specifies a factor in determining how many [[InfantryTypes|infantry]] should eject from a sold or destroyed [[BuildingTypes|building]].
 
Number of Survivors = [BuildingType]->Cost * SurvivorRate / SurvivorDivisor
 
Example: A building with {{f|Cost|1000|link}} is sold, {{f|SurvivorRate|0.1}}, and {{f|SurvivorDivisor|100|link}}. 1000 * 0.1 / 100 = 1 infantry unit is ejected.
 
The specific infantry units that are recovered are set by {{f|Crew|link}} in {{Ra}} and {{Ts}}. In {{Ra2}} and {{Yr}}, each side can have its own survivor infantry with {{f|AlliedCrew|link}}, {{f|SovietCrew|link}}, and {{f|ThirdCrew|link}}.

Latest revision as of 14:42, 7 August 2011

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.