Importing Custom Sounds
spongylover123 wrote:
pack it in the bsp. using pakrat or bspzip.
https://developer.valvesoftware.com/wiki/BSPZIP
https://developer.valvesoftware.com/wiki/Pakrat
If you're publishing it in the workshop don't forget to use the clientcommand to rebuild the audiocache on map spawn 
Lpfreaky90 wrote:
spongylover123 wrote:pack it in the bsp. using pakrat or bspzip.
https://developer.valvesoftware.com/wiki/BSPZIP
https://developer.valvesoftware.com/wiki/PakratIf you're publishing it in the workshop don't forget to use the clientcommand to rebuild the audiocache on map spawn
How do you execute that? I wasn't sure if i founnd the correct info.
Fracture wrote:
^ lol

Fracture wrote:
How do you execute that? I wasn't sure if i founnd the correct info.
I don't feel like writting about this again, but I rememberd I already posted some easy steps to follow in order to embed files with pakrat. Check this post. I hope it helps!
What Lp meant was just add an entity called point_clientcommand to you map and a logic_auto with the following output:
OnMapSpawn > [point_clientcommand_name_here] > command > snd_rebuildaudiocache delay 0.10
Try it and let us know if that works. ![]()
Brainstone wrote:
Just curious: Does snd_updateaudiocache serve the same function? because I think it's a lot faster.
Yes, I do think so. In several forums ppl say to try first the update command instead of rebuild, maybe because it's faster. ![]()