DayZ FriendConsole focused management
en
Server Files

How to Set DayZ Event Spawn Positions

Published 10/29/2026Updated 10/29/2026

Learn how cfgeventspawns.xml places vehicles, animals, infected and special events using world coordinates, rotation and spawn groups.

Looking for DayZ console bot setup guides?

See our feature pages for DayZ auto ban, and DayZ economy bot.

cfgeventspawns.xml

cfgeventspawns.xml maps an event name to allowed world positions. The name must match an event in events.xml. It does not create the event or decide how many objects exist; it supplies the places where a fixed-position event can be considered.

A real position block

The supplied mission uses this form for brick piles:

<eventposdef>
    <event  name="ItemBricks">
        <pos  x="2808.630127"  z="10179.836914" />
        <pos  x="3471.955322"  z="11033.416992" />
    </event>
</eventposdef>

x and z are map coordinates in metres. Some supplied files also use y for height and a for direction/rotation:

<event  name="VehicleCivilianSedan">
    <pos  x="12071.933594"  y="201.66"  z="9129.989258"  a="90" />
</event>

The example uses values present in the supplied event-position data. Do not add commas between separate attributes.

Groups and zones

A position can use a group value when it belongs to a named event composition, such as an abandoned train or accident group. The supplied file also contains zone entries with r, smin, smax, dmin and dmax for event-position areas rather than one exact point. Those values belong together on the same <zone /> line; they are not separate event blocks.

What changing a position does

Adding another <pos> gives the linked fixed event another allowed location. Moving a <pos> changes the event location. Removing all positions for an event leaves that event without fixed positions; it does not automatically convert it into a player-relative event.

Check the event's position and active values in events.xml before editing coordinates. Keep coordinates inside the map and preserve the <eventposdef> root.

Editable on console: when the host exposes the mission file and the linked event loader is supported.

Source basis: supplied cfgeventspawns.xml files and their event links.

How to add a fixed location

1. Find the event's exact name in events.xml. 2. Confirm that event uses fixed positions. 3. Add another <pos> inside the matching event block. 4. Use the map's DayZ X/Z coordinates, and include y or a only when the supplied file uses them for that event. 5. Validate the XML and keep a copy of the previous position list.

This file is a position list, not a population file. If a new position is valid but nothing appears there, investigate the linked event's active, nominal, min, max and limit values before adding more coordinates. For event compositions, preserve the exact group identifier because it links the location to the composition definition.

Console Bot Quick Links

Explore DayZ console-focused pages for PlayStation, Xbox and Switch 2 server owners:

Attachments

(0)
No attachments for this page yet.