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

Difference between revisions of "IsMagBeam"

From ModEnc
Jump to: navigation, search
 
(a bug)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Can be set to 'yes' or 'no' and specifies that the weapon and warhead utilize an internal routine that draws a colored line from the attacker to the target with a kind of 'wave' effect. This is only used by the Magnetron Yuri's Revenge (it is modified code from the Disruptor in Tiberian Sun). The IsSonic=yes tag on a weapon creates a similar effect (a 'broken' line in different colors).<br />
+
|name=IsMagBeam
(Yuri's Revenge Only)
+
|files={{Categ|Rules(md).ini|Rulesmd.ini}}
 +
|values=boolean
 +
|default=no
 +
|types={{Categ|Weapon|Weapons}}
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
 
 +
If set, the game will draw a colored wave along the projectile path (target -> firer when targeting [[VehicleTypes]], reversed otherwise). This is used on the Magnetron. A similar, but broken wave can be created by using <tt>[[IsSonic]]=yes</tt> on the weapon instead.
 +
 
 +
''Note:'' if the projectile is invisible, then the warhead will detonate when the wave hits the target. If it is visible, this wave will be only a graphic effect, and the warhead will detonate when the visible projectile hits. However, AI units will "sense" the wave and try to scatter before the projectile hits.
 +
 
 +
{{Bugs}}
 +
If the target moves out of Weapon's Range, the MagBeam will still be drawn and AmbientDamage will still work.
 +
*This bug has been fixed in Ares 0.B.

Latest revision as of 15:22, 2 May 2021

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: IsMagBeam
File(s): Rulesmd.ini
Values: boolean
Default: no
Applicable to: Weapons


If set, the game will draw a colored wave along the projectile path (target -> firer when targeting VehicleTypes, reversed otherwise). This is used on the Magnetron. A similar, but broken wave can be created by using IsSonic=yes on the weapon instead.

Note: if the projectile is invisible, then the warhead will detonate when the wave hits the target. If it is visible, this wave will be only a graphic effect, and the warhead will detonate when the visible projectile hits. However, AI units will "sense" the wave and try to scatter before the projectile hits.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

If the target moves out of Weapon's Range, the MagBeam will still be drawn and AmbientDamage will still work.

  • This bug has been fixed in Ares 0.B.