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

Difference between revisions of "IsAlternateColor"

From ModEnc
Jump to: navigation, search
(Rewrite)
m (Fixed weird template argument issue.)
 
(5 intermediate revisions by 5 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 [white and yellow] (the overcharged Tesla Coil uses this).
+
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).
 +
 
 +
In unmodded {{Ra2}}, this is used for the overcharged Tesla Coil weapon.

Latest revision as of 09: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.