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

IsAlternateColor: Difference between revisions

From ModEnc
Jump to navigation Jump to search
updated due to pd's post
m Fixed weird template argument issue.
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Flag
{{Flag
|name=IsAlternateColor
|files={{Categ|Rules(md).ini}}
|values=boolean
|values=boolean
|special=None
|default=no
|default=no
|types={{Categ|Weapon|Weapons}}
|types={{Categ|Weapons}}
|games=[[RA2]], [[YR]]
|ra2=yes
|yr=yes
|rp=yes
}}
}}


If both this flag and <tt>[[IsElectricBolt]]=yes</tt> are set, the electric bolt will be drawn in alternate colors; this is the effect seen when you overcharge a Tesla Coil.
If {{f|IsElectricBolt|yes|link}} is set, {{f|IsAlternateColor}} specifies whether the electric bolt will be drawn in an alternate color scheme. These colors are derived from ''palette.pal'': position #5 (0x05, yellow) and position #15 (0x0F, white).


The default colors, according to pd, are taken from palette.pal's position #5 (0x05, yellow) as well as white (hardcoded).
In unmodded {{Ra2}}, this is used for the overcharged Tesla Coil weapon.

Latest revision as of 07:54, 2 January 2010

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: IsAlternateColor
File(s): rules(md).ini
Values: boolean
Default: no
Applicable to: Weapons


If IsElectricBolt=yes is set, IsAlternateColor specifies whether the electric bolt will be drawn in an alternate color scheme. These colors are derived from palette.pal: position #5 (0x05, yellow) and position #15 (0x0F, white).

In unmodded Red Alert 2, this is used for the overcharged Tesla Coil weapon.