Custom Sounds in map - how to upload them in BSP? [SOLVED]
This is what I've done:
-
Copied your BSP to my folder portal 2/portal2/maps/.
-
Created a folder called "Temp" into the folder portal 2/portal2/sound/ and copied your 8 sound files into it.
-
Opened the BSP in pakrat and used the Add button. Browsed the folder /Temp I had created into my /sound folder and selected it directly (not each and every single music file inside, but the whole folder), and then clicked OK.
-
Pakrat asked me about to "fix-up the paths" and I selected "Yes to all".
-
Removed the /Temp folder from my /sound folder (to check if the embedded sounds actually work) and run the game... and the sounds are working...
I hope this steps list can help you to find out, man 
josepezdj wrote:
Well, to me it is working >.<This is what I've done:
Copied your BSP to my folder portal 2/portal2/maps/.
Created a folder called "Temp" into the folder portal 2/portal2/sound/ and copied your 8 sound files into it.
Opened the BSP in pakrat and used the Add button. Browsed the folder /Temp I had created into my /sound folder and selected it directly (not each and every single music file inside, but the whole folder), and then clicked OK.
Pakrat asked me about to "fix-up the paths" and I selected "Yes to all".
Removed the /Temp folder from my /sound folder (to check if the embedded sounds actually work) and run the game... and the sounds are working...
I hope this steps list can help you to find out, man
I don't get it. I did exactly what you did. Well I called my folder "FirstDayAtWork", but does that make a difference?
I opened the folder in pakrat.
I clicked Yes to all.
I saved it.
I removed the sounds from the location.
I played the map.
No sounds...
EDIT: Then i tried adding your .BPS to the game. I ran it, but the console still says "Can't create mixer"
EDIT2: From what I did right now, if my files are in the folder, they're playing in the map, but if I delete them, they're not playing anymore
beecake wrote:
I don't get it. I did exactly what you did. Well I called my folder "FirstDayAtWork", but does that make a difference?
Try naming the folder /temp (sound/temp/) exactly as I did and check if packing that folder into your BSP works.
josepezdj wrote:
beecake wrote:I don't get it. I did exactly what you did. Well I called my folder "FirstDayAtWork", but does that make a difference?
Try naming the folder /temp (sound/temp/) exactly as I did and check if packing that folder into your BSP works.
Nope. I tried.
Nothing. Sorry.
The .BSP I gave you.. did that work?
The only reason it doesn't work is because it says "Can't create mixer". Don't we know more about this error?
EDIT: Also, which folder is it I open in Pakrat? Because I'm opening the "temp" folder, not the "sound" folder
LARGE EDIT:
I'm so sorry. I've been doing it wrong all the time. I did not notice that Pakrat was opening a .BSP in Portal2\SDK_content\maps and not in Portal2\Portal2\maps.
I think it works now!