Difference between revisions of "Hotkeys"

From Zero-K
Jump to navigation Jump to search
(Ported from ZK wiki by DotNetWikiBot)
 
(Added terraform hotkeys and TOC.)
 
(26 intermediate revisions by 15 users not shown)
Line 1: Line 1:
= Editing Hotkeys =
+
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.
  
Using the "game" menu you can quicly hotbind any key combos to almost any action or unit commands. For more advanced usage of hotkeys see this page: [KeybindFile]
+
{{TOC right}}
  
= Selection Keys =
+
<youtube>https://www.youtube.com/watch?v=phRCmp5pMos</youtube>
  
Selection Keys are commands that quickly select groups of units. You can edit your selection keys in the game by navigating to Game > Selections.
+
== 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 ==
 +
{{See|Selection#Hotkeys{{!}}Selection Hotkeys}}
 +
{|class="wikitable sortable"
 +
|+Selection hotkeys
 +
!scope="col"|Press!!scope="col"|To select
 +
{{:Selection hotkeys|table}}
 +
|}
  
''' '''Ctrl-C* selects your commander and focuses on him. Forgot where your commander is? Hit Ctrl-C!
+
== Unit Grouping ==
''' '''Ctrl-B* selects an idle builder.
+
{{See|Selection#Autogroups{{!}}Selection Autogroups}}
''' '''Ctrl-A* selects all. Convenient in some situations, just please don't use ctrl-d with this when the battle is still going.
+
{|class="wikitable sortable"
''' '''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 re-enforcements, etc.
+
|+Autogroup hotkeys
 +
!scope="col"|Keys!!scope="col"|Effect
 +
{{:Autogroup hotkeys|table}}
 +
|}
  
 
= Auto grouping =
 
  
Ever wished to have all fighters in group 7, all gunships in group 8, all raiders in 4 etc?
+
{{Navbox manual}}
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 -> Widgets -> Autogroup.
 
 
 
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+~_.
 
 
 
 
 
 
 
[[Manual|Back to 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).



Debug data: