Jump to content

IsAlternateColor: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 8 revisions imported
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
This also requires IsElectricBolt=true set. Can be set to 'yes' or 'no' and specifies that the electric bolt should be drawn in the alternate colors (white and yellow).
|values=boolean
|default=no
|types={{Categ|Weapons}}
|ra2=yes
|yr=yes
|rp=yes
}}
 
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 21:52, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.