Keyboard: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
Created page with "category:Balanced Annihilation '''<--Back to Balanced Annihilation''' For a more complete description of controls, see here: [[Balanced Annihilatio..."
 
m add link to source pos
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[category:Balanced Annihilation]]
Up to date list of engines default bindings: [https://github.com/spring/spring/blob/53f439d880e491520014aa0a7bd6ba20f9236d29/rts/Game/UI/KeyBindings.cpp#L39 source]
'''[[Balanced_Annihilation|<--Back to Balanced Annihilation]]'''


For a more complete description of controls, see here: [[Balanced Annihilation:Giving_Orders]]
==Default Keyboard Layout in Spring==
<br><br>


<table style="text-align:left; vertical-align:top;" border="1">
Note: This page is currently incomplete and different games might use different keyboard configurations. But this page covers the basics which are broadly common to most Spring games.
<tr>
<th>Mouse Button 1 <small>(left)</small></th>
<td>Select unit/s (also perform selected order, eg: build selected building)</td>
</tr>
<tr>
<th>Mouse Button 2 <small>(right)</small></th>
<td>Default order. Depending on target:<br> - Move. <small>(drag mouse for line formation)</small><br> - Attack / Repair / Reclaim. <small>(drag to target an area)</small><br> - Build incomplete building or unit.<br> - Guard.<br> - If an order has been manually selected/hotkeyed, click to cancel.
</td>
</tr>
<tr>
<th>Scroll Wheel</th>
<td>Zoom in/out</td>
</tr>
<tr>
<th>Mouse Button 3<br><small>(click scroll wheel)</small></th>
<td>Move to point on minimap
<br><small>(Mouse 1 & 2 are used to select units and give orders on minimap)</small></td>
</tr>
<tr>
<th>L</th>
<td>(Duplicates middle click functionality)</td>
</tr>
<tr>
<th>SHIFT <br><small>+ (Mouse 1 or 2)</small></th>
<td> - Queue order. Queue as many as you like.
(shift+drag to queue a line of buildings)<br> - Add unit/s to group</td>
</tr>
<tr>
<th>CTRL + Mouse 1</th>
<td>Remove unit/s from group</td>
</tr>
<tr>
<th>[ and ]</th>
<td>Rotate building (first select something to build and then rotate)</td>
</tr>
<tr>
<th>A</th>
<td>Attack <small>(attack unit/ground)</small></td>
</tr>
<tr>
<tr>
<th>M</th>
<td>Move</td>
</tr>
<tr>
<th>F</th>
<td>Fight <small>(as move, but units will stop to kill enemies along the way)</small></td>
</tr>
<tr>
<th>G</th>
<td>Guard</td>
</tr>
<tr>
<th>P</th>
<td>Patrol. <small>(Moves back and forth between current position and patrol position)</small></td>
</tr>
<tr>
<th>S</th>
<td>Stop</td>
</tr>
<tr>
<th>E</th>
<td>Reclaim</td>
</tr>
<tr>
<th>R</th>
<td>Repair</td>
</tr>
<tr>
<th>D</th>
<td>D-Gun</td>
<tr>
<th>X</th>
<td>On/Off. <small>(as the unit on/off button)</small></td>
</tr>
<tr>
<th>K</th>
<td>Cloak on/off</td>
</tr>
<tr>
<th>CTRL + D</th>
<td>Self Destruct</td>
</tr>
<tr>
<th>SHIFT + W</th>
<td>Queue 'wait' command</td>
</tr>
<tr>
<th>W</th>
<td>Stop waiting</td>
</tr>
<tr>
<th>CTRL + number (1-0)</th>
<td>Assign group</td>
</tr>
<tr>
<th>number (1-0)</th>
<td>Select group</td>
</tr>
<tr>
<th>Double Click</th>
<td>Select all units of targetted type in view</td>
</tr>
<tr>
<th>CTRL + Z</th>
<td>Select all units of selected type on map.</td>
</tr>
<tr>
<th>CTRL + A</th>
<td>Select all units on map.</td>
</tr>
<tr>
<th>ALT + SHIFT (+ mouse click & drag)</th>
<td>Build a rectangular area of buildings.</td>
</tr>
<tr>
<th>SHIFT (+ mouse click & drag)</th>
<td>Build a line of buildings.</td>
</tr>
<tr>
<th>SHIFT + CTRL (+ mouse click & drag)</th>
<td>Build a line of buildings with fixed angles of 90 degrees.</td>
</tr>
<tr>
<th>CTRL + SHIFT (+ mouse click)</th>
<td>Build a circular area of buildings around some other building (must point on the building with mouse cursor).</td>
</tr>
<tr>
<th>TAB</th>
<td>Zooms out to see the whole map.</td>
</tr>
<tr>
<th>F1</th>
<td>Shows heightmap</td>
</tr>
<tr>
<th>F2</th>
<td>Shows areas where you can build (if the building what you want to build is selected)</td>
</tr>
<tr>
<th>F3</th>
<td>Goes to the latest spot of action (also goes to the latest markers)</td>
</tr>
<tr>
<th>F4</th>
<td>Shows metalmap</td>
</tr>
<tr>
<th>F5</th>
<td>Hides User Interface</td>
</tr>
<tr>
<th>CTRL+F5</th>
<td>Changes to a cooler camera mode</td>
</tr>
<tr>
<th>F6</th>
<td>Turns sounds off (currently a bug causes sounds be on when zoomed in the spot where sound comes from (for example an explosion))</td>
</tr>
</table>




<h4>Multiplayer Communication</h4>
{|
<table style="text-align:left; vertical-align:top;" border="1">
|-
<tr>
!Mouse 1 <small>(left)</small>
<th>` + Mouse Button 1</th>
|Selecting units, selecting orders/buildings from the menu and also to give orders!
<td>Draw on map.<br><small>(On a UK/US keyboard ` is to the key left of 1. The same functionality is mapped to the \ key)</small></td>
|-
</tr>
!Mouse 2 <small>(right)</small>
<tr>
|Give the default order (move). Or change from a non-default order (e.g. attack, fight, guard) back to a move order without giving an order.
<th>` + Mouse Button 2</th>
|-
<td>Erase markers and drawings</td>
!Scroll Wheel
</tr>
|Zoom in/out
<tr>
|-
<th>` + Mouse Button 3</th>
!Mouse 3
<td>Place marker</td>
|Pan camera (mouse 2 is normally pressing the scroll wheel)
</tr>
|-
<tr>
|-
<th>` + Double Click</th>
!SHIFT
<td>Place marker with annotation</td>
|Queue order. Press shift as you give the order, queue up as many as you like! Press Ctrl/Alt as well for building formations.
</tr>
|-
<tr>
![ and ]
<th>ENTER</th>
|Rotate building (first select something to build and then rotate)
<td>Chat</td>
|-
</tr>
!A
<tr>
|Attack <small>(attack unit/ground)</small>
<th>ALT + ENTER</th>
|-
<td>Allied chat</td>
|-
</tr>
!M
<tr>
|Move
<th>SHIFT + ENTER</th>
|-
<td>Spectator chat</td>
!F
</tr>
|Fight <small>(as move, but units will stop to kill enemies along the way)</small>
<tr>
|-
<th>CTRL + ENTER</th>
!G
<td>Return to global chat</td>
|Guard
</tr>
|-
</table>
!P
|Patrol. <small>(Moves back and forth between current position and patrol position)</small>
|-
!S
|Stop <small>(cancels all orders)</small>
|-
!E
|Reclaim <small>(Eat!)</small>
|-
!R
|Repair
|-
!D
|D-Gun (or other manual fire weapon)
|-
!K
|Cloak on/off
|-
!CTRL + D
|Self Destruct
|-
!W
|Wait (or stop waiting)
|-
!CTRL + number (1-0)
|Assign using to group
|-
!number (1-0)
|Select unit group
|-
!Double Click
|Select all units of targetted type in view
|-
!CTRL + Z
|Select all units of selected type on map.
|-
!CTRL + A
|Select all units on map.
|-
!TAB
|Zooms out to see the whole map.
|-
!F1
|Shows heightmap
|-
!F2
|Shows areas where you can build (if the building what you want to build is selected)
|-
!F3
|Goes to the latest spot of action (also goes to the latest markers)
|-
!F4
|Shows metalmap
|-
!F5
|Hides User Interface
|-
!CTRL+F1/2/3/4
|Change camera mode
|-
!F6
|Turns sounds off (currently a bug causes sounds be on when zoomed in the spot where sound comes from (for example an explosion))
|-
!F11
|Show list of Widgets, use to enable/disable Widgets, press ESC to close it.
|-
|colspan="2"| <h4>Multiplayer Communication</h4>
|-
!ENTER
|Chat
|-
!ALT + ENTER
|Allied chat
|-
!SHIFT + ENTER
|Spectator chat
|-
!CTRL + ENTER
|Return to global chat
|-
!` + Mouse Button 1
|Draw on map.<br><small>(On a UK/US keyboard ` is to the key left of 1. The same functionality is mapped to the \ key)</small>
|-
!` + Mouse Button 2
|Erase markers and drawings
|-
!` + Mouse Button 3
|Place marker
|-
!` + Double Click
|Place marker with annotation
|}


Somewhat out-dated: [http://springrts.com/mediawiki/images/a/a5/KeyboardLayout.jpg Spring Keyboard Layout Image]


<h4>Multiplayer Communication (scandinavian keyboard)</h4>
=== Changing bindings ===
<table style="text-align:left; vertical-align:top;" border="1">
<tr>
<th>§ + Mouse Button 1</th>
<td>Draw on map.<br><small>(On a UK/US keyboard ` is to the key left of 1. The same functionality is mapped to the \ key)</small></td>
</tr>
<tr>
<th>§ + Mouse Button 2</th>
<td>Erase markers and drawings</td>
</tr>
<tr>
<th>§ + Mouse Button 3</th>
<td>Place marker</td>
</tr>
<tr>
<th>§ + Double Click</th>
<td>Place marker with annotation</td>
</tr>
</table>


<h4>Basic commands (scandinavian keyboard)</h4>
[http://springrts.com/phpbb/viewtopic.php?f=11&t=25043 This] forum thread might be helpful.
<table style="text-align:left; vertical-align:top;" border="1">
<tr>
<th>å or ´</th>
<td>Rotate building (first select something to build and then rotate)</td>
</tr>
</table>


'''[[Balanced_Annihilation|<--Back to Balanced Annihilation]]'''
[[Category:Help]]

Latest revision as of 09:10, 23 October 2015

Up to date list of engines default bindings: source

Default Keyboard Layout in Spring

Note: This page is currently incomplete and different games might use different keyboard configurations. But this page covers the basics which are broadly common to most Spring games.


Mouse 1 (left) Selecting units, selecting orders/buildings from the menu and also to give orders!
Mouse 2 (right) Give the default order (move). Or change from a non-default order (e.g. attack, fight, guard) back to a move order without giving an order.
Scroll Wheel Zoom in/out
Mouse 3 Pan camera (mouse 2 is normally pressing the scroll wheel)
SHIFT Queue order. Press shift as you give the order, queue up as many as you like! Press Ctrl/Alt as well for building formations.
[ and ] Rotate building (first select something to build and then rotate)
A Attack (attack unit/ground)
M Move
F Fight (as move, but units will stop to kill enemies along the way)
G Guard
P Patrol. (Moves back and forth between current position and patrol position)
S Stop (cancels all orders)
E Reclaim (Eat!)
R Repair
D D-Gun (or other manual fire weapon)
K Cloak on/off
CTRL + D Self Destruct
W Wait (or stop waiting)
CTRL + number (1-0) Assign using to group
number (1-0) Select unit group
Double Click Select all units of targetted type in view
CTRL + Z Select all units of selected type on map.
CTRL + A Select all units on map.
TAB Zooms out to see the whole map.
F1 Shows heightmap
F2 Shows areas where you can build (if the building what you want to build is selected)
F3 Goes to the latest spot of action (also goes to the latest markers)
F4 Shows metalmap
F5 Hides User Interface
CTRL+F1/2/3/4 Change camera mode
F6 Turns sounds off (currently a bug causes sounds be on when zoomed in the spot where sound comes from (for example an explosion))
F11 Show list of Widgets, use to enable/disable Widgets, press ESC to close it.

Multiplayer Communication

ENTER Chat
ALT + ENTER Allied chat
SHIFT + ENTER Spectator chat
CTRL + ENTER Return to global chat
` + Mouse Button 1 Draw on map.
(On a UK/US keyboard ` is to the key left of 1. The same functionality is mapped to the \ key)
` + Mouse Button 2 Erase markers and drawings
` + Mouse Button 3 Place marker
` + Double Click Place marker with annotation

Somewhat out-dated: Spring Keyboard Layout Image

Changing bindings

This forum thread might be helpful.