ZDoom / Raze

Build engine port backed by GZDoom tech. Currently supports Duke Nukem 3D, Blood, Shadow Warrior, Redneck Rampage and Powerslave/Exhumed.
664 stars 59 forks source link

[BUG] [SW] Enemies are alerted to the player through doors and windows that they should not be able to see through #1092

Closed ninjakitty844 closed 1 month ago

ninjakitty844 commented 1 month ago

Raze version

Raze 1.10.2

Which game are you running with Raze?

Shadow Warrior

What Operating System are you using?

Windows 11

Please describe your specific OS version

No response

Relevant hardware info

No response

Have you checked that no other similar issue already exists?

A clear and concise description of what the bug is.

When approaching the door to enter Seppuku Station, enemies will see the player through it and play their alert sound. Somehow, enemies can also see the player through the window used to get the riot gun, even though the player is all the way down on the ground, well below the window.

image image

Steps to reproduce the behaviour.

Explain how to reproduce

  1. Walk by Seppuku Station door
  2. Walk by Seppuku Station riot gun window
  3. Enemies will be alerted even though a straight line cant be drawn from the enemies to the player (without intersecting geometry)

Your configuration

No response

Provide a Log

No response

markanini commented 1 month ago

Does it behave differently in other source ports? Build games can be rather buggy...

ninjakitty844 commented 1 month ago

Does it behave differently in other source ports? Build games can be rather buggy...

I can confirm this is not DOS behavior and it doesn't happen in other Shadow Warrior ports either. In fact this bug didn't exist in the previous versions of Raze.

mjr4077au commented 1 month ago

@ninjakitty844 do you mind confirming the last known good version in your opinion as it'd help backtrack what might have gone wrong here

ninjakitty844 commented 1 month ago

@ninjakitty844 do you mind confirming the last known good version in your opinion as it'd help backtrack what might have gone wrong here

Raze 1.9.1 is the last official release that does not have this issue, or the other one I reported about death sounds playing at incorrect times. I am about to write a report for another bug I found, enemies bouncing up and down when shot with uzi. That bug also does not exist in 1.9.1 but exists in all releases afterwards. I assumed this wasn't vanilla behavior because its really rare, but when I looked into it to write a bug report it turns out its absolutely normal and able to be replicated in DOS (and was the same in 1.9.1), so that (the crossed out part only) can safely be ignored as irrelevant and incorrect.

tldr; I think 1.9.1 was the last bug-free (mostly) release for Shadow Warrior, but I have not tested dev releases only official releases (let me know if you want me to try those too)

ninjakitty844 commented 1 month ago

I think I know what is happening and its related to my other issue about scrambled enemy sounds.

I think the enemies are playing their alert sound instead of their ambient sound. The enemies likely are not actually being alerted to the player, they're just playing the alert sound in place of their ambient sound for some reason...

ninjakitty844 commented 1 month ago

This issue should maybe be closed because at this point I think it's just a duplicate/extension of my other issue...