From: Rudolf Polzer Date: Tue, 27 Sep 2011 17:21:39 +0000 (+0200) Subject: more attenuation for casings X-Git-Tag: xonotic-v0.6.0~40^2~106^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c67d506dc510685d3f49fb8e4c350f89e23c3a73;p=xonotic%2Fxonotic-data.pk3dir.git more attenuation for casings --- diff --git a/qcsrc/client/casings.qc b/qcsrc/client/casings.qc index 269f93087..1e2d4fbd8 100644 --- a/qcsrc/client/casings.qc +++ b/qcsrc/client/casings.qc @@ -55,7 +55,7 @@ void Casing_Touch() break; } - sound (self, CH_SHOTS, s, VOL_BASE, ATTN_NORM); + sound (self, CH_SHOTS, s, VOL_BASE, ATTN_LARGE); } } } diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index ebad7a6f0..9c4057873 100644 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@ -464,6 +464,7 @@ float CH_TUBA = 5; float ATTN_NONE = 0; float ATTN_MIN = 0.015625; float ATTN_NORM = 0.5; +float ATTN_LARGE = 1; float ATTN_IDLE = 2; float ATTN_STATIC = 3; float ATTN_MAX = 3.984375;