beyond-all-reason / Beyond-All-Reason

Main game repository for Beyond All Reason.
https://www.beyondallreason.info/
Other
1.64k stars 269 forks source link

Add "Set Target Area Specific Unit" #3407

Open sprEEEzy opened 1 month ago

sprEEEzy commented 1 month ago

Description

Currently, you cannot set target on a specific unit type, but only all units within the area. This includes walls.

ALT + Set Target hotkey drag would be the new hotkey, following the logic of Reclaim Area Specific Unit. It would make the unit Set Target (queued up) on all units of the selected type, e.g. all Pawns within targeted area.

Why?

It only makes sense for this command to be in the game, considering all other similar commands.

What area of the game does this feature request pertain?

Gameplay, Settings, Controls or Hotkeys

Other (optional)

Careful about how this might impact game balance, mostly when using Snipers against valuable units, as well as static AA vs Bombers.

salinecitrine commented 1 month ago

This actually already exists, though I think it's undocumented: https://github.com/beyond-all-reason/Beyond-All-Reason/pull/2706

sprEEEzy commented 1 month ago

This actually already exists, though I think it's undocumented: #2706

You're right

MeSaber commented 1 month ago

ALT+set target does this, but it should be changed so once you hold down leftclick button over a unit and the unit moves, it should still remember what unit you held mouse point at.

Figs against bomber/fig swarm you can do this but you need to time the leftclick release exactly on a bomber.

salinecitrine commented 1 month ago

ALT+set target does this, but it should be changed so once you hold down leftclick button over a unit and the unit moves, it should still remember what unit you held mouse point at.

Figs against bomber/fig swarm you can do this but you need to time the leftclick release exactly on a bomber.

I've got a work-in-progress combined rewrite of all the alt+command filter widgets that handles this. The widget is not quite where I want it yet, and unfortunately I have been very limited on time recently; hopefully I'll be able to release it some time soon.

sprEEEzy commented 1 month ago

ALT+set target does this, but it should be changed so once you hold down leftclick button over a unit and the unit moves, it should still remember what unit you held mouse point at.

Figs against bomber/fig swarm you can do this but you need to time the leftclick release exactly on a bomber.

Yeah, the units moving makes this very clumsy and inconsistent.

WatchTheFort commented 1 month ago

Approved by the GDT