Importing and sharing custom sounds/textures and what not
Quote from 4thhokaga on August 14, 2012, 10:09 amBeen looking all over for a proper answer to this, I know how to get a custom sound in your map but the issue is having other people download the map but not hearing the custom sounds. I have them packed in specific folders using pakrat but is there something else needed doing to get portal 2 to play the sound?, I have not found a clear tutorial on how to at all and I've been looking
Been looking all over for a proper answer to this, I know how to get a custom sound in your map but the issue is having other people download the map but not hearing the custom sounds. I have them packed in specific folders using pakrat but is there something else needed doing to get portal 2 to play the sound?, I have not found a clear tutorial on how to at all and I've been looking

Quote from josepezdj on August 14, 2012, 10:33 amAssuming you are talking about a map uploaded to the workshop and also assuming you have packed the sound file correctly, I guess that what you're missing is to update (snd_updateaudiocache) / rebuild (snd_rebuildaudiocache) the audio cache. This can be automated by doing the following:
1. Go to your Portal2/portal2/cfg folder
2. Create an autoexec.cfg (plain) text file if there isn't any
3. Add snd_updateaudiocache inYou should pack this autoexec.cfg file though too, and maybe fu*** other ppl's same file...
Also, here there's a good tutorial on the topic.
About textures, to simply pakrat them should do.
Assuming you are talking about a map uploaded to the workshop and also assuming you have packed the sound file correctly, I guess that what you're missing is to update (snd_updateaudiocache) / rebuild (snd_rebuildaudiocache) the audio cache. This can be automated by doing the following:
1. Go to your Portal2/portal2/cfg folder
2. Create an autoexec.cfg (plain) text file if there isn't any
3. Add snd_updateaudiocache in
You should pack this autoexec.cfg file though too, and maybe fu*** other ppl's same file...
Also, here there's a good tutorial on the topic.
About textures, to simply pakrat them should do.

Quote from ChickenMobile on August 15, 2012, 4:49 amYou shouldn't need to update the sound cache if you pack them in the .bsp.
I gave a packed map with a custom sound to my other computer to test and it worked.
You shouldn't need to update the sound cache if you pack them in the .bsp.
I gave a packed map with a custom sound to my other computer to test and it worked.
Quote from 4thhokaga on August 15, 2012, 5:49 amno what josepezdj worked perfect, packed that cfg file in the .bsp with pakrat and all my sounds worked perfect and yes I already had the sounds packed in the right file destination in pakrat at the start just Portal 2 refused to update the sound cache with the map. I mean I had it working fine for me to begin with when I had the sounds in the Portal 2 directory which I added manually but I wanted to share it on workshop and have other people hear it to. But now its all done I'm a try and figure how to add a custom video to the monitor's and what not, I know its possible as I've seen it done before
no what josepezdj worked perfect, packed that cfg file in the .bsp with pakrat and all my sounds worked perfect and yes I already had the sounds packed in the right file destination in pakrat at the start just Portal 2 refused to update the sound cache with the map. I mean I had it working fine for me to begin with when I had the sounds in the Portal 2 directory which I added manually but I wanted to share it on workshop and have other people hear it to. But now its all done I'm a try and figure how to add a custom video to the monitor's and what not, I know its possible as I've seen it done before