[0.4.5] [SW] Broken Difficulty Speech

Moderator: Raze Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

[0.4.5] [SW] Broken Difficulty Speech

Post by sinisterseed »

So, something kinda broke here.

Selecting a difficulty setting causes a second voice line to be heard right before the one that's supposed to play - for instance, selecting "Who Wants Some Wang" causes the "Haha, you no mess with Lo Wang" voice line to start playing right before "Who wanta some Wang?", so they end up overlapping.
User avatar
Nash
 
 
Posts: 17455
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [0.4.5] [SW] Broken Difficulty Speech

Post by Nash »

This seems to be an engine-wide bug, not just Shadow Warrior. Opening up the menu in Blood, while in the E1L1 demo loop, pauses the "I live again" sound, while the demo continues to play with silent audio in the background. When you close the menu, the "I live again" sound will continue playing from wherever you last played the menu.

Starting a new game in Blood also does not pause the sounds started from the demo loop. You will hear a continuous sound (for example, the moving wall hiding the TNT secret in the first room of E1L1) while the cutscene plays its own sound, they'll overlap.

There are other weird behaviours with regards to sound and pausing but I didn't have time to investigate all of it.
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: [0.4.5] [SW] Broken Difficulty Speech

Post by sinisterseed »

Huh, that's interesting. Just noticed the other issues as well.

The part with starting a new game is something I have first spotted here, but apparently it goes deeper than that - viewtopic.php?f=340&t=67517 . Curious that Duke managed to escape (or maybe not? If the demo loop still worked it would've probably exhibited the same behavior).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49141
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.4.5] [SW] Broken Difficulty Speech

Post by Graf Zahl »

The menu pauses the sound - the demo loop runs behind the menu - pretty obvious what happens here. I have switched off the demo loop in Blood because I find it very annoying when the engine suddenly starts some gameplay with all the noise involved.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49141
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.4.5] [SW] Broken Difficulty Speech

Post by Graf Zahl »

I hope I got it all. It's a bit tricky with this code that has so many different ways to do the same thing.
User avatar
Rachael
Posts: 13726
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [0.4.5] [SW] Broken Difficulty Speech

Post by Rachael »

Graf Zahl wrote:It's a bit tricky with this code that has so many different ways to do the same thing.
Build Engine: In a nutshell.
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: [0.4.5] [SW] Broken Difficulty Speech

Post by sinisterseed »

Build: Making things unnecessarily complicated and hacky since 1993™.

Return to “Closed Bugs [Raze]”