Left 4 Dead 2

Left 4 Dead 2

Voir les stats:
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
Dernière modification de Kyo Tanaka; 5 mai 2013 à 16h40
< >
Affichage des commentaires 1 à 7 sur 7
try snd_updateaudiocache after rebuilding. It will fixiate the sound cache to new sounds you place in the directories.
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.
Dernière modification de Kyo Tanaka; 5 mai 2013 à 16h41
Milla 24 févr. 2015 à 9h23 
I have the same problem. Did you resolve this ?
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.

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.
5 déc. 2015 à 4h40 
I'm having the same problem >_<
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.
< >
Affichage des commentaires 1 à 7 sur 7
Par page : 1530 50

Posté le 5 mai 2013 à 15h35
Messages : 7