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
m (Template updated)
m (Fixed weird template argument issue.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Flag
 
{{Flag
|name=IsAlternateColor
 
|files={{Categ|Rules(md).ini}}
 
 
|values=boolean
 
|values=boolean
 
|default=no
 
|default=no
|types={{Categ|Weapon|Weapons}}
+
|types={{Categ|Weapons}}
 
|ra2=yes
 
|ra2=yes
 
|yr=yes
 
|yr=yes
Line 10: Line 8:
 
}}
 
}}
  
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'''<nowiki>'</nowiki>s position #5 (0x05, yellow) as well as from 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.