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.
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.
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.
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.
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.
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
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.
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.