Difference between revisions of "Hotkeys"

From Zero-K
Jump to navigation Jump to search
m (Reverted edits by Groo (talk) to last revision by 146.241.170.94)
Tag: Rollback
(Updated unit names, used template for key combinations, fixed menu references. Other info not checked to be factual.)
Line 1: Line 1:
Using the "game" menu you can quickly hotbind any key combos to almost any action or unit commands. For more advanced usage of hotkeys see this page: [[Keybind file]]
+
Using the [[Ingame Menu|in-game menu]], you can quickly bind any key combination to almost any action or unit command. For more advanced usage of hotkeys, see [[Keybind file]] description.
  
 
== Selection Keys ==
 
== Selection Keys ==
  
[[Selection]] Keys are commands that quickly select groups of units. You can edit your selection keys in the game by navigating to Game > Selections.
+
[[Selection]] Keys are commands that quickly select groups of units. You can edit your selection keys in the game by navigating to <samp>Menu</samp>&rarr;<samp>Hotkeys</samp>&rarr;<samp>Selection</samp>.
 
 
  
 
=== Some selection key examples ===
 
=== Some selection key examples ===
* '''Ctrl-C''' selects your commander and focuses on him. Forgot where your commander is? Hit Ctrl-C!
+
* {{Key press|Ctrl}}-{{Key press|C}} selects your commander and focuses on him. Forgot where your commander is? Hit {{Key press|Ctrl}}-{{Key press|C}}!
* '''Z''' selects an idle builder. Pressing it multiple times cycles through your idle builders.
+
* {{Key press|Z}} selects an idle builder. Pressing it multiple times cycles through your idle builders.
* '''Ctrl-B''' selects all idle builders.
+
* {{Key press|Ctrl}}-{{Key press|B}} selects all idle builders.
* '''Ctrl-A''' selects all. Convenient in some situations, just please don't use Ctrl-D with this when the battle is still going.
+
* {{Key press|Ctrl}}-{{Key press|A}} selects all. Convenient in some situations, just please don't use {{Key press|Ctrl}}-{{Key press|D}} (self-destruct) with this when the battle is still going.
* '''Ctrl-Z''' selects all units of the same type as those in the current selection. The most used command, by many players. Very useful for keeping your army together, getting reinforcements, etc.
+
* {{Key press|Ctrl}}-{{Key press|Z}} selects all units of the same type as those in the current selection. The most used command, by many players. Very useful for keeping your army together, getting reinforcements, etc.
  
 
== Auto grouping ==
 
== Auto grouping ==
  
Ever wished to have all fighters in group 7, all gunships in group 8, all raiders in 4 etc?
+
Ever wished to have all fighters in group 7, all gunships in group 8, all raiders in 4, etc?
Autogroup achieves just that..
+
Autogroup achieves just that.
  
 
* Auto grouping is feature of ZK (widget)
 
* Auto grouping is feature of ZK (widget)
** '''Alt+number''' - makes permanent "auto group" out of currently selected unit types
+
** {{Key press|Alt}}+<kbd>number</kbd> makes permanent "auto group" out of currently selected unit types.
* New units then join that group when they first become idle.  
+
* New units then join that group when they first become idle.
** '''Alt+~''' - removes currently selected unit types from the autogrouping.
+
** {{Key press|Alt}}+{{Key press|~}} removes currently selected unit types from the auto group.
** '''Ctrl+~''' - selects ONE unit out of currently selected units (closest to your mouse cursor) and removes it from any groups (not removing type from auto group, just current unit from group).
+
** {{Key press|Ctrl}}+{{Key press|~}} selects ''one'' unit out of currently selected units (closest to your mouse cursor) and removes it from any groups (not removing type from auto group, just current unit from group).
* Autogroup settings can be modified from the in-game menu: Menu -> Settings -> Interface -> 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:
 
Example use:
* Select a Glaive and a Warrior and press _alt+1_.
+
* Select a [[Glaive]] and a [[Reaver]] and press {{Key press|Alt}}+{{Key press|1}}.
* From then on, new Glaives and Warriors will join group 1 when they first become idle (after reaching factory waypoint). You can press ''1'' to select them.
+
* From then on, new [[Glaive]]s and [[Reaver]]s 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 Zeuses to autogroup 1, select one and press ''alt+1''.
+
* If you then want to add [[Knight]]s to autogroup 1, select one and press {{Key press|Alt}}+{{Key press|1}}.
* If you then want to remove Glaives from autogroup 1, select one and press ''alt+~''.
+
* If you then want to remove [[Glaive]]s from autogroup 1, select one and press {{Key press|Alt}}+{{Key press|~}}.
  
 
{{Navbox manual}}
 
{{Navbox manual}}

Revision as of 11:40, 4 July 2020

Using the in-game menu, you can quickly bind any key combination to almost any action or unit command. For more advanced usage of hotkeys, see Keybind file description.

Selection Keys

Selection Keys are commands that quickly select groups of units. You can edit your selection keys in the game by navigating to MenuHotkeysSelection.

Some selection key examples

  • Ctrl-C selects your commander and focuses on him. Forgot where your commander is? Hit Ctrl-C!
  • Z selects an idle builder. Pressing it multiple times cycles through your idle builders.
  • Ctrl-B selects all idle builders.
  • Ctrl-A selects all. Convenient in some situations, just please don't use Ctrl-D (self-destruct) with this when the battle is still going.
  • Ctrl-Z selects all units of the same type as those in the current selection. The most used command, by many players. Very useful for keeping your army together, getting reinforcements, etc.

Auto grouping

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 feature of ZK (widget)
    • Alt+number makes permanent "auto group" out of currently selected unit types.
  • New units then join that group when they first become idle.
    • Alt+~ removes currently selected unit types from the auto group.
    • Ctrl+~ selects one unit out of currently selected units (closest to your mouse cursor) and removes it from any groups (not removing type from auto group, just current unit from group).
  • Autogroup settings can be modified from the in-game menu: MenuSettingsInterfaceControl Groups.

Example use:

  • Select a Glaive and a Reaver and press 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 1 to select them.
  • If you then want to add Knights to autogroup 1, select one and press Alt+1.
  • If you then want to remove Glaives from autogroup 1, select one and press Alt+~.