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

Difference between revisions of "SurvivorDivisor"

From ModEnc
Jump to: navigation, search
m (Replacing Template:TTL with Template:F.)
m (Also destroyed.)
 
Line 15: Line 15:
 
}}
 
}}
  
Defines the divider of the value of the {{f|SurvivorRate|link}}= flag to determine the amount of infantry ejecting from a sold building. For example, if the {{f|SurvivorRate|link}} is set to "0.1" and the cost of the sold building was 1000, the player would receive 1000 x 0.1 = 100 worth of infantry. That amount is divided with SurvivorDivisor (which is set to 100 in our example), so in the end, the player gets 100 / 100 = 1 soldier from the sold structure.
+
Defines the divider of the value of the {{f|SurvivorRate|link}}= flag to determine the amount of infantry ejecting from a sold or destroyed building. For example, if the {{f|SurvivorRate|link}} is set to "0.1" and the cost of the sold building was 1000, the player would receive 1000 x 0.1 = 100 worth of infantry. That amount is divided with SurvivorDivisor (which is set to 100 in our example), so in the end, the player gets 100 / 100 = 1 soldier from the sold or destroyed structure.

Latest revision as of 07:20, 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: SurvivorDivisor
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: General


Defines the divider of the value of the SurvivorRate= flag to determine the amount of infantry ejecting from a sold or destroyed building. For example, if the SurvivorRate is set to "0.1" and the cost of the sold building was 1000, the player would receive 1000 x 0.1 = 100 worth of infantry. That amount is divided with SurvivorDivisor (which is set to 100 in our example), so in the end, the player gets 100 / 100 = 1 soldier from the sold or destroyed structure.