Configure Zombie Settings

Customize zombie population, speed, strength, behavior, senses, decomposition, and respawning on your Project Zomboid server.

Zombie behavior is controlled through the SandboxVars.lua file. Settings are divided into two groups: ZombieLore (individual zombie behavior) and ZombieConfig (population and respawning).

Editing Zombie Settings

On XGamingServer, go to Files and open:

Zomboid/Server/[servername]_SandboxVars.lua

Zombie lore settings use the ZombieLore prefix:

SandboxVars.lua
SandboxVars = {
    ZombieLore = {
        Speed = 2,
        Strength = 2,
        Toughness = 2,
        Transmission = 1,
        Mortality = 5,
        Reanimate = 3,
    },
}

Zombie Speed

ValueSettingDescription
1SprintersFull-speed running zombies (hardest)
2Fast ShamblersBrisk walking pace (default Apocalypse)
3ShamblersClassic slow zombies
4RandomEach zombie gets a random speed

Zombie Strength

ValueSettingDescription
1SuperhumanVery high damage per hit
2NormalDefault damage
3WeakReduced damage
4RandomEach zombie gets random strength

Zombie Toughness

ValueSettingDescription
1ToughTakes more hits to kill
2NormalDefault health
3FragileDies easily
4RandomEach zombie gets random toughness

Zombie Cognition

ValueSettingDescription
1Navigate + Use DoorsSmartest — can open doors and path around obstacles
2NavigateCan path around obstacles but cannot open doors
3Basic NavigationMinimal intelligence (default)
4RandomEach zombie gets random cognition

Day/Night Activity

Controls when zombies are most active. Combine with Speed settings for interesting gameplay.

ValueSettingDescription
1BothActive day and night equally (default)
2NightMore active at night, sluggish during day
3DayMore active during day, sluggish at night

💡 Tip: Set ActiveOnly = 2 with Speed = 1 to create night sprinters — zombies that sprint at night but are slow during the day. This is one of the most popular custom configurations.

Zombie Senses

Sight

ValueSetting
1Eagle (very long range)
2Normal (default)
3Poor (short range)
4Random

Hearing

ValueSetting
1Pinpoint (extremely accurate)
2Normal (default)
3Poor
4Random

Smell

ValueSetting
1Bloodhound (strong detection)
2Normal (default)
3Poor

Memory

ValueSetting
1Long (remembers your position a long time)
2Normal (default)
3Short
4None (forgets immediately)
5Random

Decomposition

Controls how zombies change over months of game time.

ValueSettingDescription
1Slows and WeakensZombies get slower AND weaker over time
2SlowsZombies slow down but maintain strength
3WeakensZombies weaken but maintain speed
4No EffectZombies never decompose (default)

Zombie Behavior Flags

SettingTypeDefaultDescription
ThumpNoChasingbooleanfalseZombies attack structures even when not chasing a player
ThumpOnConstructionbooleantrueZombies destroy player-built constructions
TriggerHouseAlarmbooleanfalseZombies can trigger house alarms
ZombiesDragDownbooleantrueZombies can drag players to the ground
ZombiesFenceLungebooleantrueZombies can lunge over fences

Fake Dead (Playing Possum)

ValueSetting
1Some zombies pretend to be dead — reanimate when you get close
2Even killed zombies may get back up
3Never pretend dead (all corpses are truly dead)

Crawl Under Vehicles

ValueSetting
1Crawlers Only
2Extremely Rare
3Rare
4Sometimes
5Often (default)
6Very Often
7Always

Population Settings

These use the ZombieConfig prefix:

SettingDefaultDescription
PopulationMultiplier1.0Overall zombie population (0.0 = none, 4.0 = insane)
PopulationStartMultiplier1.0Population multiplier on day 1
PopulationPeakMultiplier1.0Population multiplier at peak day
PopulationPeakDay28Day when population reaches its peak
RespawnHours72.0Hours before zombies respawn in cleared areas (0 = no respawn)
RespawnUnseenHours16.0Hours a cell must be unseen before respawn
RespawnMultiplier0.1Fraction of original zombies that respawn each cycle
RedistributeHours12.0How often zombies migrate across the map
FollowSoundDistance100Distance (tiles) zombies will investigate sounds
RallyGroupSize20Maximum zombie group/horde size
RallyTravelDistance20Distance groups will migrate
RallyGroupSeparation15Minimum distance between groups
RallyGroupRadius3Radius of a zombie group

Population Scale

PopulationMultiplierLabel
0.0None
0.35Low
1.0Normal
2.0High
3.0Very High
4.0Insane

Infection and Mortality

Infection settings are also under ZombieLore. See Infection and Mortality for the full guide covering transmission, mortality timelines, and reanimation.

Casual PvE

SandboxVars.lua
ZombieLore = {
    Speed = 3,
    Strength = 3,
    Toughness = 3,
    Transmission = 4,
    Cognition = 3,
    Memory = 3,
    Sight = 3,
    Hearing = 3,
    ActiveOnly = 1,
    Decomp = 1,
    DisableFakeDead = 3,
},
ZombieConfig = {
    PopulationMultiplier = 0.5,
    RespawnHours = 0.0,
},

Slow, weak zombies with no infection and no respawning.

Night Sprinters

SandboxVars.lua
ZombieLore = {
    Speed = 1,
    Strength = 2,
    Toughness = 2,
    ActiveOnly = 2,
    Sight = 1,
    Hearing = 1,
    Memory = 1,
    DisableFakeDead = 1,
},
ZombieConfig = {
    PopulationMultiplier = 1.5,
},

Sprinting zombies at night, sluggish during the day. Eagle eyesight and pinpoint hearing.

Hardcore Survival

SandboxVars.lua
ZombieLore = {
    Speed = 1,
    Strength = 1,
    Toughness = 1,
    Transmission = 1,
    Mortality = 5,
    Cognition = 1,
    Sight = 1,
    Hearing = 1,
    Memory = 1,
    ZombiesDragDown = true,
    ZombiesFenceLunge = true,
    Decomp = 4,
},
ZombieConfig = {
    PopulationMultiplier = 4.0,
    PopulationPeakDay = 14,
},

Maximum population sprinters that can open doors. No decomposition. Peak at day 14.

No Zombies (Building Server)

SandboxVars.lua
ZombieConfig = {
    PopulationMultiplier = 0.0,
    RespawnHours = 0.0,
},

See also: Infection and Mortality | Sandbox Settings | Loot Respawn | Configure Your Server

If you need help, join our Discord.

How is this guide?

40% Off — Limited TimeGet your Project Zomboid server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page