Project Zomboid

Project Zomboid

LeaperZed
Adjusting spawn rate
Hi i would like to ask how can i adjust the spawn rate of the leapers in sp.
I use it combined with Random Zombies Day and Night, along with 3 more horde mods, and the spawn rate is a bit too high for my taste. Is there a file i could maybe modify? Or even better may i suggest in the future to add a sandbox option?

The mod is amazing and i plan to keep it in all my future playthroughs, great work!
< >
Showing 1-12 of 12 comments
76561198282268579 11 Sep, 2023 @ 5:54am 
The mod totaly disregards any zombie spawn options from vanilla or other mods.

For a leaper to spawn the zombie needs to be a crawler and to have the Overgrown outfit. I assume the outfit is given randomly to crawlers and this is how spawn is regulated?

I tried setting the crawlers from Random zombies to 0.5%. Which means the leapers should be even less than 1 leaper per 200 zeds. And yet i end up with 35+ leapers on a horde of 300+ zeds.

Even worse now, if you spawn from the horde manager a horde of 100 zeds, all standing, with no crawlers you still get leapers somehow.

The work put in the mod is amazing.
The aesthetic, the immersion and the fear added by the mod are top notch.
But with the mod not having customizable spawn rates is in some cases like mine, truly unplayable. I hope that in the future you will add a sandbox option for the spawn rate.
MakuBexx 4 Oct, 2023 @ 11:15pm 
I third this working on a way to make this game play like an adventure arcade game and the amount not being able to be configured breaks the cohesion a lot.
Afi 28 Oct, 2023 @ 1:59pm 
yeah actually need to reduce spawn, cuz for me in one block i found like 10 of them and worst with hordes
SirDani 26 Nov, 2023 @ 2:07pm 
I'm using this on my modpack and i swear, i need to decrease the spawn ot these things, they spawn like crazy, everywhere
Mereel 27 Nov, 2023 @ 6:52pm 
Originally posted by SirDani:
I'm using this on my modpack and i swear, i need to decrease the spawn ot these things, they spawn like crazy, everywhere

Found a way. Go in the LeaperZedCommands Lua and go to line 94
if doRoll(30) then equip:getVisual():setTextureChoice(ZombRand(5,7)+1); end

and change the doRoll(30) to a 5 or something. Did that and now only like one or three spawn in when I spawn a 100 zombies in at once in debug.
Maxene 29 Dec, 2023 @ 10:04am 
Originally posted by Mereel:
Originally posted by SirDani:
I'm using this on my modpack and i swear, i need to decrease the spawn ot these things, they spawn like crazy, everywhere

Found a way. Go in the LeaperZedCommands Lua and go to line 94
if doRoll(30) then equip:getVisual():setTextureChoice(ZombRand(5,7)+1); end

and change the doRoll(30) to a 5 or something. Did that and now only like one or three spawn in when I spawn a 100 zombies in at once in debug.
Hey did you change doRoll(30) to doRoll(5)?
Woke Stimpy 1 Jan, 2024 @ 12:33am 
Originally posted by Maxene:
Originally posted by Mereel:

Found a way. Go in the LeaperZedCommands Lua and go to line 94
if doRoll(30) then equip:getVisual():setTextureChoice(ZombRand(5,7)+1); end

and change the doRoll(30) to a 5 or something. Did that and now only like one or three spawn in when I spawn a 100 zombies in at once in debug.
Hey did you change doRoll(30) to doRoll(5)?
I actually think you want to set it to doRoll(99) (and do this with all doRolls that have digits after them in the document). The code says it returns a true value if >=, which means it has to roll a 99 or greater. I set it to 99 for all of them, and now Leapers are VERY rare for me. When I set it 1, all the zombies that would respawn were leapers. I'm still testing though, so no guarantees.

edit: nvm, still spawning lots of leapers as time goes on
Last edited by Woke Stimpy; 1 Jan, 2024 @ 6:22pm
Woke Stimpy 1 Jan, 2024 @ 6:21pm 
Originally posted by Remy:
Originally posted by Maxene:
Hey did you change doRoll(30) to doRoll(5)?
I actually think you want to set it to doRoll(99) (and do this with all doRolls that have digits after them in the document). The code says it returns a true value if >=, which means it has to roll a 99 or greater. I set it to 99 for all of them, and now Leapers are VERY rare for me. When I set it 1, all the zombies that would respawn were leapers. I'm still testing though, so no guarantees.
nevermind, it's still spawning new zombies as leapers a lot of the time. not sure it makes a difference.
SirDani 13 Feb, 2024 @ 1:40am 
Originally posted by Mereel:
Originally posted by SirDani:
I'm using this on my modpack and i swear, i need to decrease the spawn ot these things, they spawn like crazy, everywhere

Found a way. Go in the LeaperZedCommands Lua and go to line 94
if doRoll(30) then equip:getVisual():setTextureChoice(ZombRand(5,7)+1); end

and change the doRoll(30) to a 5 or something. Did that and now only like one or three spawn in when I spawn a 100 zombies in at once in debug.


Actually i think i found one way to decrease their spawn, I'm using Random Zombies mod. Leaper Zeds are using the Crawling zeds slot, so i reduced them to 0.01% they are a lot less. though

now the thing is... i'm getting tons of "errors". With Error Magnifier mod, i know they are related to Leaper Zeds but... i do not have the experience to repair that
Last edited by SirDani; 13 Feb, 2024 @ 1:41am
Glytch3r  [developer] 31 Mar, 2024 @ 11:05am 
Guys the wrrors jas been fixed right?

Also i believe you need a cheat mod for changing sandbox settings on sp games idk
I really dont do much sp mods so i have minimal exp sorry
Glytch3r  [developer] 10 Apr, 2024 @ 7:16am 
@Haliv D. Popotkin
are you still experiencing errors or problems pls contact me direcly on discord thanks
Sorry for the delay Glytch3r, i was taking a break from the game but i am now preparing a new hardcore run. Will let you know in the next few days!
< >
Showing 1-12 of 12 comments
Per page: 1530 50