Jump to content

Select idle units


pixel24
 Share

Recommended Posts

Interesting, I haven't checked the manual but the dot key (.) does that for me with the default configuration.

Pro tip: Also try the Alt + . shortcut to select all idle units on the map.

Edit: I've done some more testing and I realized what the problem could be. So first of all, the manual says that the forward slash key (/) selects idle fighters. There is a difference between those two hotkeys when both of them select idle citizen soldiers, but the dot also selects idle women, and the slash selects idle champion units too.

I've noticed that the slash hotkey doesn't work when I press the slash on the numerical keyboard. Does your keyboard have a different key for the slash? When I use the English keyboard, the key that works is to the left of my right Shift.

Edited by Boudica
Link to comment
Share on other sites

From binaries/data/config/default.cfg:

[hotkey.selection]
add = Shift                  ; Add units to selection
militaryonly = Alt           ; Add only military units to the selection
nonmilitaryonly = "Alt+Y"    ; Add only non-military units to the selection
idleonly = "I"               ; Select only idle units
woundedonly = "O"            ; Select only wounded units
remove = Ctrl                ; Remove units from selection
cancel = Esc                 ; Un-select all units and cancel building placement
idleworker = Period          ; Select next idle worker
idlewarrior = ForwardSlash   ; Select next idle warrior
idleunit = BackSlash         ; Select next idle unit
offscreen = Alt              ; Include offscreen units in selection

The names are slightly misleading (see session.js); what is actually checked are these entity classes:

  • idleworker: "FemaleCitizen", "Trader", "FishingBoat", "Citizen"
  • idlewarrior: "Unit+Melee", "Unit+Ranged"
  • idleunit: "Unit+!Domestic"
1 hour ago, Boudica said:

I've noticed that the slash hotkey doesn't work when I press the slash on the numerical keyboard. Does your keyboard have a different key for the slash? When I use the English keyboard, the key that works is to the left of my right Shift.

Good point! That's easy to fix, though:

hotkey.selection.idleworker = Period, NumPoint
hotkey.selection.idlewarrior = ForwardSlash, NumDivide
hotkey.selection.idleunit = BackSlash

[EDIT] https://code.wildfiregames.com/D3029

Edited by Nescio
patch
  • Thanks 1
Link to comment
Share on other sites

On 09/10/2020 at 07:01, pixel24 said:

the manual says that the key

/

selects idle units.

 

On 09/10/2020 at 08:19, Boudica said:

Also try the Alt + . shortcut

also @pixel24 you can keep rapidly switching between the alt +. or alt + / or just keep one selection pressed down while right clicking those newly idle units to other destinations/tasks.

Link to comment
Share on other sites

  • 1 year later...

Very very late feedback :-(

I have always searched for idle units with "." or paid attention to when the icon on the overview map jumps from gray to brown.

It is nice that there is now the number of idle units to read.

With "." "I scroll through the idle units. No matter if peasant or soldier.

With "Alt + ." I select all idle units at once.

The key combination "Alt + /" does nothing.

What I am looking for is a key combination that shows me the idle peasant soldiers, but not the "real" soldiers like archers. I build the latter already in the construction phase and position them near my mining site to ward off enemy attacks.

My system is: Linuxmint 21 / Cinnamon with Alpha26

 

with best

pixel24

Link to comment
Share on other sites

29 minutes ago, pixel24 said:

Very very late feedback :-(

I have always searched for idle units with "." or paid attention to when the icon on the overview map jumps from gray to brown.

It is nice that there is now the number of idle units to read.

With "." "I scroll through the idle units. No matter if peasant or soldier.

With "Alt + ." I select all idle units at once.

The key combination "Alt + /" does nothing.

What I am looking for is a key combination that shows me the idle peasant soldiers, but not the "real" soldiers like archers. I build the latter already in the construction phase and position them near my mining site to ward off enemy attacks.

My system is: Linuxmint 21 / Cinnamon with Alpha26

 

with best

pixel24

now you can customize the keys.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...