A.S // Loot contents

DayZ Console cfgspawnabletypes.xml Guide

cfgspawnabletypes.xml controls what can appear attached to or inside supported items. It does not set the map-wide target count; that remains in types.xml.

Compatibility
PS5 / Xbox / Nitrado
Status
Confirmed vanilla mechanism
Difficulty
Intermediate
Reviewed
06.10.2026
01

Choose an existing parent

Find the exact parent type in the active map file and verify every child classname.

02

Attachments and cargo differ

attachments describes compatible equipped children, while cargo describes items placed inside available storage.

03

Chance uses decimals

A chance from 0 to 1 controls probability. Separate group and item chances should be read together.

04

Do not duplicate types

Edit the existing parent block. A second block with the same name creates an ambiguous and error-prone configuration.

05

Test newly spawned items

Persistent items already in storage are not reliable proof of a new spawn rule.

A.S // Beginner practice

Configure vanilla attachments and cargo

One existing container or wearable type uses verified weighted attachments/cargo without duplicate records.

File or panel
Xbox: dayzxb_missions/dayzOffline.<map>/ · PlayStation: dayzps_missions/dayzOffline.<map>/cfgspawnabletypes.xml
Outcome
One existing container or wearable type uses verified weighted attachments/cargo without duplicate records.

Step-by-step

  1. Find the existing type record for the active map.
  2. Verify every parent and child classname in current vanilla data.
  3. Edit chance values between 0 and 1; do not duplicate the same type record.
  4. Validate the whole XML and test newly spawned items, not old persistent ones.
XML

Official PlateCarrierVest_Camo attachment example

cfgspawnabletypes.xml

Confirmation: Current official Chernarus structure and vanilla classes.

Exact placement: Edit the existing PlateCarrierVest_Camo block; do not append a duplicate.

<type name="PlateCarrierVest_Camo">
    <damage min="0.1" max="0.6"/>
    <attachments chance="0.85">
        <item name="PlateCarrierHolster_Camo" chance="1.00"/>
    </attachments>
    <attachments chance="0.85">
        <item name="PlateCarrierPouches_Camo" chance="1.00"/>
    </attachments>
</type>

What every variable controls

VariableTypeWhat it changesHow to set it
type namestringParent item classname.Use an existing active-mission class.
damage min / maxfloat 0–1Random damage range at spawn; higher damage means worse condition.Keep min ≤ max and test the resulting condition.
attachments chancefloat 0–1Chance that this attachment group is evaluated/spawned.0 disables the group; 1 always processes it. Use decimal probabilities.
item namestringVanilla child attachment classname.Verify compatibility with the parent and the active version.
item chancefloat 0–1Relative/individual chance inside the group.Use 1.0 for a single guaranteed choice after the group triggers; test multi-item weighting separately.
Test

After a full restart

Restart and inspect newly generated items over multiple spawns. Existing persistent gear will not be retroactively changed.

Rollback

Return to the working state

Restore cfgspawnabletypes.xml and restart. Keep the matching types.xml class record unchanged unless it was separately edited.

FAQ

Questions and answers

Does this file increase item quantity on the map?

No. Map-wide target quantity is controlled in types.xml.

Can a mod classname be used?

No. Console configuration must use verified vanilla classes.

Why did an attachment not appear every time?

Both the attachment-group chance and item chance can affect the result; test multiple fresh spawns.

SOURCE CHECK

Official sources

Checked 6 October 2026

  1. Bohemia Interactive: official Central Economy missions ↗
  2. Bohemia Interactive: Central Economy mission files ↗