Skip to main content

Controls

A full keyboard with every key you bind painted on it, and a tab for your chat commands.

This section

Controls

A button in the menu opens a full keyboard with every key you have bound painted in your accent colour. Pointing at a key says what it does. A second tab lists your chat commands.

Features​

  • Keys are written the way you say them — 'F1', 'TAB', 'ALT + E', 'NUMPAD 5', 'NUM +'
  • Combinations light up every key they use
  • The number pad is only drawn when something is bound to it
  • Anything that is not on a keyboard ('MOUSE 3') gets a key of its own under the board
  • With no commands written, the page is the keyboard alone; with no keys, it is the commands alone

Configuration​

OptionDefaultDescription
Config.controls.enabledtrueOff hides the button
Config.controls.keys18 samplesYour bound keys
Config.controls.commands11 samplesYour chat commands
Config.controls.dim0.9How dark the screen behind the open page gets
lua
Config.controls = {
keys = {
{ 'F1', 'Opens your phone' },
{ 'ALT + E', 'Opens the vehicle boot' },
{ key = 'MOUSE 3', label = 'Talks on the radio while held' }, -- the long form works too
},
commands = {
{ '/report', 'Messages the staff on duty' },
{ '/me', 'Describes what your character is doing' },
},
}