Project Zomboid

Project Zomboid

Redrusty66 May 21, 2019 @ 2:02pm
Spawn regions in a hosted game
Really been having fun with the game and so was trying out hosting one, as I think my son would enjoy playing with me. Now when you set it up it offers 4 "Spawn regions" to spawn in. But supposedly if you add maps it will offer more, or use to, it doesn't. No matter what workshop maps i add (We'll take as example this little addition called "Midriver" which is a neat little farmhouse I like living at. So I went looking for answers and only thing dead on was a response from a few years ago that says.
''''''''''''''''''''''''
So, just do double check, in severtest.ini, you should see this:
SpawnPoint=0,0,0
Map=Muldraugh, KY
SpawnRegions=servertest_spawnregions.lua

This should always use the servertest_spawnregions.lua file, which displays the options to choose between the two towns.
----------------------

Only , interestingly enough, my INI file doesn't have 1 single line that says anything about my spawnregioins.lua. SO i did as instructed above, as indeed my LUA does have the maps listed in spawnregions. Yet when I start the host it OVERWRITES the INI and once again my testserver.ini has only the line "Spawnpoint=0.0.0". The 2nd line "Map" does appear but farther down the ini llist and it too has the maps listed, but the line regarding SpawnRegions=servertest_spawnregions.lua doesn't exist in my INI at all, and when i put there as above it is overwritten when I start the server back to not existing at all, as I said my INI has NO mention of the spoawnregion.lua anywhere from top to bottom. Now I know that response was from a couple years ago so I'm assuming something has changed?

So now or also, do I have to copy any mods (which include any workshop maps) that i would like to appear in my hosted game to the mods folder of the server or does it get them itself? How do I set it where more than the 4 default spawnregions become available as choices , as NOTHING I've looked up or tried has worked. No matter how many times I "added the maps" in the server settings creation (in host game) be it just 1 for a test or all 5 maps i like, it shows nothing but the 4 default location when you start your game. Is the INI still suppose to reference the spawnregions.lua? Am I missing some setting? If you made it through all that I'm basically asking, how does one get their workshop maps to show up in the spawn regions choices when you start your game or is that not available anymore?
Last edited by Redrusty66; May 21, 2019 @ 2:11pm
< >
Showing 1-2 of 2 comments
Beard May 22, 2019 @ 1:52am 
The way I do is personally is to check the mod map folder for the name of the folder and then add the line manually to the spawnregions.ini. I dont touch the spawnpoints.ini.

When you subscribe to the mod, you can find it in "Steam\steamapps\workshop\content\108600" on your computer.
You can either use the search bar to find the mod by the name in this folder, or just look at the mod number. It is always at the bottom of the mod description. Midrivers ID is 1577870047.

So we open the "108600\1577870047\mods\Midriver\media\maps" folder. There we see that the map folder is named Midriver.

We now use that knowledge to add a line to the spawnregions, right above { name = "West Point" for example

{ name = "Midriver", file = "media/maps/Midriver/spawnpoints.lua" },

As you can see, the spawnpoints are in the actual mod folder and not in the Server folder. After this, just save the spawnregions.ini and you should be able to see the Midriver spawn the next time you make a new character. Make sure that the mod is properly loaded into the game first.

Hope this helps!
Redrusty66 May 22, 2019 @ 2:13am 
well, just 30 minutes late..lol I spent a good 12 hours today figuring it out, i did eventually "unpack" all the mods i wanted to use from the steamapps place and put them into the zomboid folder (Mods), so it seems they need to be in 2 seperate places according to whether you are playing solo, or hosting a game, I JUST now 30 minutes ago after 12 hours finally have it right and my little personal server is working fine, it did provide all spawn points including the mod maps and ...thank gosh, it worked. the few mods are working, and the maps are available for spawn when you join with a new character. so I'm quite happy. Thanks though for the post. Hopefully anyone else having the problem can avoid the aggravation I did figuring it out from old piece work from across google and gamer logic. I have only had the game 4 days..lol SO to any and to condense it, put any mods or modmaps /places into your mod folder in the C:\Users\YOURNAME\Zomboid\ mods folder and it should be able to find them as you set up your server settings and as you add the mods it'll all come together. .
Last edited by Redrusty66; May 22, 2019 @ 2:17am
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: May 21, 2019 @ 2:02pm
Posts: 2