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

DiskLaser

From ModEnc
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: DiskLaser
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: Weapons


If set, It draws a circle along a radius of 240 leptons from the firing point. The laser's lifetime is defined by LaserDuration, and its colors are defined by IsHouseColor or LaserInnerColor, LaserOuterColor, LaserOuterSpread.

Notes

This weapon plays the sound effect specified by [AudioVisual]DiskLaserChargeUp= when charging begins, and uses Report only when it is actually fired.

If this weapon has Suicide=yes, it will take effect immediately when it just starts charging, rather than waiting for the charging to complete and the laser to actually fire.

Bugs/Side-Effects/Unexpected Limitations

These weapons are highly hard-coded solely to achieve the laser effect of Floating Disk, thus having numerous limitations:

  1. This weapon will not play [Warhead]AnimList= (List of Animations).
  2. Cannot play [Weapon]Anim=.
  3. This weapon forcibly executes with Bright=no.
    • Starting from Ares0.A, it will always respect the set value.
  4. Enforces instant hit effect (equivalent to [Projectile]Inviso=yes) and cannot create any[1] sub weapons.

Footnotes

  1. This includes not only the classic AirburstWeapon and ShrapnelWeapon, but even [NukePayload] created by [Warhead]NukeMaker=yes.
    • Additionally, it also includes the ReturnWeapon newly added by Phobos.

References

Starting from Phobos Build#1, the radius of the custom circle (in leptons) can be set via DiskLaser.Radius=int, refer to documentation.

See Also