Please or Register to create posts and topics.

Custom audio files not playing in-game

Page 1 of 3Next

I created some custom .wav files with a text-to-speech program, and I put them into a custom map I'm working on. I updated the audio cache, but for some reason, the files still won't play when they are triggered. :angrysquare:
So, how do I get the .wav files to play in game?

Signatures are overrated.

Where do you put the .wav files at?

I had put them in the steam/steamapps/common/portal2/portal2/sound/{folder name here}.
Don't know if that's where the files should be.

Signatures are overrated.

And what did? Did you place an ambient_generic? When you select your Sound Name in the ambient_generic, the Sound Type should be Raw. Then filter your sound. All the flags in the ambient_generic should be checked.

Sound type raw, all flags checked, not playing the sounds.

Signatures are overrated.

Open the console and run snd_updateaudiocache.

Falsi sumus crusto!
AD_79p2 wrote:
I updated the audio cache, but for some reason, the files still won't play when they are triggered. :angrysquare:

Um, did you read that? It was at the top of the thread. I already updated the audio cache.

Signatures are overrated.

what method do you have to trigger the play of the audio?

Just when I think I understand the system, it changes on me.

Different things. I have multiple custom audio files. Two are triggered by a logic_auto, some are activated by triggers, and one is triggered by picking up the portalgun.

Signatures are overrated.

well if everything is set up correctly for the directory, the trigger path and the file type, I don't know. Maybe try this as an experiment in a separate map file. Place in a prop_button and for an output:

onpressed - ambiant_generic - playsound - delay 0

If that works, there may be an issue in you main map file. if it still wont play, it may be a problem with the file

Just when I think I understand the system, it changes on me.
Page 1 of 3Next