Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
Audio Fix???
By m30w
snd_prefetch_common is the cvar in question.

the cvar is supposed point to a text file that doesnt exist, ur going to create that file
   
Award
Favorite
Favorited
Unfavorite
how 2
\Left 4 Dead 2\left4dead2\scripts

the cvar is supposed point to a text file that doesnt exist

u create that file

go to that directory and create a txt file called sound_prefetch.txt

and add this to it
"sound/player/boomer"
"sound/player/charger"
"sound/player/footsteps"
"sound/player/hunter"
"sound/player/jockey"
"sound/player/pz"
"sound/player/smoker"
"sound/player/spitter"
"sound/player/tank"

execute
snd_prefetch_common 1

we could probably add more sounds to precache but the SI are the only really super important ones for now.

EDIT:
*** Enable legacy surround system***
Might need to also use snd_legacy_surround 1 if you havent already enabled it, i had assumed everyone would have enabled it by now because the sound is way better with the old system. I've had this enabled since like 2011 and just assumed everyone already knew about it lol.
4 Comments
m30w  [author] 12 Aug, 2024 @ 10:48pm 
Just add the directory for the sound files into there and it ought to work. The last time i went idle im pretttyyyyy sure the tank music ought to continue, then again that had to of been years ago, cuz i always stay to help kill the tank before i leave.
Vox 12 Aug, 2024 @ 9:11pm 
wait is that why ♥♥♥♥ like the tank music stops when you go idle? I'm gonna test this out
m30w  [author] 12 Aug, 2024 @ 3:27pm 
"Cache prefetching is a technique used by computer processors to boost execution performance by fetching instructions or data from their original storage in slower memory to a faster local memory before it is actually needed "

Loads the sounds into ram.

I have a theory that the loss of sound accuracy and often times sounds completely is due to repeated patching thats increasing engine latency to the point where it'll drop the sound completely because the time of relevance(time to keep alive) has passed.
Vox 12 Aug, 2024 @ 12:10am 
what exactly does this do? just make the SI sound effects louder?