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

SurvivorRate

From ModEnc
Revision as of 15:52, 5 May 2006 by DCoder (talk | contribs)
(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: SurvivorRate
File(s): rules(md).ini
Values: ERROR – No value types set! Please edit this page and fix the Flag template!

This entry was copied from DeeZire's Red Alert 2 and Yuris Revenge INI Editing Guide for the sake of completeness. As it is not our intention to rip off DeeZire's work, this article is subject to a re-write and update with the latest community knowledge.

For further information, please read Inclusion of The Guide.




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.