Custom Sound Question
It is problematic using .mp3s because they just give error message to console. Even .wavs gave me problems because I had to pack them into the .bsp just to get them working.
MasterLagger wrote:
Couldn't I just put the custom sounds and material in a folder and stick it in the portal 2/portal2 folder? I tested a WAV from there inside Hammer and it works.
I was experimenting with this earlier today. While the file works fine in Hammer, Portal 2 will refuse to find it - it just places an error in the console. Packing the sound into the BSP fixes it.
However, wav files can be huge, and adding 2 wavs to a small map has increased its size to 8 megs, and at this rate, the bsp file will be well over 100 megs by the time i'm done adding all i want to.
can anyone explain how to add mp3s (i tried 128 bit mp3s, didnt play in hammer, doesnt play in testing) to a map? much less how to get an mp3 file to play in hammer?
are there other compressed audio formats that will work? does the file have to be mono? thank you for any help on this. when i'm done with my map, hopefully it will be a reward to those who have helped! Eric
erictfitzgerald wrote:
can anyone explain how to add mp3s (i tried 128 bit mp3s, didnt play in hammer, doesnt play in testing) to a map? much less how to get an mp3 file to play in hammer?
Mp3's should be the main way to post large sounds into your map as they are more compressed. I found a good tutorial here: http://www.youtube.com/watch?v=c6akpZrqxqk Please note you have to convert to the right bit rate in order for it to play in game.
Mp3's usually cannot be previewed in the hammer editor.