Fixes the range and dropoff of some sounds (#7405)

This commit is contained in:
fernerr
2019-11-13 19:23:57 +01:00
committed by Werner
parent c5a729d830
commit 78c2dacbb9
5 changed files with 47 additions and 6 deletions
+1 -1
View File
@@ -141,7 +141,7 @@
var/burst_time = (min_burst_delay + max_burst_delay)/2 + 2*(burst_shots-1)
var/power_per_shot = active_power_usage * (burst_time/10) / burst_shots
playsound(src.loc, 'sound/weapons/emitter.ogg', 25, 1)
playsound(src.loc, 'sound/weapons/emitter.ogg', 25, 1, 3, 0.5, 1)
if(prob(35))
spark_system.queue()
+3 -3
View File
@@ -335,7 +335,7 @@
if(silenced)
playsound(src, fire_sound, 10, 1)
else
playsound(src, fire_sound, 75, 1, 5, 0.9, 1)
playsound(src, fire_sound, 75, 1, 3, 0.5, 1)
if (muzzle_flash)
set_light(muzzle_flash)
@@ -378,7 +378,7 @@
if(silenced)
playsound(user, fire_sound, 10, 1)
else
playsound(user, fire_sound, 75, 1, 5, 0.9, 1)
playsound(user, fire_sound, 75, 1, 3, 0.5, 1)
if (playemote)
if(reflex)
@@ -490,7 +490,7 @@
if(silenced)
playsound(user, fire_sound, 10, 1)
else
playsound(user, fire_sound, 75, 1, 5, 0.9, 1)
playsound(user, fire_sound, 75, 1, 3, 0.5, 1)
in_chamber.on_hit(M)