Project Zomboid

Project Zomboid

Pillow's Random Spawns [B42]
 此主题已被置顶,因此可能具有重要性
pillow  [开发者] 2021 年 12 月 15 日 上午 4:04
How to add random spawns to your server
On servertest.ini modify Mods and Map lines as follows. It's alright to have other mods in the list. For many spawns you can refer to the mod names on the workshop page and/or pick and choose from what I have in the example.

Mods=ManySpawns;SimplePlayablePianos4150;ManySpawnsAll;ManySpawnsLocation;ManySpawnsLouisvilleByNeighborhood;ManySpawnsLouisville;ManySpawnsVariations;ManySpawnsMP
Map=Knox County Car Wrecks;Knox County Hitchhikers;Knox County Patients;Knox County Prisoners;Knox County Schools;Knox County Visitors;Many Spawns Louisville;Audubon;Old Louisville;Dixie;Ekron;Industrial Zone;March Ridge;McCoy Logging;Muldraugh;Riveside;Rosewood;Valley Station;West Point;Many Spawns All;Many Spawns Casual;Many Spawns root;Muldraugh, KY;Pillows Many Spawns - By Location;Many Spawns All Reduced;Many Spawns Knox Reduced

Make sure WorkShopItems has 1911132112 in the list like this example
WorkshopItems=1911132112;2465017864

Adjust your server_test_spawnregions.lua as desired. Here's a list of nearly all maps and how they would look as spawn regions.

{ name = "Muldraugh, KY", file = "media/maps/Muldraugh, KY/spawnpoints.lua" },
{ name = "Riverside, KY", file = "media/maps/Riverside, KY/spawnpoints.lua" },
{ name = "Rosewood, KY", file = "media/maps/Rosewood, KY/spawnpoints.lua" },
{ name = "West Point, KY", file = "media/maps/West Point, KY/spawnpoints.lua" },
{ name = "Many Spawns Casual", file = "media/maps/Many Spawns Casual/spawnpoints.lua" },
{ name = "Many Spawns root", file = "media/maps/Many Spawns root/spawnpoints.lua" },
{ name = "Many Spawns All", file = "media/maps/Many Spawns All/spawnpoints.lua" },
{ name = "Dixie", file = "media/maps/Dixie/spawnpoints.lua" },
{ name = "Ekron", file = "media/maps/Ekron/spawnpoints.lua" },
{ name = "Industrial Zone", file = "media/maps/Industrial Zone/spawnpoints.lua" },
{ name = "March Ridge", file = "media/maps/March Ridge/spawnpoints.lua" },
{ name = "McCoy Logging", file = "media/maps/McCoy Logging/spawnpoints.lua" },
{ name = "Muldraugh", file = "media/maps/Muldraugh/spawnpoints.lua" },
{ name = "Riveside", file = "media/maps/Riveside/spawnpoints.lua" },
{ name = "Rosewood", file = "media/maps/Rosewood/spawnpoints.lua" },
{ name = "Valley Station", file = "media/maps/Valley Station/spawnpoints.lua" },
{ name = "West Point", file = "media/maps/West Point/spawnpoints.lua" },
{ name = "Audubon", file = "media/maps/Audubon/spawnpoints.lua" },
{ name = "Old Louisville", file = "media/maps/Old Louisville/spawnpoints.lua" },
{ name = "Many Spawns Louisville", file = "media/maps/Many Spawns Louisville/spawnpoints.lua" },
{ name = "Knox County Car Wrecks", file = "media/maps/Knox County Car Wrecks/spawnpoints.lua" },
{ name = "Knox County Hitchhikers", file = "media/maps/Knox County Hitchhikers/spawnpoints.lua" },
{ name = "Knox County Patients", file = "media/maps/Knox County Patients/spawnpoints.lua" },
{ name = "Knox County Prisoners", file = "media/maps/Knox County Prisoners/spawnpoints.lua" },
{ name = "Knox County Schools", file = "media/maps/Knox County Schools/spawnpoints.lua" },
{ name = "Knox County Visitors", file = "media/maps/Knox County Visitors/spawnpoints.lua" },
{ name = "Many Spawns All Reduced", file = "media/maps/Many Spawns All Reduced/spawnpoints.lua" },
{ name = "Many Spawns Knox Reduced", file = "media/maps/Many Spawns Knox Reduced/spawnpoints.lua" },

Ideally given the constraint of safehouses not being able to be created in a building that has a spawn point you should use these settings:

Mods=SimplePlayablePianos4150;ManySpawnsMP
Map=Muldraugh, KY;Many Spawns All Reduced;Many Spawns Knox Reduced

and these spawn regions:

{ name = "Many Spawns All Reduced", file = "media/maps/Many Spawns All Reduced/spawnpoints.lua" },
{ name = "Many Spawns Knox Reduced", file = "media/maps/Many Spawns Knox Reduced/spawnpoints.lua" },

Last Notes : do not remove Muldraugh, KY from the map list. This is the way PZ looks for the actual map as well.
最后由 pillow 编辑于; 2021 年 12 月 15 日 下午 5:14
< >
正在显示第 1 - 15 条,共 17 条留言
John Walker 2021 年 12 月 28 日 上午 8:35 
Does not work for me. When i do this and try to join the server it tells me the Spawnregion.lua does not match with the server.
pillow  [开发者] 2021 年 12 月 28 日 上午 10:18 
These files should be modified on the server not locally and should not have any impact on clients joining. The mod and workshop lines tell the server what workshop item to download, and then which mod(s) within the workshop item to enable and sync with clients. If you’re hosting from pz game these should be defined automatically for you.
John Walker 2021 年 12 月 29 日 上午 5:12 
I modified the files on the server not locally and i got the following message; File doesn't match the one on the server: media/lua/shared/SpawnRegions.lua
Don 2022 年 4 月 22 日 上午 3:35 
I need help installing this on a dedicated server. I don't want to make mistakes and ruin the save.

I only have the default map, how should my files look like? And what mods should I choose to add the the mod list, if I want all the spawns, except the ones inside prisons?
pillow  [开发者] 2022 年 4 月 26 日 上午 6:28 
Hi Don, just make sure the segment with prisons it it is removed from the spawn regions.The best option though for just random spawns is the last bit of doing the two reduced settings, and having those in your spawn regions file as well.
Don 2022 年 4 月 27 日 上午 1:08 
Can I add you on steam?
Noah? 2022 年 10 月 20 日 下午 9:06 
Hey i'm having a lot of difficulty getting this to appear on my server spawn options, nothing seems to work even though spawn regions and mods and maps are enabled in the server settings thing.
Esce.Diablo 2023 年 1 月 17 日 上午 12:48 
sadly is too much to learn, i will not be able to add this to my server :(, thanks i will try later single player !:)
exquisitedark 2023 年 1 月 17 日 上午 2:15 
what do i do to add louisville along the reduced spawns?
Pingu 2023 年 5 月 16 日 下午 12:07 
Hey OP, Thankyou for such an amazing mod - I use this on single player all the time!
It just outright doesn't seem to work on Multiplayer dedicated servers.
Was wondering if could have most basic of basic baby instructions because I think maybe there is something me and the other guys are missing maybe?
pillow  [开发者] 2023 年 5 月 16 日 下午 1:25 
Try reviewing the multiplayer server resources file I publish on github for this. https://github.com/crispiboi/Pillow-s-Many-Spawns-Pack/releases It should be plug-and-play but it has directions on further customization.
SonicSymbiot 2024 年 9 月 5 日 上午 2:22 
Mate your a genius! This is fantastic!
SonicSymbiot 2024 年 9 月 5 日 上午 2:23 
Happy to help people install the mod per Pillow's instructions, if anyone who needs it
Winston 2024 年 10 月 21 日 上午 1:31 
Is there a 'Louisville Reduced' for servers? I got the other MP reduced mods working but the specific one for Louisville I couldn't figure out.
pillow  [开发者] 2024 年 10 月 24 日 上午 3:37 
There is not a specific MP version for Louisville. There is Knox Reduced which is everything south of Louisville, and All Reduce which includes Louisville. You could probably make a specific one for Louisville by removing half or 3/4 of the spawns on that file.The spawnpoints files do not matter for the MP clients, just the server itself so you don't have to distribute the changes.
< >
正在显示第 1 - 15 条,共 17 条留言
每页显示数: 1530 50