Some sound files aren't working

  • If you're asking a question make sure to set the thread type to be a question!

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
So I wanted to use a ambient_generic to play a sound every time a score is made in my pd game mode. The only problem is that some of the audio files just don't work, even when previewing them in the hammer editor, and I'm not sure why this is. Help?
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
Ok, so apparently only mp3 files won't play but I'm still not sure why.
 

Narpas

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
Try using raw .wav instead
 

Wyvern

Certified TF2 Cartographer
Feb 16, 2018
105
152
Source is really old, and cannot use newer formats such as .mp3. Like Narpas said, just use .wav.
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
Source is really old, and cannot use newer formats such as .mp3. Like Narpas said, just use .wav.
But some sounds can only be played through .mp3 format, like the heavy's eating effects that I'm trying to use. I don't want to have to convert it into a new sound type and re-package it just to make it work. Any other possible solutions? Thanks for the reply by the way, its always appreciated.
 
Last edited:

henke37

aa
Sep 23, 2011
2,075
515
Use the soundscript system. Instead of specific sound files, use the name from the soundscript.
 

Cream Tea

L1: Registered
Apr 26, 2016
14
2
Source can use mp3 files you just can't preview them in Hammer Editor.

You can use existing sounds from the game in an ambient_generic if you select the file.

OP are you sure that the ambient_generic is even getting played? It could be that instead you know.

Test it with a wav game sound instead, if it still doesn't work you will know that it's because the ambient_generic isn't being triggered.