The number of zombies roaming the world dramatically influences difficulty and atmosphere. Project Zomboid exposes several variables in its sandbox settings that control how many undead spawn and when. This guide focuses on the PopulationModifier setting, which multiplies the base population. We’ll show you how to find and change it using Wabbanode’s file editor.
Locate the SandboxVars File
- Log in to the Wabbanode Control Panel and Stop your server.
- Go to Files and navigate to
Zomboid/Server/<WorldName>
and locateworld_SandboxVars.lua
. This file contains all sandbox variables for your world. - Open
world_SandboxVars.lua
in the editor.
Adjust the Zombie Population
Inside world_SandboxVars.lua
, you’ll find a line similar to: PopulationModifier = 1.0
The default value 1.0
represents normal population density. Use the following guidelines to modify this value:
- A number greater than 1 (e.g. 1.5 or 2.0) increases the number of zombies. Values above 4 can lead to extremely large hordes.
- A number between 0 and 1 (e.g. 0.5) reduces population, creating a more forgiving world.
- A value of 0 effectively disables zombie respawning, leaving only the zombies that initially generated in the world.
Edit the number accordingly, ensuring you keep the comma at the end of the line. Do not remove surrounding quotation marks or braces, as this may invalidate the Lua syntax.
Save the file and Start your server. The changes will apply to new spawns. Existing zombies will remain unchanged until they despawn or are killed.
Fine‑Tuning Additional Spawn Variables
Although PopulationModifier
has the most noticeable impact, other sandbox variables can tailor zombie behaviour and progression:
- PopulationPeakMultiplier scales the population at the peak day. Values higher than 1 increase the maximum population reached during the peak period.
- PopulationPeakDay the in‑game day when zombie population reaches its peak. Extending this value delays the horde build‑up.
- RespawnHours, RespawnUnseenHours control how long it takes for zombies to respawn in cleared areas.
- RedistributeHours determines how often zombies migrate within the map.
These variables are also located in world_SandboxVars.lua
. Adjust them cautiously and consult the official documentation or community resources for detailed explanations.
After making changes, monitor server performance. Increasing zombie density can demand more CPU and memory. If players experience lag, reduce the population values or allocate more resources.
Testing Your New Settings
Once your server restarts, join the game and explore various areas to see how the new zombie counts feel. You may need to wait for existing zombies to despawn before the new values fully apply. If the difficulty is too high or too low, adjust the numbers again and restart the server.
Modifying the zombie population gives you granular control over the challenge level on your Project Zomboid server. By tweaking PopulationModifier
and related settings through Wabbanode’s file editor, you can create a horde‑heavy nightmare or a calmer sandbox, whichever suits your playstyle.