Config
Located in shared/config.lua
This Resource has more arcade maps included, but are omitted from the documentation for readability
Config = {} -- DO NOT TOUCH!!!
Config.debugTargets = true -- Enables debug on polyzones
Config.target = 'qb' -- set to either 'ox' or 'qb' depending on the target menu you use.
Config.radial = 'ox' -- set to either 'ox' or 'qb' depending on the radial menu you use.
Config.usingOxInventory = false -- set to either true or false, depending if you are using ox_inventory or not
Config.useRadios = false -- set to either true or false, depending if you want to allow the use of radios in the arcade. (must be using qb-rado & pma-voice)
Config.targets = { -- Add new targets here for players to access the arcade lobby information.
{
coords = vector3(-1669.27, -1054.32, 13.15),
size = vector3(1, 1, 2),
rotation = 320,
label = 'Open Arcade',
icon = 'fa fa-gamepad',
minZ = 12.15, -- You only need to add this if you are using qb-target
maxZ = 13.95 -- You only need to add this if you are using qb-target
}
}
-- these are where the arcade maps are added
-- use the ones below as an example
-- add as many maps as you'd like
Config.maps = {
['junkyard'] = {
['label'] = 'Junkyard', -- Name of the maps shown in the UI
['bounds'] = { -- a list of vector3's definding a maps border
vector3(2328.7133789062, 3080.4323730469, 45.0),
vector3(2327.7077636719, 3024.7236328125, 45.0),
vector3(2436.431640625, 3025.4953613281, 45.0),
vector3(2435.7504882812, 3161.0070800781, 45.0),
vector3(2402.4140625, 3161.1042480469, 45.0),
vector3(2378.9729003906, 3105.5087890625, 45.0),
vector3(2364.2058105469, 3086.6115722656, 45.0),
vector3(2348.2197265625, 3080.3876953125, 45.0)
},
['spawnPoints'] = { -- team spawn points used for the intial spawning of players in team deathmatch
[1] = {
vector4(2352.32, 3041.38, 48.15, 337.41)
},
[2] = {
vector4(2425.26, 3131.95, 48.18, 103.77)
}
},
['respawnPoints'] = { -- respawn points for when the players dies and respawns while in an arena. The more the better
vector4(2405.22, 3138.8, 48.18, 342.37),
vector4(2408.64, 3141.73, 48.22, 194.28),
vector4(2415.86, 3148.19, 48.19, 235.45),
vector4(2425.99, 3153.26, 48.26, 179.29),
vector4(2429.51, 3121.98, 48.23, 83.02),
vector4(2431.5, 3129.98, 48.12, 194.22),
vector4(2430.43, 3113.83, 48.16, 106.87),
vector4(2422.49, 3095.13, 48.2, 62.27),
vector4(2404.43, 3079.02, 48.15, 151.15),
vector4(2409.31, 3033.07, 48.15, 273.46),
vector4(2401.98, 3030.58, 48.15, 30.07),
vector4(2395.79, 3027.14, 48.15, 298.43),
vector4(2396.17, 3058.94, 48.15, 165.81),
vector4(2380.49, 3029.01, 48.22, 46.62),
vector4(2368.49, 3060.27, 48.3, 5.27),
vector4(2368.34, 3053.54, 48.3, 178.7),
vector4(2356.0, 3035.07, 48.15, 72.84),
vector4(2349.08, 3032.87, 48.17, 20.19),
vector4(2332.03, 3036.71, 48.15, 273.87),
vector4(2339.06, 3056.01, 48.15, 242.11)
},
},
}
-- these are loadout sets players can choose upon creating a lobby
-- use the ones below as an example
-- bear in mind, the more weapons you add to a loadout will clutter the loadout select option in the radial menu.
-- add as many loadout categories as you'd like
Config.loadouts = {
['pistols'] = { -- loadout category
[1] = {
['label'] = 'Desert Eagle', -- Name of the weapon shown in the UI
['description'] = 'Pistol.50', -- Description of the weapon shown in the UI
['weapon'] = 'WEAPON_PISTOL50' -- Name of the weapon
},
[2] = {
['label'] = 'Revolver',
['description'] = 'I wanna be a cowboy baby',
['weapon'] = 'WEAPON_DOUBLEACTION'
},
[3] = {
['label'] = 'Pistol Mk II',
['description'] = 'Pistol Mk II',
['weapon'] = 'WEAPON_PISTOL_MK2'
},
[4] = {
['label'] = 'Heavy Pistol',
['description'] = 'This gun kinda heavy.',
['weapon'] = 'WEAPON_HEAVYPISTOL'
},
},
['rifles'] = { -- loadout category
[1] = {
['label'] = 'Assualt Rifle', -- Name of the weapon shown in the UI
['description'] = 'Assault Rifle', -- Description of the weapon shown in the UI
['weapon'] = 'WEAPON_ASSAULTRIFLE' -- Name of the weapon
},
[2] = {
['label'] = 'Carbine Rifle',
['description'] = 'Carbine Rifle',
['weapon'] = 'WEAPON_CARBINERIFLE'
},
}
}
-- These are the weapons used the in the game game gamdemode
-- make sure to include exactly 20 guns in the table below
Config.gungameLoadout = {
'WEAPON_DOUBLEACTION', -- Name of the weapon
'WEAPON_PISTOL50',
'WEAPON_COMBATPISTOL',
'WEAPON_PISTOL',
'WEAPON_PISTOL_MK2',
'WEAPON_APPISTOL',
'WEAPON_MACHINEPISTOL',
'WEAPON_MICROSMG',
'WEAPON_COMBATPDW',
'WEAPON_SMG',
'WEAPON_PUMPSHOTGUN',
'WEAPON_MUSKET',
'WEAPON_DBSHOTGUN',
'WEAPON_ASSAULTSHOTGUN',
'WEAPON_PRECISIONRIFLE',
'WEAPON_MILITARYRIFLE',
'WEAPON_ASSAULTRIFLE_MK2',
'WEAPON_TACTICALRIFLE',
'WEAPON_BULLPUPRIFLE',
'WEAPON_SWITCHBLADE'
}