[Solved] Sound playing in Hammer, not ingame

Avatar
KFredje
55 Posts
Posted Jun 11, 2012
Hi,

I want this sound in my map: music.sp_a2_bts3_x1.wav

It's a game played in the single player and I copied the ambient_generic to my map and tied a button to it with OnPressed, PlaySound. This is an identic copy from the ingame item and it isn't working. I also tried to do everything myself but fail again.

Advertisement
Registered users don’t see ads! Register now!
Avatar
zivi7
649 Posts
Posted Jun 11, 2012
Replied 16 minutes later
Did you use the "RAW" sound where you can switch between "Game Sound" and "Raw"?

Also, did you follow the steps on the VDC to avoid the common bugs, especially with looped ambient_generics? https://developer.valvesoftware.com/wik ... nt_generic

Avatar
soptipp1
60 Posts
Posted Jun 11, 2012
Replied 6 minutes later
I just tried this out myself, use the "music/sp_a2_bts3_x1.wav" file from the "RAW" sound type and it should work.
Advertisement
Registered users don’t see ads! Register now!
Avatar
KFredje
55 Posts
Posted Jun 11, 2012
Replied 1 hour later

soptipp1 wrote:
I just tried this out myself, use the "music/sp_a2_bts3_x1.wav" file from the "RAW" sound type and it should work.

Tnx, got it working now :smile: