Left 4 Dead 2 Guide

Custom audio scripts

Sharing is temporarily disabled

Left 4 Dead 2 Guide

Custom audio script override

Ever feel tired of the monotonic of L4D2's gunfire ? By default there is no variant or modulation of the gunfire sound, and the game doesn't allow you to modify the sound scripts, but if you mount a new folder with the pak01_dir.vpk inside of it, the game will read it as if it's a new update. 
For some reason the command -M to create splitted VPK to create pak01_dir doesn't work for L4D2's vpk.exe, but you can fool the game by making an addon folder named pak01_dir, with the modified sound script file in it, then create it and put it in the newly mounted folder, namely "extra". 

Only been tested for offline play:

Step 1: Mount the new folder as if it's a new update, mine is called "extra"
Open the gameinfo.txt in gamedirectory/left4dead and add the "extra" folder in like below. The "extra" folder should also have this gameinfo.txt copied over.

SearchPaths { 

Game extra 
Game update 
Game left4dead2_dlc3 
Game left4dead2_dlc2 
Game left4dead2_dlc1 
Game |gameinfo_path|. 
Game hl2 

}

Step 2: Create the vpk. Name your mod folder "pak01_dir" and put the scripts folder with the modified sound scripts in it, then drag it to vpk.exe/its shortcut to create the vpk like a regular addon

Step 3: Put the newly made vpk in the "extra" folder (gamedirectory/extra/pak01_dir.vpk)

Step 4: Build sound cache for the new sound placed in the "extra" folder: Open the console and type/paste the following: snd_buildsoundcachefordirectory ../extra
This will take a few seconds depend on how many file there is.

Step 5: Profit

Credit: Had to beat AnOldLady (creator of bsmod) with a stick to get this
Use the example file:

gamemaps~com/details/26602

Tagged

Community Tags

  • Sound
  • Script

Guide Credits

You may like

  • Mod
    Hyperdimension Neptunia Tank 2
    N/A

    This addon will replace the music that is played during the regular campaign tank and the one in the finale. Songs used: The Apostle of Fear, To Hell Addon is not included in the All in One addon (version 1 is used in there) Thanks to ...

    15,223
  • Mod
    Ms forhunter (Ms Fortune voice remplacer for hu...
    N/A

    Edit 2020: Boi que cambie la descpricion para mas comoda vision...Jej mi pasado si era re cringe en esto de las decripciones. xd Spanish: ¡Hola! Este es mi primer mod que publico y primera version del mod entoces ahi mirara que solo a...

    9,463
  • Mod
    Blackpink Jukebox mod Korean Ver.
    N/A

    This mod will change the music in the jukebox found throughout the game. This is the Korean version and there will be a Japanese version coming soon stay tuned thesaintwillnevercome:Playing with fire(불장난) portal_still_alive:Whistle...

    6,541
  • Mod
    Eranthis' Soundtrack Mod [2]
    9.9

    The soundtrack mod not only replaces all music in the game but also adds music to certain events including more left 4 dead 1 variants and even easter eggs. The mod uses music from various artists, games, and movies to fit individual cam...

    27,943
  • Mod
    Eranthis' Contagion Music
    10

    WARNING: The music plays in low audio due to game settings. There is nothing I can do if the songs are too low. A soundtrack mod modifying the background music for eight campaigns. Contagion music plays when players are not engaged with ...

    34,202

Feedback