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
(Added terraform hotkeys and TOC.)
 
(11 intermediate revisions by 3 users not shown)
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. [[Keybind file|Advanced key binding]] can be performed by editing a configuration file.
  
== Selection Keys ==
+
{{TOC right}}
  
[[Selection]] Keys are commands that quickly select groups of units. You can edit your selection keys in the game by navigating to Game > Selections.
+
<youtube>https://www.youtube.com/watch?v=phRCmp5pMos</youtube>
  
 +
== Terraform ==
 +
{{See|Terraform|Terraform#Terraforming Presets{{!}}Terraforming Presets}}
 +
{|class="wikitable sortable"
 +
|+Terraforming presets
 +
!scope="col"|Shortcut!!scope="col"|Effect
 +
{{:Terraform hotkeys|table}}
 +
|}
  
=== Some selection key examples ===
+
== Selection ==
* '''Ctrl-C''' selects your commander and focuses on him. Forgot where your commander is? Hit Ctrl-C!
+
{{See|Selection#Hotkeys{{!}}Selection Hotkeys}}
* '''Z''' selects an idle builder. Pressing it multiple times cycles through your idle builders.
+
{|class="wikitable sortable"
* '''Ctrl-B''' selects all idle builders.
+
|+Selection hotkeys
* '''Ctrl-A''' selects all. Convenient in some situations, just please don't use Ctrl-D with this when the battle is still going.
+
!scope="col"|Press!!scope="col"|To select
* '''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.
+
{{:Selection hotkeys|table}}
 +
|}
  
== Auto grouping ==
+
== Unit Grouping ==
 +
{{See|Selection#Autogroups{{!}}Selection Autogroups}}
 +
{|class="wikitable sortable"
 +
|+Autogroup hotkeys
 +
!scope="col"|Keys!!scope="col"|Effect
 +
{{:Autogroup hotkeys|table}}
 +
|}
  
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 autogrouping.
 
** '''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: Menu -> Settings -> Interface -> Control Groups
 
 
Example use:
 
* Select a Glaive and a Warrior and press _alt+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.
 
* If you then want to add Zeuses to autogroup 1, select one and press ''alt+1''.
 
* If you then want to remove Glaives from autogroup 1, select one and press ''alt+~''.
 
  
 
{{Navbox manual}}
 
{{Navbox manual}}

Latest revision as of 12:16, 8 October 2021

Using the in-game menu, you can quickly bind any key combination to almost any action or unit command. Advanced key binding can be performed by editing a configuration file.

Terraform

Further information: Terraform  and Terraforming Presets
Terraforming presets
Shortcut Effect
Alt + VCheaply stops vehicles from passing, while letting bots pass.
Alt + BCheaply stops bots and vehicles from passing.
Alt + NProtects small to medium sized units from direct fire while allowing nearby turrets to shoot. This allows indirect fire units like Rogue or Recluse to shoot at a Stinger with impunity.
Alt + MRaises to a height that blocks direct fire and most indirect fire too.
Alt + GLevels terrain to the height of the ground at the clicked location.
Alt + HRaises tall spire to give high ground advantage for units like Crab.
Alt + JMakes a deep hole, which can be useful for hiding in a pinch.

Selection

Further information: Selection Hotkeys
Selection hotkeys
Press To select
Ctrl + AEverything.
Ctrl + FAll mobile non-builder units.
ZAn idle builder; press repeatedly to cycle trough idle builders.
Ctrl + BAll idle constructors.
Ctrl + CCommander.
Ctrl + ZAll units that are the same as the one you are currently selecting.
Ctrl + XAll units that are the same as the one you are currently selecting that are currently visible on the screen.
Ctrl + TTransports.
Ctrl + SOwls.
Ctrl + GRaptors.
Ctrl + IRemoves non-idle units from your selection.
Ctrl + ERemoves all units that are above 30% HP from your selection.

Unit Grouping

Further information: Selection Autogroups
Autogroup hotkeys
Keys Effect
Alt + numberMakes permanent autogroup 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 autogroup.
Ctrl + ~Selects one unit out of currently selected units (closest to your mouse cursor) and removes it from any groups (not removing type from autogroup, just current unit from group).