Skip to content

Commit 88641f2

Browse files
Rampoinaandy5995
authored andcommitted
add hotkeybuild1
Add building and unit hotkeys reformat code
1 parent 22a474b commit 88641f2

File tree

9 files changed

+11212
-9401
lines changed

9 files changed

+11212
-9401
lines changed

docs/README.txt

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ the default keyboard values).
149149

150150
* Camera keyboard controls *
151151

152-
f => toggle free camera mode
152+
y => toggle free camera mode
153153
w => move camera up (free camera mode only)
154154
s => move camera down (free camera mode only)
155155
a => rotate camera left (free camera mode only)
@@ -185,21 +185,34 @@ n => show network status
185185

186186
* Hotkeys (game camera mode only) *
187187

188-
a => activate attack command for selection
189-
s => issue stop command to selection
188+
, => activate attack command for selection
189+
; => issue stop command to selection
190190
i => select next idle harvester
191191
b => select next building
192-
d => select next damaged unit
192+
u => select next damaged unit
193193
t => select next storage unit
194194
r => rotate building before placement
195195

196+
Unit commands can be activated using the keyboard by pressing corresponding
197+
keys in the grid layout:
198+
199+
+---+---+---+---+
200+
| q | w | e | r |
201+
+---+---+---+---+
202+
| a | s | d | f |
203+
+---+---+---+---+
204+
| z | x | c | v |
205+
+---+---+---+---+
206+
207+
The position of the command for the selected unit (or group) in the UI
208+
button grid corresponds to the key in the same position in the grid above.
196209

197210
* Other Keys *
198211

199212
- + => adjust game speed (disabled in multiplayer)
200213
p => pause game (disabled in multiplayer)
201-
e => save screen shot to file
202-
c => toggle ingame font color (and font shadow)
214+
j => save screen shot to file
215+
o => toggle ingame font color (and font shadow)
203216
m => show faded mesages again
204217
? => when DebugMode=true, display debug info
205218
/ => toggle mouse pointer rendering mode (OS/MG)

mk/shared/glestkeys.ini

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
RenderInGamePerformance=`
44
RenderNetworkStatus=N
55
ShowFullConsole=M
6-
Screenshot=E
7-
FreeCameraMode=F
6+
Screenshot=J
7+
FreeCameraMode=Y
88
ResetCameraMode=space
99
CameraModeLeft=left
1010
CameraModeRight=right
1111
CameraModeUp=up
1212
CameraModeDown=down
1313
PauseGame=P
14-
ChangeFontColor=C
14+
ChangeFontColor=O
1515
GameSpeedIncrease='+'
1616
GameSpeedDecrease='-'
1717
ExitKey=escape
@@ -30,16 +30,28 @@ CameraRotateLeft=A
3030
CameraRotateRight=D
3131
CameraRotateUp=S
3232
CameraRotateDown=W
33+
CommandKey1=Q
34+
CommandKey2=W
35+
CommandKey3=E
36+
CommandKey4=R
37+
CommandKey5=A
38+
CommandKey6=S
39+
CommandKey7=D
40+
CommandKey8=F
41+
CommandKey9=Z
42+
CommandKey10=X
43+
CommandKey11=C
44+
CommandKey12=V
3345
HotKeyCenterCameraOnSelection=G
3446
HotKeySelectIdleHarvesterUnit=I
3547
HotKeySelectBuiltBuilding=B
3648
HotKeyShowDebug=?
3749
HotKeyDumpWorldToLog=\
3850
HotKeyRotateUnitDuringPlacement=R
39-
HotKeySelectDamagedUnit=D
51+
HotKeySelectDamagedUnit=U
4052
HotKeySelectStoreUnit=T
41-
HotKeySelectedUnitsAttack=A
42-
HotKeySelectedUnitsStop=S
53+
HotKeySelectedUnitsAttack=,
54+
HotKeySelectedUnitsStop=;
4355
HotKeyToggleOSMouseEnabled=/
4456
ChatTeamMode=H
4557
ToggleHealthbars=#

0 commit comments

Comments
 (0)