r/Tf2Scripts • • Nov 25 '18

Answered Script that silences specific sounds?

All i have are the file names:

~~~~ flame_thrower_dg_end

flame_thrower_dg_loop

flame_thrower_dg_start ~~~~

All i need are the directories. Thanks and hopefully this counts as scripting...

12 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/RexTerm Nov 26 '18

Ok so i already have the file names and the silent wav files for those wav names.

Should i put them on

/tf/custom/customfolder/sound/weapons/

Then the files? I am confident that the files belonged in

tf2_sound_misc_dir.vpk/sound/weapons

Also what format should the files be in?

And does length of silence matter?

2

u/bythepowerofscience Nov 26 '18

*facepalm* Why do I keep forgetting that custom exists when it comes to sound files?
You're right, they go in the first folder you put, and they need to be in the .wav file format. I'm pretty sure the length doesn't matter.

1

u/RexTerm Nov 26 '18

Got it, thanks!

Im guessing it wont work on valve servers (sv_pure something) so ill get back to you shortly!

Edit: also didnt know you were a mod