Importing Custom Sounds

Avatar
Lpfreaky90
2,842 Posts
Posted Jun 12, 2012
Replied 57 minutes later

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 :wink:

Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Jun 12, 2012
Replied 1 hour later
Or use FudgePacker, it's easier than either of those.
Avatar
Fracture
797 Posts
Posted Jun 13, 2012
Replied 3 hours later

Lpfreaky90 wrote:
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 :wink:

How do you execute that? I wasn't sure if i founnd the correct info.

Avatar
spongylover123
944 Posts
Posted Jun 13, 2012
Replied 1 minutes later

Fracture wrote:
^ lol

:sigh:

Avatar
josepezdj
2,386 Posts
Posted Jun 13, 2012
Replied 1 hour later

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!

Avatar
Fracture
797 Posts
Posted Jun 13, 2012
Replied 37 minutes later
oh...uh... i meant the clientcommand for hammer :p
Avatar
josepezdj
2,386 Posts
Posted Jun 13, 2012
Replied 42 minutes later
Ohh that! Sry.

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. :thumbup:

Avatar
Brainstone
401 Posts
Posted Jun 13, 2012
Replied 3 hours later
Just curious: Does snd_updateaudiocache serve the same function? because I think it's a lot faster.
Avatar
josepezdj
2,386 Posts
Posted Jun 13, 2012
Replied 3 minutes later

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. :thumbup:

Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Jun 13, 2012
Replied 1 hour later
If you have the standard global entities instance in there, it has a point_clientcommand named @client.