Old 09-27-2010, 07:01 PM   #1
nsgy
L1: Registered
 
nsgy is offline
Posts: 2
Thanks given: 0
Thanks received: 0

Default TF2 Resupply Sound


How do you remove the resupply sound on func_regenerate? The mapper of tr_walkway did it.

Thanks.
 
Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 09-27-2010, 07:39 PM   #2
Draco18s
When the &*%$ did I become a Veteran Member?
 
Draco18s is offline
Posts: 622
Thanks given: 12
Thanks received: 136

Default TF2 Resupply Sound


Quote:
Originally Posted by nsgy View Post
How do you remove the resupply sound on func_regenerate? The mapper of tr_walkway did it.

Thanks.
Decompile and examine?
 
Reply With Quote
Old 09-30-2010, 12:59 AM   #3
bob+M|M+
L4: Senior Member
 
bob+M|M+'s Avatar
 
bob+M|M+ is offline
Posts: 347
Thanks given: 234
Thanks received: 182

Default TF2 Resupply Sound


My buddy Drexen showed me how to do this. It's especially useful for jump maps. Here you go:

Make a text file named (YOUR MAP)_level_sounds.txt which will go in your maps folder.

In the text file copy and paste this:

// Disable resupply sound
"Regenerate.Touch"
{
"channel""CHAN_ITEM"
"volume""VOL_NORM"
"soundlevel""SNDLVL_NONE"
"pitch""PITCH_NORM"
"wave""vo/null.wav"
}

This replaces the locker sound with the "null" sound which is nothing.

Here are some other examples:

// Demoman cancel pain severe 02
"Demoman.PainSevere02"
{
"channel""CHAN_VOICE"
"volume""VOL_NORM"
"pitch""PITCH_NORM"
"soundlevel""SNDLVL_NONE"
"wave""vo/null.wav"
}

// Demoman cancel pain severe 03
"Demoman.PainSevere03"
{
"channel""CHAN_VOICE"
"volume""VOL_NORM"
"pitch""PITCH_NORM"
"soundlevel""SNDLVL_NONE"
"wave""vo/null.wav"
}

// Demoman cancel pain severe 04
"Demoman.PainSevere04"
{
"channel""CHAN_VOICE"
"volume""VOL_NORM"
"pitch""PITCH_NORM"
"soundlevel""SNDLVL_NONE"
"wave""vo/null.wav"

// Demoman stickie beep cancel
"Weapon_StickyBombLauncher.ModeSwitch"
{
"channel" "CHAN_WEAPON"
"soundlevel" "SNDLVL_NONE"
"volume" "1.0"
"wave" "vo/null.wav"
}

etc..

You can look in the game_sounds_manifest for more examples.

When you distribute the map, be sure to pack the text file in with your map using a packing program such as pakrat.
 
Reply With Quote
The Following 4 Users Say Thank You to bob+M|M+ For This Useful Post:
Advertisement
 
Advertisement
Advertisement Sponsored links

Reply

Previous Thread Next Thread
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 07:09 PM.