Zen's Camp Sites - ZenarchistCode/ZenModPack GitHub Wiki

modicon

What Is This?

This mod adds random camp sites that spawn around the map for players to stumble across.

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.

How It Works

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.

ZenCampSitesConfig.json

{
    "ConfigVersion": "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)
        },

Master Config

To disable this mod set "ZenCampSites": 0 in %server_profile/Zenarchist/Utilities/ZenModPackConfig.json

⚠️ **GitHub.com Fallback** ⚠️