Warzone2100 / warzone2100

Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
https://wz2100.net
GNU General Public License v2.0
3.16k stars 524 forks source link

Add an "attack once" order for VTOL units #3534

Open AmarinReyny opened 9 months ago

AmarinReyny commented 9 months ago

Describe the feature you'd like I want an "attack once" option for VTOL units that basically works the same as patrol, but doesn't cause those VTOL units to keep returning to the same spot after reloading, and doesn't cause VTOL units to remain in the area doing nothing if no enemies are present.

Describe why do you think it is needed I want to be able to send VTOLs to attack enemy units and buildings in a given area, without the hassle of having to manually order them to return to my base afterward. Even using ctrl + v and ordering them to return for repairs/return to HQ is unreliable, because only some of the VTOLs will stay put at my base, while the rest of them continue going back to where I previously ordered them to go. The hassle, difficulty, and tedium of trying to manage my VTOL units in this manner pretty much turns me off from using them for anything other than getting rid of very specific targets that they won't have to keep coming back to after the target is destroyed.

Monsterovich commented 8 months ago

Also units should be smart enough to attack enemies within a certain point with specified radius, otherwise VTOL starts attacking the closest structures/units.

For VTOL it might even be worth thinking about the addition of escape/moving paths, otherwise the aircraft will often return on the direct path and kill itself with anti-VTOL defenses.

This can also help with the usual ground units that return to repair, but do so along a shortest path.