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

Difference between revisions of "SurvivorRate"

From ModEnc
Jump to: navigation, search
 
(Un-DeeZire'd)
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.
+
|name={{PAGENAME}}
 +
|files={{Categ|rules(md).ini}}
 +
|values={{values|float}}
 +
|types={{Categ|General}}
 +
|ra=yes
 +
|cs=yes
 +
|am=yes
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=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.

Revision as of 11:46, 5 October 2008

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


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 Template:TTL=, Template:TTL=, Template:TTL= and/or Template:TTL= flags (see Misc. in [General]), and the amount of that infantry is determined by the Template:TTL= 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 Template:TTL= is set to 100, the player will receive 100 / 100 = 1 infantry of the sold structure.