Jump to content

IsMagBeam: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(4 intermediate revisions by 4 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 17:30, 2 July 2025

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

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.