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

IsElectricBolt

From ModEnc
Revision as of 05:43, 24 September 2024 by Testid123 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.