-
Notifications
You must be signed in to change notification settings - Fork 0
Key shortcuts
Dreamy Cecil edited this page Jan 17, 2023
·
7 revisions
This document will guide you through available key shortcuts for the bot mod and how to add your own.
-
=
- quickly add one bot -
O
- add one bot to a "Red" team -
P
- add one bot to a "Blue" team -
.
(period) - make bots follow players in Cooperative mode (switches betweenNo
,Yes
andYes, unless there's an enemy
) -
[
- clear current NavMesh and generate points of a new one -
]
- automatically connect existing NavMesh points -
Num .
- change NavMesh connection type (from0
to3
) -
Num 1
- select closest NavMesh point to the crosshair (or target it if connection type is not0
) -
Num +
- add a new NavMesh point -
Num -
- delete selected NavMesh point -
Num *
- move NavMesh point to the player position -
Num /
- snap NavMesh point position to0.5
grid -
Pg Up
- increase NavMesh point range by1
-
Pg Dn
- decrease NavMesh point range by1
-
Num Enter
- display information about a NavMesh point
In order to add your own key shortcuts to any shell command, you need to create key configs. They should be placed in the Scripts\Hotkeys
folder and the files are supposed to be named like this: <key name>_<key state>.ini
-
<key name>
can be any key name from the table below. -
<key state>
can be either "Pressed" or "Released".
Take Equals_Pressed.ini
file as an example:
// Quick bot addition
MOD_QuickBot();
This config makes it so when you press the "Equals" (=
) key, a new bot is added into the game.
If the config was named Equals_Released.ini
, then the bot would be added only after releasing the said key.
A table of available keys that can be used in config names and which keys they actually represent.
In the config name | Actual key |
---|---|
None | No key |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
0 | 0 |
Minus | - |
Equals | = |
Q | Q |
W | W |
E | E |
R | R |
T | T |
Y | Y |
U | U |
I | I |
O | O |
P | P |
BracketOpen | [ |
BracketClose | ] |
Backslash | \ |
A | A |
S | S |
D | D |
F | F |
G | G |
H | H |
J | J |
K | K |
L | L |
Semicolon | ; |
Apostrophe | ' |
Z | Z |
X | X |
C | C |
V | V |
B | B |
N | N |
M | M |
Comma | , |
Period | . |
Slash | / |
F1 | F1 |
F2 | F2 |
F3 | F3 |
F4 | F4 |
F5 | F5 |
F6 | F6 |
F7 | F7 |
F8 | F8 |
F9 | F9 |
F10 | F10 |
F11 | F11 |
F12 | F12 |
Escape | Esc |
Tilde | ~ |
Backspace | Backspace |
Tab | Tab |
CapsLock | Caps Lock |
Enter |
Enter / Return
|
Space | Space |
LShift | Left Shift |
RShift | Right Shift |
LControl | Left Control |
RControl | Right Control |
LAlt | Left Alt |
RAlt | Right Alt |
ArrUp | Up Arrow |
ArrDown | Down Arrow |
ArrLeft | Left Arrow |
ArrRight | Right Arrow |
Insert | Insert |
Delete | Delete |
Home | Home |
End | End |
PgUp | Page Up |
PgDn | Page Down |
PrtSc | Print Screen |
ScrollLock | Scroll Lock |
Pause | Pause |
Num0 | Num 0 |
Num1 | Num 1 |
Num2 | Num 2 |
Num3 | Num 3 |
Num4 | Num 4 |
Num5 | Num 5 |
Num6 | Num 6 |
Num7 | Num 7 |
Num8 | Num 8 |
Num9 | Num 9 |
NumPeriod | Num . |
NumLock | Num Lock |
NumDiv | Num / |
NumMul | Num * |
NumSub | Num - |
NumAdd | Num + |
NumEnter | Num Enter |
MB1 | Left Mouse Button |
MB2 | Right Mouse Button |
MB3 | Middle Mouse Button |
MB4 | Mouse Button 4 |
MB5 | Mouse Button 5 |
WheelUp | Mouse Wheel Up |
WheelDown | Mouse Wheel Down |
2MB1 | Second Mouse Button 1 |
2MB2 | Second Mouse Button 2 |
2MB3 | Second Mouse Button 3 |