From abec41f6c279942ebf39e2db21cf907008d32ce7 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 9 Oct 2011 16:13:24 +0200 Subject: [PATCH] sound attenuation: approximate method 1, for less sounds to be considered --- defaultXonotic.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.2