Jump to content

SurvivorDivisor: Difference between revisions

From ModEnc²
en>Crimsonum
m this flag had no page
 
en>EvilRenegade
m Replacing Template:TTL with Template:F.
Line 15: Line 15:
}}
}}


Defines the divider of the value of the {{TTL|SurvivorRate}}= flag to determine the amount of infantry ejecting from a sold building. For example, if the {{TTL|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 structure.
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.

Revision as of 10:36, 27 November 2009

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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 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 structure.