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
Nighthawk200 (talk | contribs)
m Template updated
Vinifera7 (talk | contribs)
m Rewording 'n' stuff..
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 {{TTL|IsElectricBolt|yes}} is set, {{TTL|{{PAGENAME}}}} 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.

Revision as of 06:01, 25 April 2008

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 Template:TTL is set, Template:TTL 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.