Project Zomboid

Project Zomboid

LeaperZed
76561198282268579 2023 年 9 月 7 日 下午 2:25
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!
< >
正在显示第 1 - 12 条,共 12 条留言
76561198282268579 2023 年 9 月 11 日 上午 5:54 
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 2023 年 10 月 4 日 下午 11:15 
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 2023 年 10 月 28 日 下午 1:59 
yeah actually need to reduce spawn, cuz for me in one block i found like 10 of them and worst with hordes
SirDani 2023 年 11 月 26 日 下午 2:07 
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 2023 年 11 月 27 日 下午 6:52 
引用自 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 2023 年 12 月 29 日 上午 10:04 
引用自 Mereel
引用自 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 2024 年 1 月 1 日 上午 12:33 
引用自 Maxene
引用自 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
最后由 Woke Stimpy 编辑于; 2024 年 1 月 1 日 下午 6:22
Woke Stimpy 2024 年 1 月 1 日 下午 6:21 
引用自 Remy
引用自 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 2024 年 2 月 13 日 上午 1:40 
引用自 Mereel
引用自 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
最后由 SirDani 编辑于; 2024 年 2 月 13 日 上午 1:41
Glytch3r  [开发者] 2024 年 3 月 31 日 上午 11:05 
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  [开发者] 2024 年 4 月 10 日 上午 7:16 
@Haliv D. Popotkin
are you still experiencing errors or problems pls contact me direcly on discord thanks
76561198282268579 2024 年 8 月 8 日 上午 3:22 
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!
< >
正在显示第 1 - 12 条,共 12 条留言
每页显示数: 1530 50