Configure Infection and Mortality Settings
Customize zombie virus transmission, mortality timelines, and reanimation on your Project Zomboid server. Includes the difference between Knox Infection and wound infection.
Project Zomboid has two separate infection systems: the Knox Infection (zombie virus) and regular wound infection. Understanding the difference is critical for configuring your server correctly.
Knox Infection vs. Wound Infection
| Knox Infection (Zombie Virus) | Wound Infection | |
|---|---|---|
| Cause | Zombie bites, scratches, lacerations | Dirty bandages, unsterilized wounds |
| Curable? | No — always fatal (unless Mortality = Never) | Yes — antibiotics, disinfectant, clean bandages |
| Turns you into a zombie? | Yes (if Reanimate is enabled) | No |
| Controlled by | ZombieLore.Transmission | Game's medical system |
| Can be disabled? | Yes — set Transmission = 4 | No — always active |
📝 Note: Setting
Transmission = 4(None) disables the zombie virus but does not disable wound infection. Players can still get infected wounds from dirty bandages or unsterilized injuries — those are treated with antibiotics and clean bandages.
Transmission Settings
Edit Zomboid/Server/[servername]_SandboxVars.lua:
ZombieLore = {
Transmission = 1,
Mortality = 5,
Reanimate = 3,
},| Value | Setting | Description |
|---|---|---|
| 1 | Blood + Saliva | Bites always infect. Scratches and lacerations have a chance |
| 2 | Saliva Only | Only bites transmit the virus |
| 3 | Everyone's Infected | All players reanimate on death regardless of cause |
| 4 | None | Zombie virus is completely disabled |
Infection Chances (Blood + Saliva mode)
| Injury | Infection Chance |
|---|---|
| Bite | 100% |
| Laceration (from zombie) | 25% |
| Scratch (from zombie) | 7% |
Mortality Settings
Controls how long infected players survive.
| Value | Time Until Death |
|---|---|
| 1 | Instant |
| 2 | 0–30 seconds |
| 3 | 0–1 minute |
| 4 | 0–12 hours |
| 5 | 2–3 days (default Apocalypse) |
| 6 | 1–2 weeks |
| 7 | Never (infected but won't die from it) |
Use InfectionMortalityDuration to set a custom duration in hours (overrides the Mortality value when set to anything other than -1).
Reanimation Settings
Controls how fast dead players become zombies. The dead character becomes a zombie NPC that other players can encounter.
| Value | Time Until Reanimation |
|---|---|
| 1 | Instant |
| 2 | 0–30 seconds |
| 3 | 0–1 minute (default Apocalypse) |
| 4 | 0–12 hours |
| 5 | 2–3 days |
| 6 | 1–2 weeks |
📝 Note: There is no setting to completely disable reanimation on its own. To prevent player reanimation, set
Transmission = 4(None) so players never get the Knox Infection in the first place.
Common Configurations
Default (Unforgiving)
ZombieLore = {
Transmission = 1,
Mortality = 5,
Reanimate = 3,
},Standard experience. Bites are a death sentence. Scratches and lacerations have a chance of infection. Death in 2–3 days.
Bite Only
ZombieLore = {
Transmission = 2,
Mortality = 5,
Reanimate = 3,
},Only bites infect. Scratches and lacerations are just wounds to treat. More forgiving but bites are still fatal.
No Zombie Infection
ZombieLore = {
Transmission = 4,
Mortality = 7,
},Zombie virus is completely disabled. Players can still die from blood loss, regular wound infections, starvation, and other injuries — just not from the Knox Infection.
Walking Dead Mode
ZombieLore = {
Transmission = 3,
Mortality = 5,
Reanimate = 1,
},Everyone carries the virus. Any death — from falls, gunshots, starvation, or zombie bites — causes the player's corpse to reanimate as a zombie.
Quick Death on Infection
ZombieLore = {
Transmission = 1,
Mortality = 1,
Reanimate = 1,
},Infection kills instantly. No lingering sickness — bitten and dead immediately.
Slow Infection (Long Goodbye)
ZombieLore = {
Transmission = 1,
Mortality = 6,
Reanimate = 6,
},Infected players survive 1–2 weeks. They can continue playing, prepare their belongings, and say goodbye before eventually dying.
Infected but Immortal
ZombieLore = {
Transmission = 1,
Mortality = 7,
},Players can get infected but never die from it. The queasy/anxious moodles appear but the virus never kills. Useful for roleplay servers.
How to Tell If You're Infected
Players progress through these stages after Knox Infection:
- Queasy — early symptom, could be food poisoning or infection
- Anxious — growing unease, more likely to be infected
- Nauseous — definite infection indicator
- Fever — infection is progressing
- Death — based on Mortality setting timeline
There is no in-game test to confirm Knox Infection early. Players must wait and observe symptoms. The uncertainty is part of the gameplay — a scratch might kill you, or it might be nothing.
Related Guides
See also: Zombie Settings | Sandbox Settings | PVP Settings
If you need help, join our Discord.
How is this guide?
