Jump to content

IsElectricBolt: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
m 9 revisions imported
 
(8 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'yes' or 'no' and specifies whether or not the projectile path for the weapon should be drawn as an electric bolt. This is the 'Tesla' effect.
|values=boolean
|default=no
|types={{Categ|Weapons}}
|ra2=yes
|yr=yes
|rp=yes
}}
 
If set, the [[engine]] will draw an electric bolt along the projectile path. The colors <!-- according to pd --> of the bolt are derived from ''palette.pal'': position #10 (0x0A, slightly desaturated, darker blue) and position #15 (0x0F, white). The bolt can be drawn in an alternate color scheme if {{f|IsAlternateColor|yes|link}}.
 
In the first case, the bolt by Yuri's Revenge default is a Blue/White line of interwoven lightning. In the second case, the bolt is by default a Yellow/White line. The second case is typically used for an overcharged Tesla Coil, where the Tesla Coil is charged by at least 2 Tesla Troopers.
==Note==
*Weapons that use the tag <b>IsElectric Bolt=yes</b>, if used with too many simultaneous attacks(For example 20 <b>Tesla Coils</b> attack enemies at once), will affect the game speed.

Latest revision as of 21:52, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: IsElectricBolt
File(s): rules(md).ini
Values: boolean
Default: no
Applicable to: Weapons


If set, the engine will draw an electric bolt along the projectile path. The colors of the bolt are derived from palette.pal: position #10 (0x0A, slightly desaturated, darker blue) and position #15 (0x0F, white). The bolt can be drawn in an alternate color scheme if IsAlternateColor=yes.

In the first case, the bolt by Yuri's Revenge default is a Blue/White line of interwoven lightning. In the second case, the bolt is by default a Yellow/White line. The second case is typically used for an overcharged Tesla Coil, where the Tesla Coil is charged by at least 2 Tesla Troopers.

Note

  • Weapons that use the tag IsElectric Bolt=yes, if used with too many simultaneous attacks(For example 20 Tesla Coils attack enemies at once), will affect the game speed.