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

View File

@@ -64,7 +64,7 @@
def_zone = H.zone_sel.selecting
H.setMoveCooldown(fire_time)
P.launch_projectile(target, def_zone, user, params)
playsound(chassis, fire_sound, fire_volume, 1, 5, 0.9, 1)
playsound(chassis, fire_sound, fire_volume, 1, 3, 0.5, 1)
/obj/item/mecha_parts/mecha_equipment/weapon/proc/reset_fire()
set_ready_state(1)

View File

@@ -32,7 +32,7 @@
S.icon_state = "shield0"
to_chat(M, "<span class='danger'>BANG</span>")
playsound(src.loc, 'sound/weapons/flashbang.ogg', 50, 1, 5, 0.9, 1)
playsound(src.loc, 'sound/weapons/flashbang.ogg', 50, 1, 3, 0.5, 1)
//Checking for protections
var/eye_safety = 0

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()

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)

View File

@@ -0,0 +1,41 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# wip (For works in progress)
# tweak
# soundadd
# sounddel
# rscadd (general adding of nice things)
# rscdel (general deleting of nice things)
# imageadd
# imagedel
# maptweak
# spellcheck (typo fixes)
# experiment
# balance
# admin
# backend
# security
# refactor
#################################
# Your name.
author: Ferner
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True
# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
changes:
- tweak: "Tweaked the range and heightened the dropoff of some sounds, particularly gunfire. Emitters are also audible through walls again."