Role-playing a start as ex-undercover civil agents / trigger happy volunteers willing to clean the region.
(setting 0 zombie respawn custom games) spawning with some items and at some custom location
Information
Setting a couple params for the server host/admin to start and play a certain way PVE.
Use this as inspiration or as starting ground to host your own server or make your own scenario.
Happy to hear from your CleanUP squads adventures starting like this.
I’ll create mods from this guide and for the scenario.
Credit: bUrnIt 2022 (for what it’s worth)
Can confirm my mods will contain:
– Available spawn location RailYard (done will be mod1: spawn location)
in mod2: profession and trait combined: (almost done)
– New profession “Undercover Agent”
– New trait “Sleeper Agent”
For this scenario you’ll need to setup the SpawnItems string and forced SpawnLocation in the INI section. You’ll need to set up the zombie respawn in the SANDBOX section.
Not covered in this guide:
– I’m playing this with Brita’s mods. The spawnItems works.
– I tweak a little bit the zombies stats/behavior and zombie pop. to my liking.
Before anything, start to “create server settings” already to have a look.
you can still change name, all params after creating settings.
FOR COOP gameplay or Solo in MP
Scenario
Roleplay
You are all ex-undercover civil agents teaming up to clean the regions of zombies.
Hunters, officers, tactical agents, bushcraft enthusiast, survival enthusiast:
You are apocalypse ready and trigger happy.
The rest have turned, or aren’t ready yet.
You are the first bravest/or dumbest volunteers to go in.
———————————-:
———————————-:
From the south, you arrive slowly in the center of the railyard east of Muldraugh.
It’s surrounded by forest and there’s no major agglomeration to start your adventure.
The RailYard hangars and trains cars could have enough to help you survive your arrival.
I hope you and your squad know bushcraft or have a great hiking pace for the first days before reaching farms, trailers, suburbs and cities.
[Server INI] Player SpawnItems start string
INI
Players
EXAMPLE:
CleanUp Agents starting loadout | vanilla41 items string
SpawnItems=
Base.Vest_BulletCivilian,Base.Hat_BalaclavaFull,Base.Hat_GasMask,Base.Shirt_Denim,Base.HolsterSimple,Base.Bag_FannyPackFront,Base.Bag_NormalHikingBag,Radio.WalkieTalkie4,Base.Earbuds,Base.Pistol2,Base.45Clip,Base.Bullets45Box,Base.BeefJerky,Base.CannedSardines,Base.WaterBottleFull,Base.Matches,Base.AlcoholBandage,Base.HuntingKnife,
Base.Vest_BulletCivilian = civil bulletproof vest
Base.Hat_BalaclavaFull
Base.Hat_GasMask
Base.Shirt_Denim
Base.HolsterSimple
Base.Bag_FannyPackFront
Base.Bag_NormalHikingBag
Radio.WalkieTalkie4
Base.Earbuds
Base.Pistol2 = m1911 45mm
Base.45Clip
Base.Bullets45Box
Base.BeefJerky
Base.CannedSardines
Base.WaterBottleFull
Base.Matches
Base.AlcoholBandage = steril bandages
Base.HuntingKnife
Where to find the items Base.ID ?
You need to use the items ID to create the SpawnItems string
Official Wiki Vanilla Items
HERE: https://pzwiki.net/wiki/Items – [pzwiki.net]
[Server INI] How to add custom spawn location [will remove this]
Will remove this section as I made a mod for this, better solution working for both solo and mp
- 1. Copy a spawnpoints.lua file
SteamApps\Common\ProjectZomboid\Media\Maps\
(maps/RiverSide or something but not Muldraugh) - 2. In this PVE scenario:
For each employement: Keep only one line, delete all others coord lines.
If there’s a way to just set one line once for ANY employement, I don’t know it
- 3. Edit it with COORDs you researched on map.projectzomboid.com – [projectzomboid.com]
World = Cell
Pos = Rel
X , Y - 4. Rename it to the PZ_location you choose or something. here: custom_spawnpoints.lua
- 5. Put this file in
C:\users\userName\Zomboid\Server\
- 6. Then link it into newly added region params
A
ingame,
when hosting/editing your server settings:
INI
Spawn Regions
name (Location)
file (custom_spawnpoints.lua)
Or
B
in files,
users\userName\Zomboid\server\serverName_spawnregions.lua
Add this line if you didn’t already have a “blank new region” line.
Edit it if you did.
{ name = "Location", serverfile = "custom_spawnpoints.lua" },
(This is a non-mod method. You need this setup for MP – and for Solo it’s another folder….
But I’m already into creating a workshop mod to add RailYard spawn for Solo/MP so I’ll remove this section then and just link the mods 1 for railyard spawn and 1 for profession + trait)
Example
RailYard spawn
RailYard_spawnpoints.lua (contains the following code)
function SpawnPoints() return { chef = { { worldX = 38, worldY = 33, posX = 219, posY = 38, posZ = 0 }, }, constructionworker = { { worldX = 38, worldY = 33, posX = 219, posY = 38, posZ = 0 }, }, doctor = { { worldX = 38, worldY = 33, posX = 219, posY = 38, posZ = 0 }, }, fireofficer = { { worldX = 38, worldY = 33, posX = 219, posY = 38, posZ = 0 }, }, parkranger = { { worldX = 38, worldY = 33, posX = 219, posY = 38, posZ = 0 }, }, policeofficer = { { worldX = 38, worldY = 33, posX = 219, posY = 38, posZ = 0 }, }, repairman = { { worldX = 38, worldY = 33, posX = 219, posY = 38, posZ = 0 }, }, securityguard = { { worldX = 38, worldY = 33, posX = 219, posY = 38, posZ = 0 }, }, unemployed = { { worldX = 38, worldY = 33, posX = 219, posY = 38, posZ = 0 }, }, } end
posZ is the level / floor.
0 = ground floor. Up to 5th floor I think.
[Server INI] How to force spawnpoint for NewPlayers
In this PVE Scenario, I will force new player to arrive at specific location for RolePlay [RP]
but also keep the available spawnpoint for Respawn, in case….
COORDs you researched on map.projectzomboid.com – [projectzomboid.com]
RailYard – CleanUp Scenario forced spawn
11619,9938,0
A
when hosting/editing server settings:
INI
Spawn Regions
At the very bottom: SpawnPoint=11619,9938,0
Or
B
in files,
users\userName\Zomboid\server\serverName.ini
Find and edit:
SpawnPoint=11619,9937,0
[SANDBOX] How to set 0 zombie respawn
I’m not sure if migration-mechanic still “spawn” Zs in places you don’t want to.
Sandbox
Advanced Zombie Options
Respawn Hours: 0.0 Respawn Unseen Hours : 0
Here we come to an end for Project Zomboid CleanUp Squad PVE Scenario – Spawn Items/Location hope you enjoy it. If you think we forget something to include or we should make an update to the post let us know via comment, and we will fix it asap! Thanks and have a great day!
- Check All Project Zomboid Posts List
Leave a Reply