Source SDK

Source SDK

How do I mount custom sounds to a new map in Hammer for L4D2?
I have a map that someone else built for gmod and I'm trying to port it over to Left 4 Dead 2.

I have the original vmf map file, and it points to tons of different sound files, and although I've ripped the original sound files from the workshop item, I can't get my map to find the sound files to play at the appropriate time.

All I hear is the l4d2 ambience that the game doesn't have (like the pistol reverb when I shoot) and none of the map ambience or map trigger sounds.

Where should I put the sound files so that they work, and how do I do it in such a way that when I upload the map to the workshop, it's all bundled together and just works?
< >
Showing 1-3 of 3 comments
Fixed.

snd_rebuildaudiocache

I had to run this command in the Left 4 Dead 2 console in-game and it found all my sound files for me.

Some people say to not do this because it can cause errors. We'll see about that..

I REALLY hope that when I put everything into its own VPK folder that it all just works. I have files dedicated to this map sprouted all over my left 4 dead 2 game... It'd be a real pita if people downloading this map have to download the textures and the sounds and the models and then compile it in the console just to play it without all the missing textures and stuff.
Last edited by Average Wiimote Enjoyer; 24 Aug @ 5:30pm
Rectus 25 Aug @ 8:08am 
It won't work automatically. You will have to build a separate sound cache to include into the vpk.
https://developer.valvesoftware.com/wiki/L4D2_Campaign_Add-on_Tutorial#Creating_a_sound.cache_File
Originally posted by Rectus:
It won't work automatically. You will have to build a separate sound cache to include into the vpk.
https://developer.valvesoftware.com/wiki/L4D2_Campaign_Add-on_Tutorial#Creating_a_sound.cache_File
Thank you so much
< >
Showing 1-3 of 3 comments
Per page: 1530 50