From: Rudolf Polzer Date: Sun, 9 Oct 2011 14:13:24 +0000 (+0200) Subject: sound attenuation: approximate method 1, for less sounds to be considered X-Git-Tag: xonotic-v0.6.0~40^2~77 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=abec41f6c279942ebf39e2db21cf907008d32ce7;p=xonotic%2Fxonotic-data.pk3dir.git sound attenuation: approximate method 1, for less sounds to be considered --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 645b53a80..93a94a1aa 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -2161,8 +2161,9 @@ set g_playerstats_debug 0 "when 1, player stats are dumped to the console too" // create this cvar in case the engine did not set snd_soundradius 1200 seta menu_snd_attenuation_method 1 "Use exponential instead of linear falloff for sound attenuation" -alias snd_attenuation_method_0 "set menu_snd_attenuation_method 0; set snd_attenuation_exponent 1; set snd_attenuation_decibel 0" -alias snd_attenuation_method_1 "set menu_snd_attenuation_method 1; set snd_attenuation_exponent 0; set snd_attenuation_decibel 10" +alias snd_attenuation_method_0 "set menu_snd_attenuation_method 0; set snd_soundradius 1200; set snd_attenuation_exponent 1; set snd_attenuation_decibel 0" // Quake default +alias snd_attenuation_method_1 "set menu_snd_attenuation_method 1; set snd_soundradius 2400; set snd_attenuation_exponent 4; set snd_attenuation_decibel 0" // nice approximation for method 2 +alias snd_attenuation_method_2 "set menu_snd_attenuation_method 2; set snd_soundradius 1200; set snd_attenuation_exponent 0; set snd_attenuation_decibel 10" // warning: plays sounds within up to 6000qu snd_attenuation_method_1 // declare the channels we use