Full Config — UI & Controls
The complete configs/client/ui.lua for Smash Down: Los Santos — controls, graphics, and audio defaults.
TIP
See the setup guide for explanations and examples. Download this file as a reference, and merge changes with the config shipped in your installed version.
lua
-- Client-only arcade UI settings, handed to the NUI on boot (brawl:ui:boot -> UiConfig).
return {
-- Keyboard layout override. nil = the UI's defaults (WASD/arrows to move, J/K/L/U/I + Space).
-- Values are KeyboardEvent.code names; any action left out keeps its default binding.
-- Actions: LEFT RIGHT UP DOWN ATTACK SPECIAL JUMP SHIELD GRAB SMASH TAUNT START BACK.
Keys = nil,
-- Keys = {
-- ATTACK = { 'KeyJ', 'KeyZ' },
-- SPECIAL = { 'KeyK', 'KeyX' },
-- JUMP = { 'Space' },
-- },
-- Forward a controller to the arcade: the client reads the pad natively and hands it to the
-- UI, since FiveM's browser may not expose gamepads to the page itself. false = keyboard only.
Gamepad = true,
TapJump = true, -- pressing UP also jumps (the Smash default); players can still use JUMP
Crt = true, -- CRT scanlines + screen curvature overlay
Quality = 2, -- render quality: 0 low, 1 medium, 2 high (lower it for weak PCs)
-- Volume levels, 0.0 - 1.0.
Volume = {
Master = 0.8,
Music = 0.55,
Sfx = 0.9,
},
}