Controls - UberWaffe/OpenRA GitHub Wiki
We try to support the usual RTS controls:
-
Left-click (or drag for band-box): Select units
-
Right-click to issue the default order, depending on context.
-
Shift + right-click: queue orders to be executed in sequence (most things support this)
-
Ctrl + right-click: Force attack or drag a mine field
-
Alt + right-click: Force move
-
Middle-drag to scroll accurately.
-
0-9: Select control group
-
Shift + 0-9: Add control group to selection
-
Ctrl + 0-9: Assign control group from selection
-
Alt + 0-9 or double-tap 0-9: Center viewport on control group.
-
Backspace: Center viewport on (and cycle through) Construction Yards and MCVs.
-
Spacebar: Center viewport on last event (base under attack).
-
Enter: Chat
-
Shift + Enter: Toggle teamchat
-
A: Attack-move (will engage any targets found along the way, then resume moving to the destination)
-
S: Stop (cancel all orders for selected units)
-
X: Scatter selected units
-
F: Unload/Deploy selected units/Return aircraft to base
-
Left-click on build palette: Add to queue / resume paused
-
Right-click on build palette: Pause production / cancel production
-
Shift+left-click / Shift+right-click: Queue/unqueue 5x
-
Double-click on a unit: Select all onscreen units of the same type, and owner.
-
TAB: cycles production tab - Shift+Tab reverse
-
Z: Cycle selected units through HoldFire / ReturnFire / AttackAnything / Defend stances
-
V: Select "sell" toggle button
-
B: Select "power down" toggle button
-
N: Select "repair" toggle button
The internal plumbing for all this will change radically when opal is merged -- and this will also give us discoverability of the shortcuts.
There are a couple of simple things being controlled:
- whether the unit retaliates when it takes damage
- whether the unit scans for targets and engages them automatically
- whether the unit is allowed to move
HoldFire turns all of that off, the unit will only accept targets from the player
ReturnFire turns off the scanning, but will engage a unit that fires upon you (provided it does at least 1hp of damage)
Defend enables scanning and retaliation, but prevents the unit from chasing a target
AttackAnything scans, retaliates, and chases things
- Ground units in most cases by default are to set AttackAnything
- Submarines are set to HoldFire
- Air units do not support stances