Hitting many enemies at once with Chain Lightning bypasses volume settings and can cause extremely loud game sounds #69243
Labels
[C++]
Changes (can be) made in C++. Previously named `Code`
Help Wanted
Not particularly urgent or easy (see Good First Issue for this), but help is appreciated with this!
(S2 - Confirmed)
Bug that's been confirmed to exist
SDL: Tiles / Sound
Tiles visual interface and sounds.
Describe the bug
To be clear, I mean real-life sound, coming out of the player's computer when using a soundpack, not in-game sound.
Due to the way sounds stack, when the same sound is triggered many times, its volume increases. There seem to be no limit to this, and when a sound repeats hundreds of times in a turn, the sound can be EXTREMELY loud. I'm honestly not sure how the game is managing to make my headphones emit a sound this loud, but with the system volume at 65%, and the game's sound effect volume at 10%, it was loud enough to cause me physical discomfort and I had to completely mute the game until I stopped using this ability.
Attach save file
Debug.zip
Steps to reproduce
Install a "sounds" version of the game, enable sound and the CC-Sounds soundpack, load provided save file,
shoot a chain lightning into the crowd of zombies. I suggest you turn your volume very low before you try this. As in, 1%.set in-game sound effect-volume to a low value (e.g. 10%), note how quiet the sound effects are. Shoot a chain lightning into the crowd of zombies, compare how loud the sound effect for that is.
The sound happens when the chain lightning is done spreading.
Expected behavior
Not exploding the user's ears and/or sound device
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms],
Slowdown Fungal Growth [no_fungal_growth]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: