Adding Sounds To Portal 2 SDK
Quote from FelixGriffin on September 5, 2012, 7:50 pmScene choreographer? You mean the face poser? You CAN do it that way, but it's hard, and you won't be able to put your map on the workshop or release it as a stand-alone map.
Anyway, just record it in Audacity and save it as a 44100 WAV file.
Scene choreographer? You mean the face poser? You CAN do it that way, but it's hard, and you won't be able to put your map on the workshop or release it as a stand-alone map.
Anyway, just record it in Audacity and save it as a 44100 WAV file.
Quote from Faja_2485 on September 5, 2012, 8:09 pmWill the Audio cache (The one I rebuilt with snd_rebuildaudiocache) stay with the map or will who ever I give it to need to do it too.
Will the Audio cache (The one I rebuilt with snd_rebuildaudiocache) stay with the map or will who ever I give it to need to do it too.


Quote from josepezdj on September 6, 2012, 4:17 amThe command snd_rebuildaudiocache is slower than snd_updateaudiocache and both are ok for what you are trying to do. In order to automate the command snd_updateaudiocache you can try this:
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 inNow you should embed that autoexec.cfg into the bsp using pakrat along with the custom sound you create. This way, everyone will listen to it with no problem.
The command snd_rebuildaudiocache is slower than snd_updateaudiocache and both are ok for what you are trying to do. In order to automate the command snd_updateaudiocache you can try this:
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
Now you should embed that autoexec.cfg into the bsp using pakrat along with the custom sound you create. This way, everyone will listen to it with no problem.
Quote from greykarel on September 6, 2012, 5:24 amjosepezdj wrote:Now you should embed that autoexec.cfg into the bsp using pakrat along with the custom sound you create. This way, everyone will listen to it with no problem.Actualy, you dont't need to have any autoexec files in your .bsp.and update audiocash at all if you packed your sound files into .bsp. It worked for me and everyone who played my map Hard Light.
Actualy, you dont't need to have any autoexec files in your .bsp.and update audiocash at all if you packed your sound files into .bsp. It worked for me and everyone who played my map Hard Light.

Quote from josepezdj on September 6, 2012, 5:46 amNow that you mention it, I remember ChickenMobile saying the same... Thanks for the correction.
Now that you mention it, I remember ChickenMobile saying the same... Thanks for the correction.