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
No edit summary
 
Vinifera7 (talk | contribs)
Cleaning things up a bit.
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Fraction of the cost of a building which is used to be converted to infantry units when it is sold or destroyed. The infantry you get is determined by the AlliedCrew= and SovietCrew= statements (see Misc). For example, say you have a building costing 1000 credits to construct. That building gets destroyed, and SurvivorRate= is set at 0.1 - this means that 100 credits will be used to 'purchase' survivors. If Crew= is set to 'E1' you will get 100 credits worth of E1 units (in this example, 1 GI). Note: this is not used when you sell a building, only when it is destroyed, because the credits you get when you sell a building (as defined in RefundPercent= above) gives more control over this variable.
|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

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.