Custom Sound Problem
Quote from jwien001 on March 13, 2010, 4:35 pmI'm trying to import a custom sound into my map, but I can't get it to play in the level. It shows up and plays correctly in the sound browser, but when I compile and run the map, it doesn't work. Any ideas?
I'm trying to import a custom sound into my map, but I can't get it to play in the level. It shows up and plays correctly in the sound browser, but when I compile and run the map, it doesn't work. Any ideas?
Quote from ASBusinessMagnet on March 13, 2010, 6:14 pmDo you have a trigger that activates the sound?
Do you have a trigger that activates the sound?
Quote from jwien001 on March 13, 2010, 7:44 pmYes, a button. When the button is pressed, it fires a PlaySound on the ambient_generic. The ambient_generic has Start Silent checked. This setup works with other in-game sounds, so the only difference is the audio file.
Yes, a button. When the button is pressed, it fires a PlaySound on the ambient_generic. The ambient_generic has Start Silent checked. This setup works with other in-game sounds, so the only difference is the audio file.
Quote from Mek on March 14, 2010, 4:06 amThis must have something to do with the format of the sound. Make sure the WAV file is not compressed (I don't know if other requirements as frequency etc... are required).
Also try looking into the console, it could write an error message saying why it couldn't play the sound.
This must have something to do with the format of the sound. Make sure the WAV file is not compressed (I don't know if other requirements as frequency etc... are required).
Also try looking into the console, it could write an error message saying why it couldn't play the sound.
(percentage calculation sphere self-test failed!)
108.1% done, -8.1% remaining...
Released here!
All maps for Portal (1/2) worth playing are mirrored here.
Quote from mazk1985 on March 16, 2010, 1:50 pmI had this problem. See if your sound folder in the portal directory is named "sound" and NOT "sounds". took me ages to notice this cos all the other folders have an "s" on the end except sound.
crafty valve imo
Hope it helps
I had this problem. See if your sound folder in the portal directory is named "sound" and NOT "sounds". took me ages to notice this cos all the other folders have an "s" on the end except sound.
crafty valve imo
Hope it helps
Quote from jwien001 on March 16, 2010, 2:14 pmIt is "sound". I had read about that problem previously and was careful to avoid it. That wouldn't be an issue anyways, because as I said, the sound imports and plays correctly in the sound browser, just not in game. The problem is getting the sound to play when I run the map, not importing it into Hammer/Source/Portal.
It is "sound". I had read about that problem previously and was careful to avoid it. That wouldn't be an issue anyways, because as I said, the sound imports and plays correctly in the sound browser, just not in game. The problem is getting the sound to play when I run the map, not importing it into Hammer/Source/Portal.