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

SurvivorDivisor

From ModEnc
Revision as of 10:30, 5 October 2008 by Crimsonum (talk | contribs) (this flag had no page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 Template:TTL= flag to determine the amount of infantry ejecting from a sold building. For example, if the Template:TTL 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.