Left 4 Dead 2

Magnum sound fix

This is a Script for Left 4 Dead 2 submitted by Doktor haus.

Attention Gamer! Join GameBanana, one of the oldest mod sites, and maximize your browsing experience.

  • Subscribe: Get notified when Doktor haus submits again.
  • 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

Stop Lurking!

Sign up

Already a Bananite? Login

Magnum sound fix

49 lines | 1010 bytes | Raw Code
Font size:
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

  • You must be a member

Comments

  • Kyubey avatar
    Kyubey Offline
    Member Joined 4 years ago
    Report post
    4 years ago:
    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
About this module
This module lists all those involved in the creation of this Script.

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 5 years ago
12,033 points Ranked 333rd
17 medals 0 legendary, 1 rare
  • 3rd Place - Original Weapons Skinning Contest Medal icon
  • Tutor of the Month, April 2012 Medal icon
  • 5th Place - Oddities Skinning Contest Medal icon
  • 4th Place - L4D2 Skinning Contest Medal icon
  • Became a Studio Leader Medal icon
  • Reached 1,000 Points Medal icon

Doktor haus avatar
Doktor haus
Destiny Flag
Destiny

Creator
About this module
This module lets you send a private message to the submitter (Doktor haus).
About this module
This module displays what game this Script is for.

Game

About this module
This module displays this Script's category.

Category

Stats

Posts
1
Views
4,888
Date Added
4 years ago
Jan 15 2012 @ 4:31pm UTC
Date Modified
4 years ago
Mar 7 2012 @ 9:22pm UTC
About this module
This module shows the average user rating of this Script.

Rating

10
Votes
1
About this module
This module shows how the ratings are dispersed among the criteria.

Ratings Breakdown

CriterionAvg.VotesRange
Overall 10 1 -
About this module
This module tells you what you can and cannot do with this Script.

License

WiPs by Doktor haus