The main configuration file is 0r-deathmatch/config.lua.
Main Settings You Will Usually Change#
| Field | What it controls |
|---|---|
Config.Commands.OpenMenu | Menu command |
Config.Commands.EndMatch | Force end match command for lobby leader |
Config.Game.weapons | Allowed weapon list used in matches |
Config.Game.reviveCountdown | Respawn delay |
Config.Game.gameTimes | Allowed match durations |
Config.Game.startCountDown | Countdown before match starts |
Config.Game.maps | Arena list, map image, and spawn positions |
Config.DeathMatchMenuZone | Physical menu zone and blip |
Config.debug | Debug mode |
Commands#
Default commands:
/deathmatch
/endmatch
Weapon List#
Unlike GunGame, this resource uses one flat weapon list:
Config.Game.weapons = {
'weapon_assaultrifle',
'weapon_pistol',
'weapon_sniperrifle',
'weapon_pumpshotgun',
'weapon_revolver',
'weapon_machete',
}
If you add or remove weapons, keep the names valid GTA weapon names.
Match Flow#
The most commonly changed gameplay values are:
Config.Game.reviveCountdownConfig.Game.gameTimesConfig.Game.startCountDown
Maps and Spawn Points#
Each entry in Config.Game.maps contains:
- Preview image name
- Display name
- Red team spawn points
- Blue team spawn points
If you create your own map, add both team spawn lists and place the matching image in:
ui/build/images/maps
Menu Zone#
Config.DeathMatchMenuZone lets you force players to go to one location before opening the arena UI.
You can change:
activecoords- blip sprite
- blip color
- blip scale
- blip name
Localization#
This resource uses locale files in the locales/ folder. The active language is controlled through ox_lib.
Example:
set ox:locale "en"