Controls - TrevorBarns/luxart-vehicle-control GitHub Wiki
Table Guide:
Variable / Line #: Outlines where the control can be changed, a variable name means it would be located in SETTINGS.lua, otherwise it outlines a file and line number (as of v3.2.0 these may be out of date later).
Control Type:
- STATIC uses hardcoded keys using CFX natives IsControlJustPressed (or similar) these are not changeable by end user.
- RKM (Registered Key Mapping) uses CFX native RegisterKeyMapping which can have default keys set by developer, and end user customization in GTA V Settings, at the cost of controller support, and more difficult to implement combo key.
- How RKMs work: Using The New Console Key Bindings - FiveM Cook Book
- List of possible RKM keys: https://pastebin.com/u9ewvWWZ
Default Key: Out-of-box setup default keyboard key.
Default Controller: Out-of-box setup default controller key (only applicable to STATIC Control Type)
Action: What to expect to occur, some controls depend on the state of the controller and are outlined in italics.
RKM Command: If RKM Control Type then there exists some registered command for it, listed here. These will work in chat, some are modifiable, others like the LVC menu would require changing of RageUIs core code.
Controls Table:
Variable / Line # | Control Type | Default Key | Default Controller | Action | RKM Command |
---|---|---|---|---|---|
open_menu_key | RKM | O | (N/A) | Open Main Menu (RageUI) | /rageui-O |
lockout_default_hotkey | RKM | (none) | (N/A) | Lock-out all LVC keybinds | /lvclock |
tkd_key | STATIC | H | DPAD RIGHT | Toggle TKD light if tkd_combokey is depressed | |
tkd_combokey | STATIC | LEFT-SHIFT | A | Activates tkd_key key | |
cl_lvc.lua#117 | STATIC | ~ / ` | (none) | Unlock / activate radio wheel control (Q) | |
cl_lvc.lua#689 | STATIC | Q | DPAD-LEFT | Toggle Emergency Lights | |
cl_lvc.lua#689 | STATIC | Y | (none) | Toggle Emergency Lights | |
cl_lvc.lua#709 | STATIC | LEFT ALT | DPAD-DOWN | Toggle Primary Siren | |
cl_lvc.lua#709 | STATIC | , (comma) | (none) | Toggle Primary Siren | |
cl_lvc.lua#749 | STATIC | ARROW UP | DPAD-UP | Toggle Auxiliary Siren | |
cl_lvc.lua#801 | STATIC | R | B | Cycle Primary Siren (if siren is on) | |
cl_lvc.lua#801 | STATIC | . (period) | (none) | Cycle Primary Siren (if siren is on) | |
cl_lvc.lua#815 | STATIC | R | B | Primary Manual Tone (if siren is off) | |
cl_lvc.lua#L815:L832 | STATIC | R+E | B+L3 | Secondary Manual Tone (if siren is off) | |
cl_lvc.lua#832 | STATIC | E | L3 | Horn / Airhorn | |
cl_lvc.lua#313 | RKM | Numrow-1 | (none) | Play 1st Siren Tone | /_lvc_siren_1 |
cl_lvc.lua#313 | RKM | Numrow-2 | (none) | Play 2nd Siren Tone | /_lvc_siren_2 |
cl_lvc.lua#313 | RKM | Numrow-3 | (none) | Play 3rd Siren Tone | /_lvc_siren_3 |
cl_lvc.lua#313 | RKM | Numrow-4 | (none) | Play 4th Siren Tone | /_lvc_siren_4 |
cl_lvc.lua#313 | RKM | Numrow-5 | (none) | Play 5th Siren Tone | /_lvc_siren_5 |
cl_lvc.lua#313 | RKM | Numrow-6 | (none) | Play 6th Siren Tone | /_lvc_siren_6 |
cl_lvc.lua#313 | RKM | Numrow-7 | (none) | Play 7th Siren Tone | /_lvc_siren_7 |
cl_lvc.lua#313 | RKM | Numrow-8 | (none) | Play 8th Siren Tone | /_lvc_siren_8 |
cl_lvc.lua#313 | RKM | Numrow-9 | (none) | Play 9th Siren Tone | /_lvc_siren_9 |
cl_lvc.lua#313 | RKM | Numrow-0 | (none) | Play 10th Siren Tone | /_lvc_siren_10 |