r284(+) 3D floor type 3 blocks monster sight

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

r284(+) 3D floor type 3 blocks monster sight

Post by Enjay »

From revision 284 onwards (I don't have 283, but 282 was OK) 3D floor type 3 ("defines a non-solid 3D-floor. It is being rendered but isn't processed for any collision checks") seems to be blocking the monster line of sight calculations. Put a monster behind such a 3D floor and he will refuse to shoot at you - which is a change from previous behaviour.

The attached file shows the effect. Start the level and shoot to wake up the chaingunner. He will wander around but will not attack you. Walk into the 3D floor pen and he will attack you. Step out again and he will stop.

Try this in an older version and the chaingunner will attack regardless of where you are standing.

For a real example, again, my Burghead mod shows the effect. The windows in the house are made with 3D floors (to allow the broken glass textures to be stacked above each other) Unfortunately, this also means that the enemies inside the house will not attack you as you make your way in (making assaulting the house far too easy) and, similarly, if you are inside the house defending against the waves of incoming enemies, the enemies won't attack you until they are in the house with you - again making it too easy. Frustratingly, of course, looking at the map again, I'd have been much better using more traditional methods. Mind you, I wouldn't have spotted the bug if I'd done that. ;)
Attachments
3dtype3.zip
(1.3 KiB) Downloaded 68 times
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Just for info, this bug has prompted me to make a few minor changes to the way the windows in the house in the Burghead mod are done and whilst I was at it I made a few other minor changes too.

I'll have to give it a couple of run throughs to check for bugs but I should have an update uploaded by the end of the weekend (oh the pain of slow uploads). So, that means the bug will be irrelevant to this mod at least. Whether it affects any other released mods, I have no idea.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Don't you just love these uninitialized variables...? :?
Locked

Return to “Closed Bugs”