Raised This Month: $ Target: $400
 0% 

[TF2] Is there a list, or a way to find out the directories to use for weapon sounds?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 09-24-2014 , 01:50   [TF2] Is there a list, or a way to find out the directories to use for weapon sounds?
Reply With Quote #1

I'm making a plugin that is similar to BeTheRobot, in that you can be the Giant instead if your admin.

Basically, I need to change the weapon sounds, and I noticed not all of them follow a "folder\folder\file" format exactly. For instance, "quake_rpg_remastered" (The Original) is found with the directory "weapons\\quake_rpg_remastered", and the other rockets ")weapons\rocket_".

This is a bit odd, and is incredibly annoying for my needs, as I never know what the sound is actually found with.

I tried adding a line in the sound hook to display the sound being played... but not every weapon is printed to the chat (Minigun and flamethrower for example), and some of the ones it did show don't seem to be right, as the sound isn't changed.

So, is there a reliable way to find these things out, and/or a resource that I can reference? Some help would be appreciated
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it
xXDeathreusXx is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 09-24-2014 , 03:49   Re: [TF2] Is there a list, or a way to find out the directories to use for weapon sou
Reply With Quote #2

I just use the hammer editors sound browser thingy.
Some weapons sounds are just simply clientside and cant be hooked by the server
__________________
Pelipoika is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 09-24-2014 , 09:38   Re: [TF2] Is there a list, or a way to find out the directories to use for weapon sou
Reply With Quote #3

Have you looked in tf2_misc_dir.vpk's scripts/game_sounds_weapons.txt file yet?
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 09-24-2014 , 23:34   Re: [TF2] Is there a list, or a way to find out the directories to use for weapon sou
Reply With Quote #4

Quote:
Originally Posted by Powerlord View Post
Have you looked in tf2_misc_dir.vpk's scripts/game_sounds_weapons.txt file yet?
Huh, I wasn't aware of that, whataya know.

Thanks for the tip, I didn't realize it was so simple, sorry if I wasted your time, I just had no luck in any searches I could think of
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it
xXDeathreusXx is offline
Reply



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 -4. The time now is 02:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode