Mastering the Central Economy (CLE)
Loot spawning is controlled by types.xml located in /mpmissions/dayzOffline.chernarusplus/db/.
Understanding the Tags
Key Attributes
- Nominal: The "Target" amount. Server tries to spawn this many.
- Min: The "Floor". If the count drops below this, the server queues respawns instantly.
- Lifetime: Time (in seconds) the item stays on the ground before deleting. 28800 = 8 hours.
- Flags:
count_in_map: 1 = Count items sitting on floor.count_in_hoarder: 1 = Count items stored in tents/barrels (VERY DANGEROUS for rare loot).count_in_player: 1 = Count items in player inventories.
Warning: Setting count_in_hoarder="1" for M4s means if players hoard 10 M4s in tents, NO NEW M4s WILL SPAWN on the map.