A.S // Central Economy

DayZ Console globals.xml Variables

globals.xml affects the entire Central Economy. One small value can influence many systems, so preserve every unknown variable and test only one deliberate change per restart.

Compatibility
PS5 / Xbox / Nitrado
Status
Confirmed schema; changes require testing
Difficulty
Advanced
Reviewed
06.10.2026
01

Start from the active map

Use db/globals.xml from the running mission. Do not replace it with a shorter example or a file from another version.

02

Understand value types

Each var uses a predefined name, a type code and a value. Type 0 is integer, 1 is float and 2 is string.

03

Separate caps from spawn locations

ZombieMaxCount and AnimalMaxCount are global ceilings. They do not create territory zones or new NavMesh.

04

Treat cleanup as a system

Cleanup lifetimes, avoidance distance and cleanup limits work together. Do not optimise them by guessing.

05

Measure one change

Validate XML, restart and compare the same player load, locations and time window before deciding whether the edit helped.

A.S // Beginner practice

Tune global CE limits without replacing the complete file

A controlled change to one global value with every other official variable preserved.

File or panel
Xbox: dayzxb_missions/dayzOffline.<map>/ · PlayStation: dayzps_missions/dayzOffline.<map>/db/globals.xml
Outcome
A controlled change to one global value with every other official variable preserved.

Step-by-step

  1. Back up globals.xml.
  2. Find the exact var line and edit only its value attribute.
  3. Keep name and type unchanged; do not delete unrecognised variables.
  4. Validate XML, restart and monitor server behaviour.
XML

Selected current Chernarus globals

db/globals.xml

Confirmation: Official current values. This is an edit fragment; keep every other line in the active file.

Exact placement: Edit matching <var> lines inside the existing <variables> root.

<var name="AnimalMaxCount" type="0" value="200"/>
<var name="CleanupAvoidance" type="0" value="100"/>
<var name="InitialSpawn" type="0" value="100"/>
<var name="ZombieMaxCount" type="0" value="1000"/>
<var name="ZoneSpawnDist" type="0" value="300"/>

What every variable controls

VariableTypeWhat it changesHow to set it
namestringSelects a predefined CE global variable.Never invent or rename it.
type0 integer / 1 float / 2 stringDeclares the stored value type.Keep the official type for that name.
AnimalMaxCountintegerGlobal cap for spawned non-ambient animals.Treat increases as performance-sensitive and test in small steps.
CleanupAvoidancemetresPlayer distance required before cleanup deletes an item.Keep the official value unless solving a verified cleanup problem.
InitialSpawnpercentLoot amount targeted during initial start without storage.100 is the official baseline; do not use it as a routine loot multiplier.
ZombieMaxCountintegerGlobal cap for infected.Increasing it does not create valid spawn zones or NavMesh; test server and client load.
ZoneSpawnDistmetresDistance used by zone spawning logic.Keep the official baseline unless you understand the effect across all zones.
Test

After a full restart

Use a full restart and compare logs, entity counts and gameplay at the same locations and player count.

Rollback

Return to the working state

Restore the original globals.xml. Never compensate for a failed global edit by changing several other systems at once.

FAQ

Questions and answers

Does ZombieMaxCount create more infected everywhere?

No. It only changes a global ceiling; valid territories, events, player proximity and NavMesh still control spawning.

Can unknown var lines be deleted?

No. Preserve every official variable unless the current schema explicitly removes it.

Is a higher global cap always better?

No. It can increase server and client load and still produce no result where no valid spawn territory exists.

SOURCE CHECK

Official sources

Checked 6 October 2026

  1. Bohemia Interactive: Central Economy Configuration ↗
  2. Bohemia Interactive: official Central Economy missions ↗