Editing Selection

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
 
== Selection Commands ==
 
== Selection Commands ==
 
* Simple click, select what you click on.
 
* Simple click, select what you click on.
* Double-click, select all same units/buildings on screen.
+
* Double click, select all same units/buildings on screen.
* Box select (click and drag to draw a rectangle), select all inside the box with the highest [[#Selection Rank|selection rank]].
+
* Box select (click and drag to draw a rectangle), select all inside the box with the highest [[#Selection rank|selection rank]].
  
 
To manage your selection you can
 
To manage your selection you can
* right-click a unit in the selection window to remove it from the current selection,
+
* right click a unit in the selection window to remove it from the current selection,
* {{key press|Shift}} and right-click to remove all units that are like the one you click on;
+
* {{key press|Shift}} right click to remove all units that are like the one you click on;
 
* {{key press|Shift}} + [[#Selection Commands|selection command]] will add newly selected units to the current selection.
 
* {{key press|Shift}} + [[#Selection Commands|selection command]] will add newly selected units to the current selection.
  
 
== Selection Rank ==
 
== Selection Rank ==
  
<img src="//raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/selection_rank_0.png" height="24" width="24" alt="0">
+
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/selection_rank_0.png" height="24" width="24"/>
<img src="//raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/selection_rank_1.png" height="24" width="24" alt="1">
+
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/selection_rank_1.png" height="24" width="24"/>
<img src="//raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/selection_rank_2.png" height="24" width="24" alt="2">
+
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/selection_rank_2.png" height="24" width="24"/>
<img src="//raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/selection_rank_3.png" height="24" width="24" alt="3">
+
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/selection_rank_3.png" height="24" width="24"/>
  
Selection rank is a unit state that determines which units are selected when dragging a selection box. Only the units with the highest rank in the selection box will be selected. This keeps buildings and construction units from being selected with combat units.
+
Selection rank determines which units are selected when dragging a selection box around units with different ranks. Only the units in the selection box with the highest rank are selected. This is what keeps buildings and construction units from being selected with combat units.
  
To select a mixed selection of ranks, hold {{key press|Shift}} while dragging the box. Holding {{key press|Ctrl}} also selects mixed selections of ranks (except for rank zero). This is to allow selection hotkeys such as {{key combo|Ctrl|Z}} to select across ranks. Double-click selection has similar behaviour. These thresholds are configurable under 'Settings/Interface/Selection' (with Simple Settings unticked).
+
By default, most buildings have selection rank 1, factories and constructors have rank 2, and all combat units have rank 3. Selection rank can be changed for selected units, or it may be changed globally in the options menu. For example, if you don't want your Commander or anti-air units to be selected with the rest of your combat units, reduce their selection rank.
  
[[File:SelectionRank.png]]
+
The default selection rank of units is customizable through Default Unit States in the [[Ingame_Menu]].
  
Selection ranks can be modified mid-game for individual units via a state toggle. This toggle is hidden by default. To enable it, tick it in 'Settings/Interface/Commands'. Left click advances the rank and right click decrements it.
+
You can bypass selection rank by holding {{key press|Shift}} while dragging. You will select all units/buildings in the box.
  
By default, most buildings have selection rank 1, factories and constructors have rank 2, and all combat units have rank 3. These defaults can be modified in the [[Ingame Menu]] under 'Settings/Unit Behaviour/Default States'. Alternately, click 'Edit Behaviour' in the unit info box that is brought up by {{key press|Space}}-clicking a unit. For example, if you don't want your anti-air units to be selected with the rest of your combat units, their selection rank could be set to 2.
+
A selection rank of 0 is an exception. Units that are set to 0 will ignore many catch-all selections such as {{key press|Ctrl}}-{{key press|A}} and {{key press|Ctrl}}-{{key press|Z}}
  
Selection ranks exist independently for each player—and even for each spectator. This can be useful in shared control coop games to avoid selecting units that your allies are trying to control.
+
== Hotkeys ==
  
== Hotkeys ==
+
There are multiple [[hotkeys]] to help with selection:
  
There are multiple [[hotkeys]] to help with selection. The default bindings allow you to select:
+
*{{key press|Ctrl}}-{{key press|A}} selects everything
{{:Selection hotkeys|list}}
+
*{{key press|Ctrl}}-{{key press|F}} selects all mobile non-builder units
 +
*{{key press|Z}} selects an idle builder; press repeatedly to cycle trough idle builders
 +
*{{key press|Ctrl}}-{{key press|B}} selects all idle constructors
 +
*{{key press|Ctrl}}-{{key press|C}} selects Commander
 +
*{{key press|Ctrl}}-{{key press|Z}} selects all units that are the same as the one you are currently selecting
 +
*{{key press|Ctrl}}-{{key press|X}} selects all units that are the same as the one you are currently selecting that are currently visible on the screen
 +
*{{key press|Ctrl}}-{{key press|I}} removes non-idle units from your selection
 +
*{{key press|Ctrl}}-{{key press|E}} removes all units that are above 30% HP from your selection
 +
*{{key press|Ctrl}}-{{key press|T}} selects [[Transportation|Transports]]
 +
*{{key press|Ctrl}}-{{key press|S}} selects [[Owl]]s
 +
*{{key press|Ctrl}}-{{key press|G}} selects [[Raptor]]s
  
Factories can also be selected using hotkeys. Your first factory will be on {{key combo|Alt|Q}}, the second factory you build will be on {{key combo|Alt|W}} and the next one on {{key combo|Alt|E}}, and so on. This assumes that you have the QWERTY keyboard layout.
+
Factories can also be selected using hotkeys. Your first factory will be on {{key press|Alt}}+{{key press|Q}}, the second factory you build will be on {{key press|Alt}}+{{key press|W}} and the next one on {{key press|Alt}}+{{key press|E}}, and so on. This assumes that you have the QWERTY keyboard layout.
  
You can select missiles from the [[Missile Silo]] by either clicking on them or by selecting the Silo and pressing {{key press|D}}.
+
You can select missiles from the Missile Silo by either clicking on them or by selecting the Silo and pressing {{key press|D}}.
  
All hotkeys are editable in the [[Ingame Menu#Hotkeys|settings menu]] at <samp>Menu</samp>&rarr;<samp>Hotkeys</samp>&rarr;<samp>Selection</samp>. There are many ways to select your units that do not have default hotkeys.
+
All hotkeys are editable in the [[Ingame Menu#Hotkeys|settings menu]].
  
 
== Autogroups ==
 
== Autogroups ==
  
Autogroups are custom selection hotkeys that you can set up on the go. They allow units to be automatically added to a control group.
+
[[Hotkeys#Auto grouping|Autogroups]] are custom selection hotkeys that you can set up on the go. They allow units to be automatically added to a control group.
 
 
Ever wished to have all fighters in group 7, all gunships in group 8, all raiders in 4, etc.? "Autogroup" achieves just that.
 
 
 
Auto grouping is a feature of Zero-K (widget).
 
{{:Autogroup hotkeys|list}}
 
[[Ingame Menu#Control Groups|Autogroup settings]] can be modified from the in-game menu: <samp>Menu</samp>&rarr;<samp>Settings</samp>&rarr;<samp>Interface</samp>&rarr;<samp>Control Groups</samp>.
 
 
 
Example use:
 
* Select a [[Glaive]] and a [[Reaver]] and press {{Key combo|Alt|1}}.
 
* From then on, new Glaives and Reavers will join group 1 when they first become idle (after reaching factory waypoint). You can press {{Key press|1}} to select them.
 
* If you then want to add [[Knight]]s to autogroup 1, select one of them and press {{Key combo|Alt|1}}.
 
* If you then want to remove Glaives from autogroup 1, select one and press {{Key combo|Alt|~}}.
 
  
  
 
{{Navbox manual}}
 
{{Navbox manual}}

Please note that all contributions to Zero-K are considered to be released under the Creative Commons Attribution-ShareAlike (see Zero-K:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)