Left 4 Dead 2 Icon L4D2 Script

Magnum sound fix

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Doktor haus points.
  • Post: Give Doktor haus your thoughts on this Script.
  • Vote: Help Doktor haus win the Monthly Awards.
  • Rate: Give this Script a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Script.
  • Watch: Get notified when this Script is updated.
Mascot

Interested?

Join GameBanana

Already a Bananite? Login

49 lines | 1010 bytes | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
"Magnum.Fire"
{
        "channel"               "CHAN_WEAPON"
        "soundlevel"            "SNDLVL_95dB"
        "wave"          ")weapons/magnum/gunfire/magnum_shoot.wav"
}

"Magnum.Deploy"
{
        "channel"               "CHAN_WEAPON"
        "soundlevel"            "SNDLVL_NORM"
        "volume"                "0.80,0.77"
        "wave"          ")weapons/magnum/gunother/pistol_deploy_1.wav"
}

"Magnum.ClipIn"
{
        "channel"               "CHAN_ITEM"
        "soundlevel"            "SNDLVL_NORM"
        "wave"          ")weapons/magnum/gunother/pistol_clip_in_1.wav"
}

"Magnum.ClipOut"
{
        "channel"               "CHAN_ITEM"
        "soundlevel"            "SNDLVL_NORM"
        "wave"          ")weapons/magnum/gunother/pistol_clip_out_1.wav"
}

"Magnum.ClipLocked"
{
        "channel"               "CHAN_STATIC"
        "soundlevel"            "SNDLVL_NORM"
        "wave"          ")weapons/magnum/gunother/pistol_clip_locked_1.wav"
}

"Magnum.Slideback"
{
        "channel"               "CHAN_ITEM"
        "soundlevel"            "SNDLVL_NORM"
        "wave"          ")weapons/magnum/gunother/pistol_slideback_1.wav"
}

"Magnum.SlideForward"
{
        "channel"               "CHAN_ITEM"
        "soundlevel"            "SNDLVL_NORM"
        "wave"          ")weapons/magnum/gunother/pistol_slideforward_1.wav"
}
By default, Left 4 Dead 2's magnum uses the same reload sounds as the pistols. This script makes it use the reloads in the magnum folder. Custom sound scripts like this for L4D2 will only work on a per-map basis, which means that for every campaign in which you want to use this script, you must make a copy of it, named for example "c1m1_hotel\_level\_sounds.txt", for **every level of that campaign** and place them in the maps folder or pack them into the vpk. I've taken the liberty of uploading scripts for all of the default maps (minus Crash Course, I think).

Download from Skydrive

Posts

  • 5y
    Kyubey avatar
    Kyubey Offline
    Member Joined 5y
    Sir, can you explain how to install this with more details? It's been 3 days I have been messing up with this script and I still don't know what went wrong. It doesn't work on the official campaign maps. =\

    I did everything you said above. I copied, renamed, and placed them on the /maps folder with the exact name of the map(s). Still no good.

    FYI, the script works on custom campaign. Just like you instructed, I repack those scripts into the vpk and put it as usual in the addon folder. The result is good: I can hear the magnum sounds.

    Oh, and what should I do if the custom map already have its own map_level_sounds.txt in it?

    EDIT: Ah heck, I finally solved my own problem. Just make the magnum mod into the highest priority in the addon list then the sounds will come out.

    Thank you for Urik_Kane for your tuts!
    gamebanana com/l4d2/tuts/10543

    10/10

    Witches are ex-magic girls

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Key Authors
Doktor Haus
scripting
Special Thanks
VAlVe Developer Wiki
all the info I needed

Submitter

Doktor haus avatar
Doktor haus avatar Offline
Destiny Flag Affiliation: Destiny
Member Joined 6y
12,959 points Ranked 324th
24 medals 1 legendary 4 rare
  • Reached 100 subscribers Medal icon
  • 3rd Place - Original Weapons Skinning Contest Medal icon
  • Reached 50 subscribers Medal icon
  • Received thanks 50 times Medal icon
  • 6 years a member Medal icon
  • Tutor of the Month, April 2012 Medal icon

Doktor haus avatar
Doktor haus
Destiny Flag
Destiny

Creator
Send a Private Message to the submitter

Category

Stats

Posts
1
Views
5,930
Date Added
5y
Date Modified
5y