Apologies if this has already been reported or it’s intentional, but I’ve seem to be able to take care of turrets very easily in science labs. I simply walk behind a closed metal door, and the turret shoots me as if I were standing there. I can repeat moving behind the door until the turret runs out of ammo, then easily kill it. Unsure if this works for other turrets. I discovered this whilst playing the experimental version 2745.
This part of a video I recorded should explain further.
Is there a possible fix for this in the future, or will the coding be too conplex to get sround this problem? Although using the exploit did avoid me getting shot, it seemed somewhat of a cheat to waste the ammo of the turret, then easily finish it off to move on to the next room.
Looking into it, I suspect it’s a FoV caching thing, I was messing with that recently because it had the opposite problem of turrets shooting at you before they should be able to see you.
Fixed, thanks for reporting Jakers
Turns out it wasn’t FoV caching after all, the special attack code wasn’t checking whether the monster could still see you before attacking.
[quote=“Kevin Granade, post:7, topic:8987”]Fixed, thanks for reporting Jakers
Turns out it wasn’t FoV caching after all, the special attack code wasn’t checking whether the monster could still see you before attacking. https://github.com/CleverRaven/Cataclysm-DDA/pull/11398[/quote]
No problem! Glad I could help you fix this issue. Now I can be scared again whilst travelling inside science labs!