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.
Choose an existing parent
Find the exact parent type in the active map file and verify every child classname.
Attachments and cargo differ
attachments describes compatible equipped children, while cargo describes items placed inside available storage.
Chance uses decimals
A chance from 0 to 1 controls probability. Separate group and item chances should be read together.
Do not duplicate types
Edit the existing parent block. A second block with the same name creates an ambiguous and error-prone configuration.
Test newly spawned items
Persistent items already in storage are not reliable proof of a new spawn rule.
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
- Find the existing type record for the active map.
- Verify every parent and child classname in current vanilla data.
- Edit chance values between 0 and 1; do not duplicate the same type record.
- Validate the whole XML and test newly spawned items, not old persistent ones.
Official PlateCarrierVest_Camo attachment example
cfgspawnabletypes.xmlConfirmation: 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
| Variable | Type | What it changes | How to set it |
|---|---|---|---|
type name | string | Parent item classname. | Use an existing active-mission class. |
damage min / max | float 0–1 | Random damage range at spawn; higher damage means worse condition. | Keep min ≤ max and test the resulting condition. |
attachments chance | float 0–1 | Chance that this attachment group is evaluated/spawned. | 0 disables the group; 1 always processes it. Use decimal probabilities. |
item name | string | Vanilla child attachment classname. | Verify compatibility with the parent and the active version. |
item chance | float 0–1 | Relative/individual chance inside the group. | Use 1.0 for a single guaranteed choice after the group triggers; test multi-item weighting separately. |
After a full restart
Restart and inspect newly generated items over multiple spawns. Existing persistent gear will not be retroactively changed.
Return to the working state
Restore cfgspawnabletypes.xml and restart. Keep the matching types.xml class record unchanged unless it was separately edited.
Tools for this guide
Open the matching wizard and the site will select the tool for this configuration.
Weapons and vehicles
Edit cfgspawnabletypes.xml attachment and cargo chances.
Project validator
Check syntax, structure and references between files.
If you are not signed in, the site returns you to the selected tool after sign-in.
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.
Official sources
Checked 6 October 2026