A.S // Dynamic events
DayZ Console events.xml and Event Positions
events.xml defines an event, while cfgeventspawns.xml supplies supported fixed positions. Names must match exactly and the event must already exist in vanilla data for the active map.
Start with the event name
Find it in the active mission's events.xml and confirm the same name in cfgeventspawns.xml where positions are required.
Balance parent and children
Event limits and child limits interact. Do not change every number in one test.
Positions belong to one map
X/Z coordinates from Chernarus cannot be assumed valid on Livonia or Sakhal.
Preserve supported modes
position, limit and flags are mechanism-specific. Keep the official pattern when only changing quantity or lifetime.
Wait for the lifecycle
A valid event may need its current instance to expire before a replacement demonstrates the new settings.
Tune an existing vanilla dynamic event
An existing event keeps its official name and child class while its supported limits remain internally consistent.
- File or panel
- Xbox: dayzxb_missions/dayzOffline.<map>/ · PlayStation: dayzps_missions/dayzOffline.<map>/db/events.xml and cfgeventspawns.xml
- Outcome
- An existing event keeps its official name and child class while its supported limits remain internally consistent.
Step-by-step
- Confirm the event exists in the active map's events.xml.
- Find the same event name in cfgeventspawns.xml before changing fixed positions.
- Edit only supported numbers and keep child types verified.
- Validate both XML files and compare event names exactly, including case.
Current Chernarus dynamic contaminated event
db/events.xmlConfirmation: Verified existing vanilla event. Edit this record; never create a fictional event name.
Exact placement: Inside the existing <events> root; keep the matching StaticContaminatedArea entry in cfgeventspawns.xml.
<event name="StaticContaminatedArea">
<nominal>0</nominal>
<min>2</min>
<max>4</max>
<lifetime>2100</lifetime>
<restock>0</restock>
<saferadius>0</saferadius>
<distanceradius>120</distanceradius>
<cleanupradius>0</cleanupradius>
<flags deletable="1" init_random="1" remove_damaged="0"/>
<position>fixed</position>
<limit>parent</limit>
<active>1</active>
<children>
<child lootmax="0" lootmin="0" max="4" min="2" type="ContaminatedArea_Dynamic"/>
</children>
</event>What every variable controls
| Variable | Type | What it changes | How to set it |
|---|---|---|---|
event name | string | Identifier linking the event to spawn data. | Keep the existing exact vanilla name in both files. |
nominal | integer | Target number of event parents; event limit mode affects interpretation. | Preserve the official value until you understand the event's limit mode. |
min / max | integer | Lower and upper event limits. | Keep min ≤ max and align child limits with the event design. |
lifetime | seconds | How long a spawned event remains active. | Change gradually and account for cleanup/testing time. |
restock | seconds | Delay before replacement attempts. | Keep the official value for the first test. |
saferadius | metres | Player safety distance used when spawning. | Do not reduce blindly; zero is event-specific in this official record. |
distanceradius | metres | Distance restriction between event instances/positions. | Preserve map-specific baseline unless tested. |
cleanupradius | metres | Cleanup area around the event. | Use the official event value; changing it can affect nearby entities. |
flags | 0 / 1 attributes | Controls deletion, initial randomisation and damaged-child removal. | Preserve the official flags for the mechanism. |
position / limit / active | enum / 0–1 | Placement mode, counting mode and enabled state. | Use only values already present in the active official mission; active=1 enables the event. |
child | attributes | Vanilla entity spawned by the event and its child limits. | Do not replace type with a mod or invented class; keep child min/max consistent. |
After a full restart
Restart and allow enough time for the event lifecycle. Verify positions, simultaneous count and cleanup without forcing unrelated changes.
Return to the working state
Restore both events.xml and cfgeventspawns.xml when both were edited, then restart.
Tools for this guide
Open the matching wizard and the site will select the tool for this configuration.
Events editor
Edit existing event parameters and their map positions.
Coordinate map
Check positions before exporting map-based changes.
Project validator
Check syntax, structure and references between files.
If you are not signed in, the site returns you to the selected tool after sign-in.
Questions and answers
Can I invent a new event name?
No. Use an existing vanilla event confirmed in the active mission.
Where are event coordinates stored?
For fixed-position dynamic events they are stored in cfgeventspawns.xml.
Can this be used for a scripted airdrop?
No. Scripted airdrops are outside vanilla DayZ Console configuration.
Official sources
Checked 6 October 2026