Open the cfgweather.xml from your mission folder, or start from Bohemia's vanilla file for your map, and set clouds, fog, rain, wind, snow and lightning with sliders. One click turns off fog or rain. It checks every value and downloads a clean file for PC, Xbox and PlayStation servers.
The shaded part is the range it moves in (Lowest to Highest), the line where it starts. Click a bar to move the start there; click a name to go to its settings.
What cfgweather.xml controls
cfgweather.xml sits in the root of the mission folder and sets the server's weather: clouds (overcast), fog, rain, wind speed and direction, snowfall and lightning (storm). It only takes effect when the root tag has enable="1". With reset="1" the weather starts from the file's values at every restart instead of carrying on from where it was.
Each part has the same building blocks. current is the value at server start, the seconds to get there and the seconds it stays. limits keeps the weather between a lowest and highest value. timelimits sets how long each change takes, and changelimits how big one change can be. Rain and snow also have thresholds: the cloud range they need, and the seconds they take to stop once the clouds leave it.
The full walkthrough, with common setups, is in the guide DayZ cfgweather.xml explained.
Edit cfgweather.xml on a Nitrado server
- Open the file browser in the Nitrado web interface and go to your mission folder:
dayzxb_missions/dayzOffline.chernaruspluson Xbox,dayzps_missions/…on PlayStation. Livonia usesdayzOffline.enoch, SakhaldayzOffline.sakhaland NasdaradayzOffline.nasdara. - Download
cfgweather.xmland keep an untouched copy. - Open it here, change what you need and check that "Use this file" is ticked.
- Download the edited file, upload it over the old one and restart the server.
On Xbox and PlayStation servers running Law's KillFeed, the dashboard's Server Files page opens, checks and uploads cfgweather.xml for you and keeps the last 15 versions of every file; its easy editor is on the paid plan.
Questions
I changed cfgweather.xml but the weather is the same. Why?
Check that the root tag says enable="1": with enable off the server ignores the file and uses its own weather. Then restart the server, because DayZ reads the file at start. With reset off the server can carry on from the weather it saved, so turn reset on if you want it to start from your values.
How do I get rid of fog?
Set fog's current value and both of its limits to 0, or use the No fog button above. Turn reset on so it starts clear after every restart.
How do I stop rain?
Set rain's limits to 0, or use the No rain button. Rain only falls while the clouds are inside its thresholds, so raising the threshold minimum above the highest cloud value also keeps it dry.
What does windDirection use?
Radians, from -3.14 to 3.14. 0 and 3.14 are opposite directions.
Is my cfgweather.xml uploaded anywhere?
No. The editor runs in your browser. Your file is read, edited and saved on your own device and never sent to our server. The vanilla buttons load Bohemia's file straight from their public GitHub repository. The one exception is Apply to server: when you click it, the finished file goes through us to your own Nitrado server.
Does this work for Xbox and PlayStation servers?
Yes. Console servers on Nitrado use the same cfgweather.xml format as PC. Download it from the mission folder in Nitrado's file browser, edit it here and upload it back.
More free tools
types.xml Editor
Search, edit and bulk-change the loot in your types.xml, with common mistakes flagged before you upload it.
types.xml Compare
Put two types.xml files side by side and see which items were added, removed or changed.
Loot Flags Editor
Usages, tiers, categories and tags from cfglimitsdefinition.xml with how many items use each, and the misspelt flags in types.xml.
Loot Multiplier
Double the guns, halve the food or boost military loot: scale types.xml by group in one click.
cfgspawnabletypes Generator
Pick the attachments, magazines and cargo an item spawns with, set chances or presets and merge them into your file.
cfgrandompresets.xml Editor
Edit the loot presets cfgspawnabletypes draws from, add items from the item library and see where each one is used.
Vehicle Builder
Choose the wheels, doors and engine parts cars spawn with, or make every car ready to drive.
events.xml Editor
Change vehicles, helicopter crashes, animals and infected event by event, or scale a whole group at once.
Event Spawn Positions
See where cars, helicopter crashes and wrecks spawn in cfgeventspawns.xml on the map, then add, move or delete positions.
Heli Crash Loot Builder
Set how many helicopter crashes spawn, which wrecks and how much loot, and pick the crash loot from the item library.
Zombie Horde Generator
Place infected hordes on the map, set how many spawn and which types, and download zombie_territories.xml.
cfggameplay.json Editor
Change base damage, stamina, building checks, hit indicators and map options with switches instead of JSON.
globals.xml Editor
Infected and animal caps, cleanup times, login timers and loot damage, with every value explained.
Contaminated Zone Editor
See the gas zones in cfgEffectArea.json on the map, then add, move, resize or remove them.
Player Restricted Area Builder
Draw no-go boxes on the map and set where trespassers are moved to, and get the area file for cfggameplay.json.
Spawn Point Editor
See fresh, hop and travel spawn points from cfgplayerspawnpoints.xml on the map, then add, move or delete them.
Object Spawner Builder
Place buildings and props on the map with their height and rotation, and get the JSON for objectSpawnersArr. No mods needed.
Map Coordinates
Click the map for X, Z, the grid square and height, measure distances, and paste coordinates from files or logs to see them.
messages.xml Generator
Build welcome messages, repeating notices and restart countdowns for your server and download the file.
Spawn Loadout Generator
Pick the starting clothes and items for fresh spawns and get a loadout file ready for cfggameplay.json.
Day & Night Calculator
Work out how long a day and a night last in real time from your server's time acceleration settings.
DayZ File Checker
Paste or open any DayZ XML or JSON file and find the exact line that would stop your server reading it.