Configure dynamic events like helicopter crashes, contaminated zones, and other special occurrences in your DayZ server.
The events.xml file controls dynamic events in your DayZ server, including:
Configure helicopter crash events with smoke effects and high-tier loot spawns.
<event name="StaticHeliCrash">
<nominal>3</nominal>
<min>1</min>
<max>5</max>
<lifetime>1800</lifetime>
<restock>0</restock>
<saferadius>1000</saferadius>
<distanceradius>500</distanceradius>
<cleanupradius>200</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>fixed</position>
<limit>child</limit>
<active>1</active>
</event>
Set up toxic zones that require protective gear and contain valuable loot.
<event name="ContaminatedArea">
<nominal>2</nominal>
<min>1</min>
<max>3</max>
<lifetime>3600</lifetime>
<restock>0</restock>
<saferadius>100</saferadius>
<distanceradius>50</distanceradius>
<cleanupradius>100</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>fixed</position>
<contamination>1</contamination>
<active>1</active>
</event>
Configure wildlife spawns for hunting and survival.
<event name="AnimalWildDog">
<nominal>8</nominal>
<min>5</min>
<max>12</max>
<lifetime>3600</lifetime>
<restock>1800</restock>
<saferadius>200</saferadius>
<distanceradius>100</distanceradius>
<cleanupradius>200</cleanupradius>
<flags deletable="1" init_random="1" remove_damaged="1"/>
<position>random</position>
<limit>child</limit>
<active>1</active>
</event>
Configure airdrop events with customizable loot and timing.
<event name="SupplyDrop">
<nominal>1</nominal>
<min>0</min>
<max>2</max>
<lifetime>2700</lifetime>
<restock>3600</restock>
<saferadius>1500</saferadius>
<distanceradius>1000</distanceradius>
<cleanupradius>100</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>random</position>
<limit>mixed</limit>
<active>1</active>
</event>
The flags attribute contains several boolean parameters that control event behavior:
Flag | Values | Description |
---|---|---|
deletable | 0 or 1 | Whether the event can be deleted by the server |
init_random | 0 or 1 | Whether the event spawns randomly at server start |
remove_damaged | 0 or 1 | Whether damaged event objects should be removed |
dynamic_spawn | 0 or 1 | Whether the event can spawn dynamically during gameplay |
Here's a complete example of an events.xml file with multiple event types configured:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<events>
<event name="StaticHeliCrash">
<nominal>3</nominal>
<min>1</min>
<max>5</max>
<lifetime>1800</lifetime>
<restock>0</restock>
<saferadius>1000</saferadius>
<distanceradius>500</distanceradius>
<cleanupradius>200</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>fixed</position>
<limit>child</limit>
<active>1</active>
</event>
<event name="ContaminatedArea">
<nominal>2</nominal>
<min>1</min>
<max>3</max>
<lifetime>3600</lifetime>
<restock>0</restock>
<saferadius>100</saferadius>
<distanceradius>50</distanceradius>
<cleanupradius>100</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>fixed</position>
<contamination>1</contamination>
<active>1</active>
</event>
<event name="AnimalWildDog">
<nominal>8</nominal>
<min>5</min>
<max>12</max>
<lifetime>3600</lifetime>
<restock>1800</restock>
<saferadius>200</saferadius>
<distanceradius>100</distanceradius>
<cleanupradius>200</cleanupradius>
<flags deletable="1" init_random="1" remove_damaged="1"/>
<position>random</position>
<limit>child</limit>
<active>1</active>
</event>
<event name="SupplyDrop">
<nominal>1</nominal>
<min>0</min>
<max>2</max>
<lifetime>2700</lifetime>
<restock>3600</restock>
<saferadius>1500</saferadius>
<distanceradius>1000</distanceradius>
<cleanupradius>100</cleanupradius>
<flags deletable="0" init_random="0" remove_damaged="1"/>
<position>random</position>
<limit>mixed</limit>
<active>1</active>
</event>
</events>
Use event flags to control cleanup behavior and prevent event overlap. Monitor your server logs to ensure events are spawning correctly. For dynamic events, consider using a higher restock time to prevent server performance issues.