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

Powerups

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: Powerups
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.




This section specifies the chance for the each crate power up to appear in a 'random' crate. Each type must have three parameters and an optional fourth (dependant on the type of power up). The first parameter is the chance of this power up being in the crate that is picked up, and is expressed in the form of 'shares' out of the total shares specified - if you set this to 0, then that crate power up will not appear. NOTE: you must ensure your total chances add up to 110 (the total of the default unedited Red Alert 2 values) otherwise the randomizer can occasionally generate an Internal Error - bear this in mind if you add a new one or remove an existing one. The second parameter is the animation to use when this crate is picked up, which must be from the [Animations] list and be defined in ART.INI although you can prevent an animation from displaying by setting this to <none>. The third parameter can be set to 'yes' or 'no' and specifies whether or not this crate is available on water. The fourth parameter, if present, specifies the data value needed for that crate power up. They mean different things for the different powerups (see list below). NOTE: you should use caution when setting the third parameter to 'yes' - there is a small possibility of a power up which gives the player a free unit generating a unit on water which can only move on land and vice versa - this will generate an Internal Error. This is due to a bug in the game code because the code was copied from Tiberian Sun which had no water-only units.