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

Difference between revisions of "IsElectricBolt"

From ModEnc
Jump to: navigation, search
 
m
 
(7 intermediate revisions by 7 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 07:43, 24 September 2024

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: 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.