Upvote Upvoted 4 Downvote Downvoted
Switching Weapons Sounds
posted in Q/A Help
1
#1
0 Frags +

I was earlier today switching out the sound files of The Original with the Stock Rocket Launcher. Did it trough the tf2_sound_misc_dir.vpk file by dragging the stock rocket launcher sound files into my custom/*name*/sound/weapons folder, and then replacing its .wav name with the one of The Original. I tested it out by joining a map trough console, and it worked perfectly! Until ...

... I joined a casual game. The thing is that when I play casual, it seems like both of the sounds plays at the same time. I still got the stock sound on my original, but the default original sound at the same time. I got the sound of two weapons at one shot. I'm wondering how I'm supposed to fix this? Help is appreciated!

Edit: If its posted in the wrong forum, please move me to the right one. :)

I was earlier today switching out the sound files of The Original with the Stock Rocket Launcher. Did it trough the tf2_sound_misc_dir.vpk file by dragging the stock rocket launcher sound files into my custom/*name*/sound/weapons folder, and then replacing its .wav name with the one of The Original. I tested it out by joining a map trough console, and it worked perfectly! Until ...

... I joined a casual game. The thing is that when I play casual, it seems like both of the sounds plays at the same time. I still got the stock sound on my original, but the default original sound at the same time. I got the sound of two weapons at one shot. I'm wondering how I'm supposed to fix this? Help is appreciated!

Edit: If its posted in the wrong forum, please move me to the right one. :)
2
#2
4 Frags +

Maybe try replacing the originals wav with an empty wav file.

Maybe try replacing the originals wav with an empty wav file.
3
#3
0 Frags +

I believe this is happening due to casual servers now running sv_pure 1 which basically means that you can't use custom files for a lot of things. Here's the list(type sv_pure into the console):

sound\...                                                   trusted_source
models\...                                 	                trusted_source
materials\...                               	        trusted_source
particles\...                               	                trusted_source
scripts\game_sounds.txt                  	        trusted_source
scripts\game_sounds_manifest.txt         	trusted_source
scripts\game_sounds_player.txt           	trusted_source
scripts\game_sounds_vo.txt               	        trusted_source
scripts\game_sounds_vo_handmade.txt      	trusted_source
scripts\game_sounds_weapons.txt          	trusted_source
scripts\soundmixers.txt                  	        trusted_source
materials\console\...                       	        any
materials\temp\...                          	        any
materials\vgui\logos\ui\...                 	        any
sound\misc\...                              	        any
sound\vo\...                                	        any
sound\ui\...                                	        any
sound\ui\hitsound.wav                   	        any

Basically every file under "trusted_source" will be temporarily overwritten by the server which means that you can't use/or adjust (custom) weapon models, sounds etc.

In theory you should only hear the normal sound for each rocket launcher.
My guess would be that the client says something like "play file A" and the server says "play file B" with file A being the replaced weapon sound and file B being the normal weapon sound(trusted source). This in turn causes you to hear both sounds.

I don't think there's a fix to this other than playing on community servers which have sv_pure set to 0.

To prove my theory you could create a server and change the settings to sv_pure 1 and see what happens.
Although I'm not sure if the server you created uses your own custom files as "trusted source files" or if they use the normal game files in your tf2 directory.

I believe this is happening due to casual servers now running sv_pure 1 which basically means that you can't use custom files for a lot of things. Here's the list(type sv_pure into the console):
[code]
sound\... trusted_source
models\... trusted_source
materials\... trusted_source
particles\... trusted_source
scripts\game_sounds.txt trusted_source
scripts\game_sounds_manifest.txt trusted_source
scripts\game_sounds_player.txt trusted_source
scripts\game_sounds_vo.txt trusted_source
scripts\game_sounds_vo_handmade.txt trusted_source
scripts\game_sounds_weapons.txt trusted_source
scripts\soundmixers.txt trusted_source
materials\console\... any
materials\temp\... any
materials\vgui\logos\ui\... any
sound\misc\... any
sound\vo\... any
sound\ui\... any
sound\ui\hitsound.wav any
[/code]
Basically every file under "trusted_source" will be temporarily overwritten by the server which means that you can't use/or adjust (custom) weapon models, sounds etc.

In theory you should only hear the normal sound for each rocket launcher.
My guess would be that the client says something like "play file A" and the server says "play file B" with file A being the replaced weapon sound and file B being the normal weapon sound(trusted source). This in turn causes you to hear both sounds.

I don't think there's a fix to this other than playing on community servers which have sv_pure set to 0.

To prove my theory you could create a server and change the settings to sv_pure 1 and see what happens.
Although I'm not sure if the server you created uses your own custom files as "trusted source files" or if they use the normal game files in your tf2 directory.
4
#4
0 Frags +

edit scripts\game_sounds_weapons and find the weapon and change "wave" value to desired sound
it has to be sound that is already in the game

edit scripts\game_sounds_weapons and find the weapon and change "wave" value to desired sound
it has to be sound that is already in the game
Please sign in through STEAM to post a comment.