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
No edit summary |
Cleaning things up a bit. |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
|files={{Categ|ini=rules}} | |||
|values={{values|float}} | |||
|types={{Categ|General}} | |||
|ra=yes | |||
|cs=yes | |||
|am=yes | |||
|ts=yes | |||
|fs=yes | |||
|ets=yes | |||
|ra2=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.