Project Zomboid

Project Zomboid

1,916 ratings
Random Zombies
14
5
3
3
2
7
3
5
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
321.808 KB
Jun 8, 2022 @ 11:07am
Mar 1, 2023 @ 9:52am
19 Change Notes ( view )

Subscribe to download
Random Zombies

Description
Compatible with version 41.78.16 (solo & multiplayer).

This mod lets you customize how many zombies of each type (crawler, sprinter, smart, tough, etc.) appear in your game. Inspired by Customizable Zombies.

Please make sure you've read the FAQ below before commenting if you have any issues.

Features
  • easily customize how many Crawlers, Shamblers, Fast Shamblers or Sprinters appear in the world
  • easily customize how many Smart zombies, which can open doors, appear in the world
  • easily customize how many Tough and Fragile zombies appear in the world
  • more consistent and less CPU-intensive approach than other mods, with customizable update rate

How to customize spawn rates and update rate
  • go to the Random Zombies page during Sandbox creation or, if you're running a dedicated server, edit your (servername)_SandboxVars.lua file
  • note that Crawler%, Shambler%, FastShambler% and Sprinter% must add up to 100%
  • note that Fragile%, NormalTough% and Tough% must add up to 100%
  • speed defaults to 2% crawlers, 15% shamblers, 78% fast shamblers, 5% sprinters
  • toughness defaults to 100% normal, 0% fragile, 0% tough
  • cognition defaults to 0% smart

Frequently Asked Questions & Troubleshooting
  • The mod is not doing what it's supposed to do in multiplayer
    Make sure you have enabled the mod in BOTH the "Mods" and "Steam Workshop" sections during server creation https://imgur.com/a/qScB2Q8

  • I cannot see the sandbox settings tab for Random Zombies
    The mod needs to be enabled at the main menu for the UI to update (main menu -> Mods, between Options and Workshop)

  • I'm getting an annoying popup window
    This is most likely due to a misconfiguration. Please make sure you read the How to customize spawn rates and update rate section above. If you're still having issues, check the actual error messages in your console.txt file or comment below with a link to your console.txt file (it can be found at C:\Users\(yourname)\Zomboid\console.txt, or ~/Zomboid/console.txt on macOS and Linux).

  • I am not seeing the exact number of sprinters I configured
    There is a random component to the algorithm, but the probability distribution has been tested to be accurately represented (in the limits of what computers can do, i.e. pseudo-randomness). If you notice a consistent large disparity, please check for conflicts with other mods. If you're still having issues, please run `BLTRandomZombies.fullCheck()` in your Lua console in Debug mode and comment below with a link to the 5 generated files (placed in C:\Users\(yourname)\Zomboid\Lua, or ~/Zomboid/Lua on macOS and Linux).

  • Do I need to set Zombie Lore Speed to Random?
    No, the mod will overwrite zombie speed regardless of that setting.

  • What is the Frequency parameter?
    Because of how the game works (modability, zombie recycling, etc.), Random Zombies has to check at regular intervals if the zombies are properly configured. Frequency allows you to choose how often RZ should do the check. In practice, the default setting (7500) works really well and you should not have to worry about it.

  • Can you allow the customization of strength, sight, memory as well?
    Unfortunately, there's no way to do that that I know of today.

  • Is this mod compatible with Night Sprinters?
    Yes, thanks to TheIlluminati!

Enjoy!



[ko-fi.com]

Workshop ID: 2818577583
Mod ID: BLTRandomZombies
Popular Discussions View All (3)
45
Jul 24 @ 4:13am
PINNED: Bug Reports
belette
2
Dec 9, 2022 @ 4:12am
Spanish (ES) Translation- UTF-8
Gatoxulo
1
Aug 30, 2022 @ 8:21am
Traditional Chinese (CH) Translation. UTF-8
UnsetLay
889 Comments
belette  [author] Jul 25 @ 9:44am 
@Anatoly Dyatlov Hi, that's correct
Anatoly Dyatlov Jul 24 @ 9:06am 
Hi. If you set sprinters spawn chance to 0 they wont appear on the map?
belette  [author] Jul 24 @ 4:10am 
@Sturmschütze Sounds like mod conflict. Random Zombies only changes the speed/cognition/health stats of zombies that have already spawned on the map, so I would assume it shouldn't prevent you from seeing TheyKnew zombies, although I'm not familiar with either of those mods.
Sturmschütze Jul 23 @ 1:51pm 
I no longer see the TheyKnew zombies, but it might be an issue with the makeshift clothing mod that makes most zombies clothing tattered?
Captain Jul 16 @ 5:57am 
Oh well that explains a lot, computers are weird.
belette  [author] Jul 16 @ 5:40am 
@Captain oh, that makes sense then, there is this annoying bug where some combinations "won't add up to 100" even though they should. e.g. 33.3 + 33.4 + 33.3 won't work. I was reticent to release a new version with just this bugfix, because mod updates in this game are so disruptive, but you're the 3rd person reporting it, so I might just have to. Sorry for the inconvenience.

P.S.
If you're interested, it's due to how computers handle real numbers. If you go in your browser, press F12 to open the console and input: console.log(33.3 + 33.4 + 33.3), it should show 99.9999... instead of what you'd expect.
Captain Jul 16 @ 5:31am 
Weird, for me the mod kept putting up the error that it didnt equal 100, but i did the math and it all added up to 100%, which was weird.
i just like being very specific with my values, lmao.
belette  [author] Jul 16 @ 5:26am 
@Captain you can specify values with up to 2 decimal places. However, a 0.01% difference means 1 out of 10,000 zombies _on average_, which is incredibly rare and difficult to observe.
Captain Jul 15 @ 10:42pm 
This mod doesn't work with values at or below the hundredths place.
belette  [author] Jul 13 @ 7:43pm 
@GluWert have you read this?
-> The mod needs to be enabled at the main menu for the settings UI to update (main menu -> Mods, between Options and Workshop)