-
Notifications
You must be signed in to change notification settings - Fork 6
ZenCampSites
NOTE: This mod is included in my modpack and can be enabled/disabled via ZenCampSites in ZenModPackConfig.json

This mod adds random camp sites that spawn around the map for players to stumble across.
Currently the default maps supported with auto-generation of camp site locations are Chernarus, Livonia and Sakhal.
They're essentially just a random event intended to make exploration more interesting - spotting a distant campfire at night time can attract players towards it like a moth to flame.
By default the camp sites are just leather shelters with some hunting loot in them and a couple of hunter zombies that can spawn on them, but the mod comes with a completely customizable JSON config to spawn whatever objects, loot and creatures you like.
With the default settings, every X seconds (2700 by default, which is 45 minutes) a new camp site will spawn at a random location according to the list of locations in the config file.
The camp site just consists of a fireplace and a shelter filled with loot, and optionally you can spawn a random number of zombies nearby (0-2 by default).
The camps will despawn after a while if no one finds them.
{
"ConfigVersion": "1.29.1", // Don't touch this
"LogsOn": 0, // Turns on/off server text logs (used for debugging etc)
"DebugOn": 0, // Turns on/off debug mode (will display in-game messages + teleport player to camps when they spawn
"SpawnSecs": 2700, // Seconds between spawning a new camp
"PlayerDetectZone": 300, // If a player is detected inside this range (meters) no camp spawns
"MinHealthPercent": 33, // Minimum health % of spawned loot
"MaxHealthPercent": 100, // Maximum health % of spawned loot
"MinFireDistance": 2.0, // Minimum radius distance the shelter spawns from the fire (meters)
"MaxFireDistance": 3.0, // Maximum radius distance the shelter spawns from the fire (meters)
"MinZombies": 0, // Global minimum zombies per camp site
"MaxZombies": 2, // Global maximum zombies per camp site
"ZombieTypes": [ // Zombies type list
"ZmbM_HunterOld_Autumn",
"ZmbM_HunterOld_Spring",
"ZmbM_HunterOld_Summer"
],
"PredefinedLoot": [ // Predefined loot config
{
"ConfigName": "HuntingLoot", // Name for this preset
"MinZombies": 0, // Minimum zombies (overrides global setting)
"MaxZombies": 2, // Minimum zombies (overrides global setting - set to 0 to use global setting)
"Loot": [ // Loot list for this predefined loot config
{
"ClassName": "Mosin9130_Camo",
"MinQuantity": 1,
"MaxQuantity": 1,
"SpawnChance": 0.5
},
{
"ClassName": "PUScopeOptic",
"MinQuantity": 1,
"MaxQuantity": 1,
"SpawnChance": 0.5
},
{
"ClassName": "Ammo_762x54",
"MinQuantity": 10,
"MaxQuantity": 20,
"SpawnChance": 0.5
}
]
}
],
"CampSites": [ // List of camp site positions
{
"CampName": "HuntingCamp", // Name of this camp position
"Location": [ // Vector location of this camp position (Y coord doesn't matter)
620.97998046875,
0.0,
12031.560546875
],
"TentType": "ZenCamps_ShelterLeather", // Tent classname object
"PredefinedLoot": "HuntingLoot", // Predefined loot type
"Loot": [] // Specific loot list (works like predefined loot, but can be used to make a specific loot list for this camp)
},All my mods are open-source and published under the Mozilla Public License Version 2.0. Any mods based on my code must be open-source - no obfuscation!
You can modify/reupload/repack my mods if you like, but please credit any original authors/3D model/3rd-party asset creators, and keep in mind any future updates I make will not be automatically applied to repacked mods so make sure to check back from time to time for bugfixes and improvements.
If you find my mods useful, please consider buying me a coffee - it's not expected but very much appreciated: https://buymeacoffee.com/zenarchist
- General Setup Guide
- Core Mod Setup Guide
- ZenModPack Master Config
- Various Info
- Known Bugs & Issues
- Report Bug
My utility style mods for debugging etc.
Mods which affect game mechanics:
- ZenAlcohol
- ZenAllowMapBagSlot
- ZenAntiCombatLogout
- ZenAutoConvertStash
- ZenAutoStackItems
- ZenAutoWinterDetect
- ZenAutoRun
- ZenBasebuildingConfig
- ZenBatteryPASPersistence
- ZenBetterChatFont
- ZenBrokenGlasses
- ZenBuildingDescription
- ZenCarAttachments
- ZenCarBatteryIcon
- ZenCarCompass
- ZenCarGlovebox
- ZenCarsCutDownTrees
- ZenCanteenTablets
- ZenCatchRain
- ZenCauseOfDeath
- ZenChickenCoops
- ZenCraftingSounds
- ZenCraftRagHands
- ZenComboLocks
- ZenCombineJSON
- ZenDropRuinedClothing
- ZenDynamicZoneLoot
- ZenEarPlugs
- ZenFireFuel
- ZenFireWood
- ZenFireplaceStick
- ZenFishingConfig
- ZenFixCarAttachmentGUI
- ZenGraves
- ZenGroundCleaning
- ZenHideGearInCars
- ZenHints
- ZenHologram
- ZenHologramControls
- ZenImmersiveChatHUD
- ZenImmersiveLogin
- ZenInformWeaponStateBug
- ZenInventoryAnimation
- ZenKnifeGardens
- ZenLeftovers
- ZenLogPiles
- ZenMagObfuscation
- ZenMap
- ZenMicCheck
- ZenNotifications
- ZenOpenCansRock
- ZenPainting
- ZenPimpMyRide
- ZenRadioPlugin
- ZenRebuildableWells
- ZenRepairJSON
- ZenRepairPumps
- ZenRepairWells
- ZenServerGUI
- ZenShove
- ZenSplitUI
- ZenSleep
- ZenStaminaSlope
- ZenTerritories
- ZenWeaponEngrave
- ZenWoodHealth
- ZenZombieDoors
Mods which add gear to the game:
- ZenArtillery
- ZenBackwardsCaps
- ZenBookshelf
- ZenBunnyMasks
- ZenCamoCamp
- ZenCarWorkbench
- ZenChess
- ZenChristmasTreeCraft
- ZenConcussionGrenade
- ZenDoubleArmbands
- ZenFlask
- ZenFlint
- ZenGhillie
- ZenJameson
- ZenLadders
- ZenMusic
- ZenNotes
- ZenRaidAlarm
- ZenRaybans
- ZenRunes
- ZenStaticObjects
- ZenSwissKnife
- ZenTimeBomb
- ZenTireRack
- ZenTreasure
- ZenTreehouse
- ZenVikingAxe
- ZenZippoLighter
Mods which run purely server-side:
- ZenBloodDrips
- ZenCampSites
- ZenDynamicZoneLoot
- ZenLootCyclingDetection
- ZenNightConfig
- ZenPersistentTrees
- ZenShelterCargo
- ZenTreesplosions
- ZenZombieController
- ZenZombieConfig
- ZenJameson
My standalone mods