I am trying to play some custom music files throughout my map using an ambient_generic but I have encountered two problems
1) The sound was too quiet, so I stacked up two ambient_generics to play the sound at once, but now the sound cuts off halfway through playing. This was not an issue when I used only one entity.
2) I am using AddOutput on the ambient_generic to change the audio file I want to play, but it says "EmitAmbientSound: sound not precached: " in the console and does not play the sound.
EDIT: I solved the above problem, I just put an inactive ambient_generic with the desired sound in the keyvalue.
The sounds are 320 Kbps, 44,100 Hz, 16 Bit, Stereo, MP3. They are activated manually and are not meant to loop.
1) The sound was too quiet, so I stacked up two ambient_generics to play the sound at once, but now the sound cuts off halfway through playing. This was not an issue when I used only one entity.
EDIT: I solved the above problem, I just put an inactive ambient_generic with the desired sound in the keyvalue.
The sounds are 320 Kbps, 44,100 Hz, 16 Bit, Stereo, MP3. They are activated manually and are not meant to loop.
Last edited: