Opened 11 years ago

Last modified 5 years ago

#1989 new enhancement

[PATCH] hotkeys to restrict selection to a certain number

Reported by: sanderd17 Owned by:
Priority: Nice to Have Milestone: Backlog
Component: UI – Miscellaneous Keywords: patch
Cc: Patch:

Description

With the following patch, when pressing a number on the numpad while units are selected, you restrict your selection to the number you pressed.

F.e., you have 21 units selected, when you press '5' on the numpad, only 5 units will stay selected.

When you hold Shift while pressing the numpad number, the number is multiplied by 5.

I preferred to keep idle units (so you don't have to wait until they're gone to select the next batch).

Attachments (1)

selection_limitation.diff (3.8 KB ) - added by sanderd17 11 years ago.

Download all attachments as: .zip

Change History (9)

by sanderd17, 11 years ago

Attachment: selection_limitation.diff added

comment:1 by sanderd17, 11 years ago

Summary: [PATCH] hotkes to restrict selection to a certain number[PATCH] hotkeys to restrict selection to a certain number

comment:2 by historic_bruno, 11 years ago

Milestone: BacklogAlpha 15

When would this be needed? Is it something other RTSes have?

comment:3 by sanderd17, 11 years ago

Something I proposed a while ago. In any case alpha123 liked it. And it wasn't a lot of work to implement.

http://www.wildfiregames.com/forum/index.php?app=core&module=search&do=search&fromMainBar=1

I'm not a fast clicker, so I would certainly want it (although by using, I noticed the numpad is a bit out of reach for the left hand). It's up to you if you want it in or not.

comment:4 by sanderd17, 11 years ago

Keywords: review removed

Not ready for review yet. Patch doesn't handle cases dynamically enough.

comment:5 by leper, 10 years ago

Milestone: Alpha 15Backlog

in reply to:  4 comment:6 by Michael, 10 years ago

Replying to sanderd17:

Not ready for review yet. Patch doesn't handle cases dynamically enough.

I like that feature. What exactly do you mean with not "doesn't handle cases dynamically enough"?

comment:7 by sanderd17, 10 years ago

It doesn't pick new units. If you have 10 units selected, and you want to split them, you have to wait until the first five are away, as selecting all 10 and filtering 5 again will filter the same units.

comment:8 by Imarok, 5 years ago

Component: UI & SimulationMisc. UI

Move tickets to Misc. UI as "UI & Simulation" got some sub components.

Note: See TracTickets for help on using tickets.