Dynamic Contaminated Zone Loot - ZenarchistCode/ZenModPack GitHub Wiki
What Is This?
This mod allows you to override what type of loot spawns in dynamic gas bombings.
You can specify item type, quantity, distance from epicenter etc.
Default config replicates vanilla chem gas grenades.
ZenDynamicContaminatedZoneLootConfig.json Config
%server_profile/Zenarchist/ZenDynamicContaminatedZoneLootConfig.json
Example config:
{
"ItemLifetime": -1, // -1 means leftover loot is deleted when zone disappears, 0 means it inherits zone lifetime, > 0 sets the item lifetime (in secs)
"LootSpawns": [ // List of item spawns
{
"ItemType": "Grenade_ChemGas", // Classname
"ItemCountMinimum": 2, // Minimum item count
"ItemCountMaximum": 5, // Max item count (randomly selected)
"ItemQuantityMinimum": 1.0, // Quantity of item minimum
"ItemQuantityMaximum": 1.0, // Max quantity (randomly selected)
"SpawnDistanceMinimum": 5, // Distance in meters from epicenter
"SpawnDistanceMaximum": 15, // Max distance
"SpawnChance": 1.0 // % chance of spawning (0.1 = 10%)
},
{
"ItemType": "PunchedCard",
"ItemCountMinimum": 1,
"ItemCountMaximum": 1,
"ItemQuantityMinimum": 1.0,
"ItemQuantityMaximum": 1.0,
"SpawnDistanceMinimum": 5,
"SpawnDistanceMaximum": 15,
"SpawnChance": 0.1
}
]
}
Master Config
To disable this mod set "ZenDynamicZoneLoot": 0
in %server_profile/Zenarchist/Utilities/ZenModPackConfig.json