DiskLaser
| 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.
FLH only determines the position of the ring laser's center; the starting point of the laser beam is the point on the ring closest to the target at the moment when the ring begins charging — this will not be changed again during the charging process.
Bugs/Side-Effects/Unexpected Limitations
Range=-2 will cause weapons with DiskLaser=yes to never start charging, thus unable to fire.
These weapons are highly hard-coded solely to achieve the laser effect of Floating Disk, thus having numerous limitations:
- This weapon will not play [Warhead]→AnimList= (List of Animations).
- If you only need visual effects, you can use [Warhead]→Particle= (ParticleSystem) instead, which works normally.
- Starting from Ares0.A, it can be enabled by setting [AudioVisual]→DiskLaserAnimEnabled=yes.
- Cannot play [Weapon]→Anim=.
- This weapon forcibly executes with Bright=no.
- Starting from Ares0.A, it will always respect the set value.
- Enforces instant hit effect (equivalent to [Projectile]→Inviso=yes) and cannot create any[1] sub weapons.
- Weapons that have this effect enabled are forced not to consume ammunition.
This type of weapon is hardcoded to only use the FLH of weapon slot 0.
Footnotes
- ↑ 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.