From c7e3b2aad87dc477bcaba2cebc1e0f37c3d48aa5 Mon Sep 17 00:00:00 2001 From: mwerezak Date: Tue, 15 Jul 2014 16:26:05 -0400 Subject: [PATCH] Adjusts the volume change in space Did some playtesting with energy guns and revolvers in space. --- code/game/sound.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/sound.dm b/code/game/sound.dm index c700e84592a..5fd05aecd4a 100644 --- a/code/game/sound.dm +++ b/code/game/sound.dm @@ -26,8 +26,8 @@ if (distance > 1) continue - var/new_frequency = 32000 + (frequency - 32000)*0.75 //lower the frequency a bit. very rudimentary - var/new_volume = vol*0.5 //muffle the sound, like we're hearing through contact + var/new_frequency = 32000 + (frequency - 32000)*0.125 //lower the frequency. very rudimentary + var/new_volume = vol*0.15 //muffle the sound, like we're hearing through contact M.playsound_local(turf_source, soundin, new_volume, vary, new_frequency, falloff) else M.playsound_local(turf_source, soundin, vol, vary, frequency, falloff)