Left 4 Dead 2

Left 4 Dead 2

View Stats:
Kyo Tanaka May 5, 2013 @ 3:35pm
Modding Tank Music Help?
I am trying to make a modded tank theme to play another song. However, I keep running into one issue while I resolved all others... The song does not loop properly. It's length is still the original tank theme, and I'm having trouble changing it's length to something different

I tried using snd_rebuildaudiocache
But all that did was made "sound.cache" with the modified tank songs included in it. I want to change the tank's music's length so I can play a longer song without it looping early.

EDIT: THe above command just rebuilds the sound.cache in the sound folder, not create a sound.cache in an unpackaged valve add-on file. I was referring to snd_buildsoundcachefordirector
Last edited by Kyo Tanaka; May 5, 2013 @ 4:40pm
< >
Showing 1-7 of 7 comments
ÜberKiller May 5, 2013 @ 3:51pm 
try snd_updateaudiocache after rebuilding. It will fixiate the sound cache to new sounds you place in the directories.
Kyo Tanaka May 5, 2013 @ 4:25pm 
I am sorry. I meant snd_buildsoundcachefordirector. >< The one where you can made a sound.cache to a specified location in add-ons.

So after I do that, I do snd_updateaudiocache? Will it affect files that's in VPK?

EDIT: Tried it. Music is still cut early.
Last edited by Kyo Tanaka; May 5, 2013 @ 4:41pm
Nepgearsy Feb 24, 2015 @ 9:23am 
I have the same problem. Did you resolve this ?
Kyo Tanaka Feb 24, 2015 @ 3:16pm 
Yes, but I've given up on it. Only real way to get around this is to not use the workshop and do the command above as stated. Unless they recently changed something about this on L4D2 workshop of course.

Gimmeh Jibbs! Feb 24, 2015 @ 6:58pm 
I have modded Tank music that runs about twice as long, but unfortunately the only way I could figure to get it to work was manually replacing the music sound file itself in the directory and then using snd_rebuildaudiocache.
per:vert: Dec 5, 2015 @ 4:40am 
I'm having the same problem >_<
The Last Jed Dec 5, 2015 @ 7:23am 
You need to create cue points in the wave file. You can do that with Goldwave audio editor. Cue points only work in waves.

1 - open the wave file in Goldwave.
2 - click on the Cues button at the end of the main bar (where New, Open, Save etc buttons are).
3 - once the Cue Points window opens, select "New". It will open the "Edit Cue Point" window.
4 - click on "At Start" and name it "start_cue" without the quotes. Click OK.
5 - Repeat step 3. Click on "At Finish" and name it to "end_cue" without the quotes. Click OK.
6 - Close the Cue Points window and save the wave file.
7 - THEN do the "snd_buildsoundcachefordirectory XXXXX" step.
< >
Showing 1-7 of 7 comments
Per page: 15 30 50

Date Posted: May 5, 2013 @ 3:35pm
Posts: 7