Project Zomboid

Project Zomboid

True Random Spawns
61 Comments
Peter Dee 4 Feb @ 10:25am 
Any update when it will be working on B42 @pillow ?
KitsuneKito 20 Dec, 2024 @ 6:07pm 
Ok, thank you for the info!
I’ll use your other mod in the meantime.
Thanks for your hard work! <3
pillow  [author] 20 Dec, 2024 @ 2:24pm 
This one doesn’t work in B42. I have a tentative fix but its even more janky than this mod already is. More to come!
KitsuneKito 20 Dec, 2024 @ 11:25am 
Hey, is it possible to add the build 42 tag ?
it wont even show up in the mod menu, and the debug thing the devs wrote in the "help" thing is a lie since the button to "show outdated mods" doesnt exist.

Thank you for your hard work pillow :)
Viper 19 Dec, 2024 @ 3:39am 
ah ok, less hype then, but still great!
pillow  [author] 18 Dec, 2024 @ 6:11pm 
This mod probably will never be able to deal with additional map mods unless someone forks it and codes those in too.
Viper 18 Dec, 2024 @ 5:16pm 
aaaaaaand it works! my previous comment about it being dead is now invalid. HYPE IS RIGHT BRO

hey, will this account for map mods? like ones that are way off the vanilla map, like Fort Knox or Slocan Lake or New Albany or Jasperville or Kingsmouth? etc? or will the random spawn only be somewhere in the standard vanilla region?
kirby 18 Dec, 2024 @ 1:44pm 
hope to use this on b42 soon. cant wait to try the new crafts n shit :steamhappy:
pillow  [author] 17 Dec, 2024 @ 11:28am 
b42 hype has awoken me. Fixed the major issues reported. F9 re-rolls. Delete key clears nearby zombies. I tested this all morning and I did not really need these debug functions but I am leaving them in for a while. I'm sorry if f9 is mapped to something else for you! For anyone having issues please pull the logs with like TRS event processor or TRS Debug in the line and post it on pastebin or something.
LOVECRIMEBYSIOUXSIE 5 Oct, 2024 @ 3:21am 
This mods still works for SP, I tested it like two months ago, thing is sometimes the mod for some reason doesn´t appears in the game even if you suscribe to it. I had that problem but I don´t remember how I fixed it tho, it was probably by re-installing the game
squggus 13 Aug, 2024 @ 11:53am 
same here, use this mod often since I love challenging runs. Please update for multiplayer!
Mot 6 Jul, 2024 @ 4:57am 
I am loving the mod but I am hoping it is still alive - it'd be amazing to get it working with the vehicle interiors!
Viper 22 Jun, 2024 @ 1:54am 
pillow hasn't commented in a year so I'm gonna guess this mod is dead. It's never worked for me, at least I think it isn't working: I just get a black screen for several minutes when trying to spawn. The game is still up (part of the UI is visible) and no errors thrown. Console logs just stop in place without indicating a problem. It's possible it's spending a LOOOOOOONG time validating my spawn, or it's possible it's totally locked up. Can't tell, but if it's validating, I wasn't willing to wait that long.
Phade 1 May, 2024 @ 8:53pm 
Mod is very buggy at the best of times. Even if you choose a specific spawn location (like rosewood, ect) it may sometimes bug out, fling errors at you and use a random spawn anyway.

Also, using the 'wilderness near a camp' option is bugged and will ALWAYS trap you in the water.

the F9 key will allow you to 'respawn' somewhere else on the map once.
Mystic 22 Feb, 2024 @ 11:37pm 
Mod is great. This is how I start every run now by using true spawn. Sometimes it places you in very tricky situations like the massive building you're in is surrounded or you get put into a shed in the middle of nowhere.
Love it:MHRISE_Felyne:
Viberipper 15 Jan, 2024 @ 2:58pm 
I spawn in lousville almost 90 percent of the time
Magicoco 25 Dec, 2023 @ 12:03am 
Great, but I think there should be a sandbox option to choose the probability of each possible point, because 80% of me started in the wilderness: ( so i am I really so unlucky?)
General M-13 / Vindya Miriel 22 Dec, 2023 @ 4:36am 
While random, this mod does not create a small "safe zone" around the player, i ended up spawning inside a house that was so surrounded by zombies i couldnt even get out of the door before getting killed XD
General M-13 / Vindya Miriel 15 Dec, 2023 @ 8:17am 
When using the option to spawn in the wilderness near a camp i keep spawning in the ocean.
R4skall 18 Nov, 2023 @ 12:54pm 
Insurgent mod not insertion
R4skall 18 Nov, 2023 @ 12:54pm 
STACK TRACE
-----------------------------------------
function: calcClosestBuilding -- file: TrueRandomSpawn.lua line # 269 | MOD: True Random Spawns
function: adjustIndoorSpawnTarget -- file: TrueRandomSpawn.lua line # 468 | MOD: True Random Spawns

When im using true random spawn this happens nonstop using the insertion mods insertion spawn and not parachute randomly spawning elsewhere every time the error happens and for some reason not getting the error but cycling to 8 different points with parachute
Dog2 17 Nov, 2023 @ 9:11am 
This mod is very good, thank you so much for doing it, but there is a problem, when you press the F9 key, the game teleports you to a new random place but does not check whether this place fits the necessary conditions, I will explain: I chose in the settings to be spawned inside buildings, I was spawned inside a column, I pressed F9 and I was teleported into the forest millions of kilometers from the nearest buildings, Story number two: I slept inside a column, pressed F9 and I was teleported inside another column! ) you should make the ability to press F9 infinite
۞•★ᗪOᙀᒪIKIN★•۞ 12 Nov, 2023 @ 8:32pm 
Cool, I appeared in the water 3 times in 999999 meters from the shore
Sho 11 Nov, 2023 @ 6:13pm 
It's working fine. thank you!
C.Hall 13 Oct, 2023 @ 11:01am 
Judging from the comments, it's back to the drawing board time fellas LOL
C.Hall 13 Oct, 2023 @ 11:00am 
LOL... First time I loaded this mod and created a new save, I spawned in the middle of the river.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3050243886
Dr.GrungeLove 8 Oct, 2023 @ 11:04pm 
okay I have to try this, Tyche would be proud of you c:
Firelord0011 3 Oct, 2023 @ 8:06am 
Got spawned into the pillar of gas station, apparently those are just 4walls and I managed to get lucky/unlucky enough and it counts as being inside a building, welp carefull for that guys
zomboid 30 Sep, 2023 @ 8:27am 
multiple times when using it i always spawn in the water for a brief moment and start drenched, second time using it i spawned in the river outside of riverside and then gave me around 4000 errors
Nobody 19 Sep, 2023 @ 2:01am 
You know it wouldn't be horrible if some more screenshots were posted.
Ricksdetrix 11 Sep, 2023 @ 1:18pm 
I'm having two weird issues, 1 where my record button (f9) sometimes teleports me to a random wilderness location, and when I reload a save it puts me in a random spot
TheRealAJChampion 6 Sep, 2023 @ 6:39pm 
@⛧Perdurabo⛧
That's where you spawn when it doesnt load in yet!
⛧Amgedpha⛧ 3 Sep, 2023 @ 8:41am 
lol, I keep on spawning in the water when I pick wilderness options.

I love the idea though.
Great_Puffer 1 Sep, 2023 @ 3:33pm 
anything starting with t in the name spawns you like you click the true random spawns span option, any way to fix this other than not using those mods?
hing 30 Aug, 2023 @ 12:42pm 
thank you! It would be better if there is a sandbox option where player can set up a shortcut. press the wrong key while playing.
yallfather 27 Aug, 2023 @ 8:24am 
Good mod, just pointing out that at this point in time, the "near civilization" setting in sandbox doesn't prevent you from spawning directly on the street or in a building in Louisville. That's a little too "near" for me, personally! Can't wait to see how this mod develops, thank you for your hard work.
PS 14 Aug, 2023 @ 7:18pm 
Could you prevent the getting clothes drenched in the spawning stage in any way? Great mod otherwise.
BluntMan 27 Jun, 2023 @ 6:32am 
My dream spawn mod would be this with multiplayer where you could spawn with friends
TheRealAJChampion 25 Jun, 2023 @ 11:18am 
Thank you! Just as a little thing, it uh defiantly doesn't work in multiplayer
pillow  [author] 24 Jun, 2023 @ 5:08pm 
Correct it will work generally with map mods using the vanilla map cells. The cells are categorized according to the vanilla map though.
MilaYanska 24 Jun, 2023 @ 2:44pm 
@TheRealAJChampion

Should work, no? As long as the mod uses vanilla cells
TheRealAJChampion 24 Jun, 2023 @ 1:09pm 
nvm answered my own qustion
TheRealAJChampion 24 Jun, 2023 @ 1:08pm 
uh quick question (love ur work btw) will this work with map mods? (im guessing not)
nah 24 Jun, 2023 @ 8:35am 
Yup, I was validating my game files and the mod is working fine now, appreciate how quickly you responded!
pillow  [author] 24 Jun, 2023 @ 8:33am 
there was an issue between versions, I accidentally pushed the location filtering code that was untested. The workshop version is now 1.1 that resolved the errors of starting new games, should be stable.
pillow  [author] 24 Jun, 2023 @ 8:06am 
Hi @nah it always starts on water and should teleport you to a valid spawn. This is the dirty trick I used to force the mod to always consider the first spawn invalid and continue to try for good ones.

Are you seeing yourself teleport from the water into a valid spawn or does it just stop there on water? if so, can you possible put your log file here https://bin.acciuga.space/ and send me it (or any other pastebin)
nah 24 Jun, 2023 @ 2:53am 
For some reason this mod keeps spawning me in cell 21,16 , which is in the middle of the river
MilaYanska 23 Jun, 2023 @ 12:00pm 
@pillow

Thanks! Denver was just an example, I really meant the most popular new locations that are added on top of the vanilla map.
pillow  [author] 23 Jun, 2023 @ 8:32am 
Currently "anywhere" is only the vanilla map, and if a modded map uses existing cells.I believe New Denver is new cells added at the border of the vanilla map. If you are curious take a look at the actual file - https://github.com/crispiboi/True-Random-Spawns/blob/main/Contents/mods/True%20Random%20Spawns/media/lua/client/cellPickList.lua

I will add a github issue to consider making the cell pick list modular so modded maps can be added.
MilaYanska 23 Jun, 2023 @ 6:49am 
Amazing! I have been using your random spawns mod for ages. And today - just as I thought it would be great to have a truly random spawn system - I found your mod. Thank you!

Quick question - "if anywhere" is set ON, can you spawn in custom locations? Like New Denver, etc?