Step-by-step guide · 8 steps

How to add static gas zones in DayZ

Static gas zones turn part of the map into a toxic no-go area that only players with a gas mask and protective suit can enter. They're a great way to guard high-tier loot, and they work on console servers with no mods.

  • 3 min read
  • Updated
  • PlayStation, Xbox and PC
cfgEffectArea.jsonExample
{    "AreaName": "NWAF hangars",    "Type": "ContaminatedArea_Static",    "TriggerType": "ContaminatedTrigger",    "Data": {        "Pos": [ 4600, 0, 10200 ],        "Radius": 150,        "PosHeight": 25,        "NegHeight": 10,        "InnerPartDist": 80,        "OuterOffset": 30    }}
Step 1

Find cfgEffectArea.json

Static gas zones live in cfgEffectArea.json, in your mission folder (for example dayzOffline.chernarusplus). On Nitrado, open the file browser and look in dayzps_missions on PlayStation, dayzxb_missions on Xbox or mpmissions on PC. Stop the server and keep a copy before you change it.

Step 2

Add a zone

Each zone in "Areas" needs a name, the type ContaminatedArea_Static, a position and a radius in metres. Pos is [east, height, north]: use the two numbers iZurvive shows for the spot, with 0 in the middle so the gas sits on the ground.

Step 3

Set the height and thickness

PosHeight and NegHeight decide how far the gas reaches above and below the centre, so raise them for tall buildings or hills. InnerPartDist is the gap between gas clouds: DayZ uses 80, and lower looks thicker but costs frame rate on consoles.

Step 4

Keep safe spots clear

SafePositions in the same file are where DayZ moves a player who logs in inside gas. Make sure none of them sit inside your new zones.

Step 5

Check and restart

One missing comma stops every zone loading, so check the file with the JSON validator, then save it and restart the server.

Step 6

Good places for a gas zone

A gas zone works best where there's something worth the risk. Places owners often choose:

  • A military base with high-tier loot, so the best gear needs a full protective kit
  • An airfield hangar row or a single large building, for a smaller and quicker run
  • A spot on the edge of the map, to give players a reason to travel
  • Somewhere away from spawn points, so new players don't walk into gas by accident
Step 7

What players need to get in

To survive inside, players need a gas mask with a filter and a full set of protective clothing: jacket, trousers, boots, gloves and hood. Anything missing lets the gas through, and players start coughing and losing health. Filters wear out, so longer runs need spares.

If your zone guards good loot, make sure the protective gear exists on your map. Check its nominal in types.xml, or players will never find enough to try.

Step 8

Static and dynamic zones together

Static zones from this file and dynamic zones from events.xml can run side by side. If you'd rather only have the fixed zones you've placed, switch the dynamic ones off in events.xml by setting the ContaminatedArea_Dynamic event's active value to 0.

Tools for this

Common questions

Do static gas zones work on PS5 and Xbox?

Yes. cfgEffectArea.json is part of every DayZ mission, so they work on console servers with no mods.

What's the difference between static and dynamic gas zones?

Static zones are always in the same place and are set in cfgEffectArea.json. Dynamic zones appear and move around the map, and are the ContaminatedArea_Dynamic event in events.xml.

Why isn't my gas zone showing?

Restart the server after saving, check the JSON is valid, and check the position uses east and north from iZurvive with 0 for height.

What gear protects against gas in DayZ?

A gas mask with a working filter plus the full protective set: jacket, trousers, boots, gloves and hood. Missing any piece lets the gas affect you.

Can I have gas zones that only appear sometimes?

Static zones are always there. For zones that come and go, use the dynamic gas event in events.xml instead.

Run your DayZ server from one place

Free editors for every config file, plus a live dashboard and Discord feeds when you're ready.