Updated 11 October 2026

When a player walks into a bunker or tunnel in DayZ, the screen darkens as their eyes adjust. That comes from cfgundergroundtriggers.json in the mission folder: a list of invisible boxes, each with a light level for anyone standing inside it.

The bunker on Livonia uses them. If you place a custom bunker or underground base with an object spawner file, it needs triggers of its own, or it stays as bright as the surface.

What each value does

  • Position: the centre of the box, as X, Y, Z map coordinates.
  • Orientation: yaw, pitch and roll, to turn the box to match the tunnel.
  • Size: the box's size along X, Y and Z, in metres.
  • EyeAccommodation: the light level inside, from 1 (normal) to 0 (fully dark).
  • InterpolationSpeed: how fast the light changes when a player enters.
  • Breadcrumbs: points along a passage, each with its own light level, so the light fades step by step from an entrance into the dark. Each has a UseRaycast switch, which checks whether the player can see the breadcrumb, and a Radius, where -1 means the default.

Add a trigger for a custom bunker

  1. Note the map position, size and direction of the underground space. If you built it with the DayZ Editor, the object positions in your object spawner file are a good starting point.
  2. Add one trigger box that covers the dark inner area, with an EyeAccommodation of 0 or close to it.
  3. At the entrance, add a trigger with breadcrumbs that step the light down from 1 towards 0 along the way in.
  4. Save the file, restart the server and walk through it. Adjust the boxes until the light changes where it should.

Editing with Law's KillFeed

On Xbox and PlayStation servers, the dashboard's Server Files page opens cfgundergroundtriggers.json in an easy editor on the paid plan: one card per trigger with position, rotation and size boxes, a light-level slider and a breadcrumb table. It checks that every position has three numbers and that light levels stay between 0 and 1.

// Survivor intel

Questions

Do I have to list cfgundergroundtriggers.json in cfggameplay.json?

No. DayZ reads it from the mission folder. Unlike loadout and object files, it is not listed anywhere.

My custom bunker is still bright inside. Why?

It has no trigger, or the trigger box does not cover where players stand. Check the position and size, then restart: the file is only read when the server starts.

What does a light level of 0.5 look like?

About half as bright as normal. Values between 0 and 1 fade the screen, so breadcrumbs from 1 down to 0 give a smooth walk into the dark.

// Loadout

Features in this guide

Nitrado Control

Restart and stop from Discord, scheduled tasks, raid mode, auto-start and log downloads.

Xbox & PlayStation

Everything the bot does, on Xbox and PlayStation servers, with no mods to install.

// More intel

More guides

Spawn loadouts on console

Write a loadout file, list it in cfggameplay.json and every fresh spawn gets your starting gear.

cfgeventgroups.xml

How event groups place several objects at once, and how to add or change one safely.