CleverRaven/Cataclysm-DDA

Hitting many enemies at once with Chain Lightning bypasses volume settings and can cause extremely loud game sounds

Open

#69,243 opened on 2023年11月10日

GitHub で見る
 (4 comments) (3 reactions) (0 assignees)C++ (3,991 forks)batch import
(S2 - Confirmed)Help WantedSDL: Tiles / Sound[C++]

Repository metrics

Stars
 (9,264 stars)
PR merge metrics
 (平均マージ 6d 5h) (30d で 292 merged PRs)

説明

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

  • OS: Windows
    • OS Version: 10.0.19045.3570 (22H2)
  • Game Version: 57a0fad [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [ 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

コントリビューターガイド