Skip to content

Global Config

cjcarw edited this page Jul 15, 2026 · 2 revisions

🌐 Global Config — BTR82_Global.json

Controls how many patrols run and which presets they roll.

{
    "MinEvents": 0,
    "MaxEvents": 1,
    "SpawnCheckInterval": 60.0,
    "MinPlayersToSpawn": 1,
    "RespawnDelay": 900.0,
    "Presets": [
        {
            "Preset": "patrol_normal",
            "Chance": 50.0
        },
        {
            "Preset": "patrol_easy",
            "Chance": 30.0
        },
        {
            "Preset": "boss_airfield",
            "Chance": 20.0
        }
    ]
}
Field Default Description
MinEvents 0 Minimum BTRs active at once. 0 = after one is destroyed it does not respawn instantly; it respects RespawnDelay.
MaxEvents 1 Maximum BTRs active at once. Raise it to run several patrols simultaneously.
SpawnCheckInterval 60.0 How often (seconds) the server checks whether it should spawn a patrol.
MinPlayersToSpawn 1 Minimum online players required for the event to activate.
RespawnDelay 900.0 Respawn cooldown (seconds). The timer starts when the destroyed BTR's wreck despawns, not when it's destroyed.
Presets[] — The pool of presets. Each Preset is the filename (without .json) under presets/. Chance is a relative weight in %.

Presets entry:

Field Description
Preset Filename in presets/ without extension (e.g. patrol_normal).
Chance Relative weight. They don't have to sum to 100 — they're normalized. 50/30/20 and 5/3/2 behave identically.

Note

The respawn timer starts when the wreck despawns. To tune the gap, adjust RespawnDelay here and WreckLifetime in the preset's Event (see Configuration Reference).


Tip

Want several patrols at once, or faster/slower respawns? See Recipes.

Clone this wiki locally