How to make zombies open doors in Project Zomboid
Set Cognition = 1, inside ZombieLore in Zomboid/Server/main_SandboxVars.lua and restart the server.
ZombieLore.Cognition
How smart zombies are: 1 navigate and use doors, 2 navigate, 3 basic navigation, 4 random. Default 3.
Cognition = <number>, Examples
Cognition = 1, Zombies use doors.
Values
| Value | What it does |
|---|---|
| 1 | Navigate and Use Doors |
| 2 | Navigate |
| 3Default | Basic Navigation |
| 4 | Random |
What it does
With 1, zombies open doors.
Good to know
- Set it in
Zomboid/Server/main_SandboxVars.luaon the **Files** tab (under **Advanced**) and restart the server. - It sits inside the
ZombieLore = { ... }block of that file.
Run it on your server
Admin commands go in the Console tab of the server page without the slash (players), or in game chat with it (/players) from an admin account. Settings live in Zomboid/Server/main.ini and main_SandboxVars.lua on the Files tab and apply at the next start. New to this? Start a Project Zomboid server first.
Your own
Project Zomboid server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.