Skip to content

range limit for superweapons

AlexBx edited this page Sep 14, 2014 · 2 revisions

Range limit for superweapons

This specification was automatically generated from a feature request imported into Ares's LaunchPad bugtracker. If you are interested in fleshing out this feature, please update this page.

Original Request

Superweapon should have a range limit, like a normal weapons range, if it is trying to fire out if its range, it display NoCursor

SW.MaxRange=20

Should be supported for most superweapons: LightningStorm MultiMissile PsychicDominator ChronoSphere ChronoWarp IronCurtain ForceShield GeneticConverter SonarPulse GenericWarhead UnitDelivery

Specification details

Goals

  • This needs to be filled by a supporter/drafter of this specification.

Suggestions / Notes

  • This needs to be filled by a supporter/drafter of this specification.

Implementation

Implemented as two tags, for maximum and minimum range. This is per firing building, meaning if a building cannot fire close itself, but another building can fire there (honoring minimum and maximum range), the target is allowed.

[SuperWeapon]SW.RangeMaximum= (double, defaults to -1.0): The maximum range around each SW-firing building. Negative values mean SW-dependent default, which usually is infinite range.

[SuperWeapon]SW.RangeMinimum= (double, defaults to -1.0): The minimum range around each SW-firing building. Negative values mean SW-dependent default, which usually is no range check.

See also

Clone this wiki locally