Custom Game Mode Creation - kirillbrest123/deathmatch-unlimited GitHub Wiki
Basics
Game modes are loaded from /gamemodes/deathmatch_unlimited/gamemode/modes/
.
When loading, game modes automatically add all their hooks. Hooks are defined in MODE.Hooks
table, where key is an event name and value is a function.
Currently loaded game mode is stored in DMU.Mode
table. Accessing any game mode variable outside or inside game mode hooks needs to be done through this table.
Every game mode variable used by DMU as well as some code snippets can be found here.