Page 1 of 1

Monster sight versus 3D floors

Posted: Thu Apr 26, 2007 14:25
by Enjay
OK, this is probably an engine limitation rather than a bug, but I thought I'd mention it...

3D floors do not seem to block monster sight for seeing their target (ie, the player usually). You will have seen the 3D house that I have made in the screenshots thread. Now that I have populated it I have noticed that when you are on the ground floor, monsters upstairs will attack even if they have no chance of hitting the player.

Similarly, I have a script that opens the hatch into the attic and activates the previously dormant monsters waiting up there. Immediately that happens, regardless of where I am standing on the floor below, I hear them make their alert sound and then start attacking me. However, all that happens is their attacks impact on the floor/walls of the attic, or on other monsters up there.

Posted: Thu Apr 26, 2007 19:00
by Graf Zahl
A clear case of too complex geometry. Sorry but the sight checking code has its limits and when a true 3D setup is getting too complex there will be cases when it fails.

However, a few months ago I did make some changes which should reduce the problem somewhat.