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

UseChargeDrain

From ModEnc
Revision as of 17:52, 5 May 2006 by DCoder (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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: UseChargeDrain
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.




Can be set to 'true' or 'false'. Although some of the Charge Drain functionality has been removed, the effect of this is that the weapon discharges at a rate proportional to the weapons' RechargeTime=. Within this 'discharge' time, the Super Weapon can be continually activated until the charge has expired, since until the charge has expired the weapon is still considered fully charged and ready. You can control the degree of this discharge with the ChargeToDrainRatio= statement in the [General] section, which should be set to the proportion of the RechargeTime= that it takes for this Super Weapon to discharge. For example, if your RechargeTime= is set to 3 (minutes) and ChargeToDrainRatio= is set at 0.3, then the Super Weapon will take 3 minutes to charge and 1 minute to discharge.