Full Config — Cabinets
The complete configs/shared/cabinets.lua for Smash Down: Los Santos — arcade groups, seats, and blips.
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
-- Where the SMASHDOWN cabinets stand. Shared: the client spawns the props and the server checks
-- players are really standing at one before it seats them, takes their money, or relays a match.
--
-- A GROUP is a bank of cabinets side by side. Every cabinet in a group shares ONE lobby, so a
-- group of four is a four-player machine: each person plays on their own cabinet, and they all
-- fight in the same match. A group of one is a solo machine (you + up to three CPUs).
-- One player per cabinet - the cabinet count is the human cap for that group's lobby.
--
-- Stand where a cabinet should go, face the way its screen should face, and run /brawl_here
-- (admin): it prints a ready-to-paste seat vec4 to your chat and the server console.
return {
-- Metres a player may be from their cabinet and still count as "at it". The client closes the
-- arcade past this (the watchdog in configs/client/props.lua), and the server refuses to seat,
-- start or keep anyone further away than this (+ a small latency allowance in limits.lua).
SeatRange = 3.0,
Groups = {
{
-- Unique, stable id. Used as the lobby id, in audit logs and by /brawl_void. Don't
-- rename it while a match is running on it.
id = 'delperro_pier',
label = 'Del Perro Pier Arcade', -- shown on the arcade's attract screen + the blip
-- 1-4 cabinets: vec4(x, y, z, heading) of each cabinet prop. z can be rough - the
-- prop is dropped onto the ground when it spawns. These are a STARTING POINT on the
-- pier deck near the rides; walk there, check them, and redo with /brawl_here.
seats = {
vec4(-1628.00, -1075.00, 13.02, 37.0),
vec4(-1628.76, -1075.57, 13.02, 37.0),
},
-- Map blip. true = the default style in configs/client/props.lua, false/nil = none,
-- or a table to override any of { sprite, color, scale, label, shortRange }.
blip = true,
},
-- A four-player bank. Copy, give it a unique id, and fill the seats from /brawl_here.
-- {
-- id = 'vinewood_bar',
-- label = 'Vinewood Bar Arcade',
-- seats = {
-- vec4(0.0, 0.0, 0.0, 0.0), -- cabinet 1 (your /brawl_here output)
-- vec4(0.0, 0.0, 0.0, 0.0), -- cabinet 2
-- vec4(0.0, 0.0, 0.0, 0.0), -- cabinet 3
-- vec4(0.0, 0.0, 0.0, 0.0), -- cabinet 4
-- },
-- blip = { sprite = 740, color = 27, label = 'SMASHDOWN' },
-- },
},
}