Systems Overview
Architecture, config overview, free-roam systems, and open edit hooks
Architecture
Key files:
shared/config.luaholds game modes, maps, free-roam settings, zones, HUD, rewards, leaderboards, language keys, and arcade settings.shared/lang.luaand shared tables hold strings and helper data.server/server_edit.luaholds webhook URLs, game lifecycle hooks, weather integration, and server-side zombify protection.client/client_edit.luaholds HUD integration, fuel helpers, text UI, notifications, announcements, and client exports.server/server_admin.luaandclient/admin.luawire admin commands and the admin menu.server/server_leaderboards.luaanddata/leaderboards.jsonhandle stored leaderboard data.client/client_scoreboard.luahandles the in-game scoreboard keybind flow.web/contains the lobby and UI build.
Other escrow files handle the actual gameplay, spawning, modes, and NUI actions.
Config overview
Important areas:
Config.DebugConfig.TargetConfig.AdminRoleConfig.AdminMenuCommandConfig.PlayersCanDenyAdminGameConfig.AdminGameInviteTimeoutConfig.GameModesConfig.FreeRoamZombiesConfig.OnFootZombiesOnlyConfig.SpawnExtraZombiesConfig.SafeZonesConfig.DangerZonesConfig.SprintersConfig.FreeRoamSpecialZombiesConfig.ArcadeLocationsConfig.ZombieGamesCommandConfig.HUDConfig.ArcadeRewardsConfig.Leaderboards
Free-roam systems
Free-roam zombies are separate from the arcade game modes.
Main free-roam systems include:
world zombie conversion
safe zones
danger zones
extra spawn helpers when density is low
sprinters and special zombie behavior
Danger zones can still spawn extra zombies even if free-roam zombies are otherwise disabled, depending on the zone settings.
Open files and hooks
Server hooks
Common open server hooks include:
DiscordWebhooksWeatherAndTime()OnGameStartedOnGameEndedGameStartedForPlayerGameEndedForPlayerDoNotZombifyAllowZombify
Client hooks
Common open client hooks include:
HideHUDShowHUDSetFuelShowTextUIHideTextUINotificationAnnounceClearAnnouncements
These are the main integration points for HUD, fuel, notifications, weather, and mission-ped protection.
Last updated