#Can you play a sound (.wav) from your custom folder client sided regardless of sv cvars?

1 messages · Page 1 of 1 (latest)

ivory knot
#

I'm curious to see if I can play a sound from my tf\custom directory in any way? I wanna hear it client sided and I want it to always work, regardless of sv_pure or sv_cheats or other commands that could interfere.

south lake
#

note if anyone else has cl_customsounds set to 1 they will also be able to hear it but it's extremely unlikely anyone else does

#

also this does a spray so maybe disable your spray

ivory knot
#

so I wouldn't be able to use the play cvar?

south lake
#

well, have you tried it?

ivory knot
# south lake well, have you tried it?

Just did, play works like a charm. It searches in the tf2_sound_misc_dir.vpk and takes base in tf\sound. Therefore something like play ui/buttonclick.wav is ideal :)

south lake
#

then do that instead

ivory knot
#

will do!