ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
SurvivorRate: Difference between revisions
Jump to navigation
Jump to search
EvilRenegade (talk | contribs) m Replacing Template:TTL with Template:F. |
Cleaning things up a bit. |
||
Line 1: | Line 1: | ||
{{Flag | {{Flag | ||
|files={{Categ|ini=rules}} | |||
|files={{Categ|rules | |||
|values={{values|float}} | |values={{values|float}} | ||
|types={{Categ|General}} | |types={{Categ|General}} | ||
Line 12: | Line 11: | ||
|ra2=yes | |ra2=yes | ||
|yr=yes | |yr=yes | ||
}} | }} | ||
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
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.