Edit the named loot lists in cfgrandompresets.xml that cfgspawnabletypes.xml draws from with preset="…": the food in a hermit's backpack, the optics on a rifle. Add items from the vanilla item library, see which items use each preset and how likely each item is, and download the file.

What cfgrandompresets.xml does

cfgrandompresets.xml, in the root of the mission folder, holds named lists of items. A <cargo> preset is for things that go inside an item, an <attachments> preset for things that go on one. An entry in cfgspawnabletypes.xml uses one with <cargo preset="foodHermit" />.

  • The preset's chance, 0 to 1, is how likely it spawns anything.
  • Each item's chance is its weight: the share bar shows how often it is the one picked.
  • Class names must be exact, or the item never spawns.

To use a preset on an item, open the cfgspawnabletypes Generator and set a group to A preset.

Questions

What is cfgrandompresets.xml for?

It holds named lists of items, such as foodHermit or optics, that cfgspawnabletypes.xml uses with preset="…" instead of listing the items on every entry. Change a preset here and every item that uses it changes with it.

How do the chances work?

The preset's own chance, from 0 to 1, is how likely it spawns anything at all. The items' chances weigh which one: an item with 0.2 is picked twice as often as one with 0.1.

Why does an attachment in a preset never appear?

An attachments preset only works on items that have a slot for what it lists. The editor shows which items use each preset and warns about a vanilla item that fits none of them.

Is my file uploaded anywhere?

No. The editor runs in your browser. The vanilla button loads Bohemia's files straight from their public GitHub, and Apply to server only sends the finished file to your own Nitrado server.

// Workbench

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.

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.

cfgweather.xml Editor

Set clouds, fog, rain, wind and lightning with sliders, or turn off fog and rain in one click.

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.