Project Zomboid

Project Zomboid

[B42/B41] Bandits NPC
B42 Bug - Zombies targets player through walls when they get close to a bandit
Playing on B42, I noticed that zombies that are supposed to attack bandits will suddenly target the player no matter how far the player is, even behind walls.
Zombies can spot and target a distant bandit properly but when the zombie gets close, the zombie will start walking to the player. Bandits will chase them and try to kill them like normal and zombies can still bite bandits that get close enough.

You can get a good visual of this bug with these steps
-load in with debug
-open lua debugger with F11
-click options then in "Pathfind" enable "Render.Path"
-in "Cheat" enabling "Player.SeeEveryone" also helps
-hide behind some walls/buildings without getting spotted.
-spawn some bandits near some zombies as far as you can and watch the path lines lock onto the player

I'm using the latest release of the mod.
最後修改者:Hammer Haunt; 9 月 26 日 上午 12:05
< >
目前顯示第 1-2 則留言,共 2
Hammer Haunt 9 月 25 日 下午 6:07 
here's some screenshots showing the bug in action

first screenshot, some bandits and zombies spot each other
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3574824459
zombies target bandits normally (white lines)

second, they both close in to attack then zombies suddenly target the player through the fence and building.
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3574824469

zombies ignore the bandits, and try to go through the fence instead
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3574824481
Rufi0h 10 月 5 日 上午 5:48 
This has ruined several of my runs. you'd be hiding in your base only to have zombies ravage it looking for you because an NPC ran near by.
< >
目前顯示第 1-2 則留言,共 2
每頁顯示: 1530 50