Skip to content

Console key custom binding

Allows to bind a custom key to open the console in the game. By default, the console is opened by pressing the tilde key (~), but with this feature, you can bind it to any key you want.

Configuration

The console key can be configured by using the balltze_set_console_key_binding command in the console. The command takes a single argument, which is the key that you want to bind to the console. The key must be specified as a number. The following are the possible values for the key:

Key Name Value
ESCAPE 0
F1 1
F2 2
F3 3
F4 4
F5 5
F6 6
F7 7
F8 8
F9 9
F10 10
F11 11
F12 12
PRINT_SCREEN 13
SCROLL_LOCK 14
PAUSE_BREAK 15
TILDE 16
TOP_1 17
TOP_2 18
TOP_3 19
TOP_4 20
TOP_5 21
TOP_6 22
TOP_7 23
TOP_8 24
TOP_9 25
TOP_0 26
TOP_MINUS 27
TOP_EQUALS 28
BACKSPACE 29
TAB 30
Q 31
W 32
E 33
R 34
T 35
Y 36
U 37
I 38
O 39
P 40
LEFT_BRACKET 41
RIGHT_BRACKET 42
BACK_SLASH 43
CAPS_LOCK 44
A 45
S 46
D 47
F 48
G 49
H 50
J 51
K 52
L 53
SEMICOLON 54
APOSTROPHE 55
ENTER 56
LEFT_SHIFT 57
Z 58
X 59
C 60
V 61
B 62
N 63
M 64
COMMA 65
PERIOD 66
FORWARD_SLASH 67
RIGHT_SHIFT 68
LEFT_CONTROL 69
WINDOWS_KEY 70
LEFT_ALT 71
SPACE 72
RIGHT_ALT 73
UNKNOWN 74
MENU 75
RIGHT_CONTROL 76
UP_ARROW 77
DOWN_ARROW 78
LEFT_ARROW 79
RIGHT_ARROW 80
INS 81
HOME 82
PAGE_UP 83
DEL 84
END 85
PAGE_DOWN 86
NUM_LOCK 87
NUM_STAR 88
NUM_FORWARD_SLASH 89
NUM_0 90
NUM_1 91
NUM_2 92
NUM_3 93
NUM_4 94
NUM_5 95
NUM_6 96
NUM_7 97
NUM_8 98
NUM_9 99
NUM_MINUS 100
NUM_PLUS 101
NUM_ENTER 102
NUM_DECIMAL 103