"Scene 'scenes/npc/**/ai_1_intro.vcd' missing!"
Skotty wrote:
If you put all your custom sounds and scenes in a VPK it should work without rebuilding anything. Maybe the scenes.image needs to rebuild and put in the VPK, too. Try that out.
I put all in a VPK. Didn't work. I'll check and see if the .image is in there though.
However, does this method still require the audio cache to be rebuilt/updated manually? In my experience, sounds in a VPK don't have their associated cache generated automatically like those embedded in a BSP (it's necessary to do it from the console for the sounds to work), so I must be missing something.
Any further information would be appreciated!
EDIT: I've given this another try, but unfortunately the results are still the same as those of my earlier attempts. I made a VPK containing a directory called sound containing a properly-formatted WAV called music_test.wav and placed it in the addons directory. I then started Portal 2, loaded a map, and ran the command snd_playsounds music_test.wav. Initially, this generated the error [Sound] S_StartSound(): Failed to load sound 'music_test.wav'. File is missing from disk/repository. However, after running the command snd_updateaudiocache, running snd_playsounds music_test.wav works and plays the sound.
Am I missing something? Does the sound in the VPK have to be used in a map for the cache to be automatically created? I seem to recall that I tried that a while ago and it didn't work either, but I might be remembering incorrectly. Any help would be appreciated.
I've attached my VPK for reference in case anyone wants to double-check the procedure I discussed in the previous post.
Did you have a chance to test the VPK I attached? If so, were you able to play the sound without updating the cache manually?