]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
sound attenuation: approximate method 1, for less sounds to be considered
authorRudolf Polzer <divverent@xonotic.org>
Sun, 9 Oct 2011 14:13:24 +0000 (16:13 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 9 Oct 2011 14:13:24 +0000 (16:13 +0200)
defaultXonotic.cfg

index 645b53a80361a196cbeb2826c138bd24cd44d7c6..93a94a1aa16a50adec0a891cc000a1f3482dfa2c 100644 (file)
@@ -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