Sound doesn't loop.

Sound doesn't loop.

Hammer Mapping — Page [1]
Outcast
My points value is a hilarious example of numerical humor.

2009 Dec 13 • 567
80,085 ₧
So I'm trying to add some music but it only plays once.

If I add a button I have to press it again so the music starts playing again but I want to press it once and make it loop.

I un-checked "not toggled" but it doesn't do anything.
 
 
 
2014 Apr 8 at 11:30 UTC — Ed. 2014 Apr 8 at 11:30 UTC
SuperJer
Websiteman

2005 Mar 21 • 6673
What entity are you using?

Also, IIRC there might be a "Not looped" option you need to toy with.

Also, your sound file itself may need built in loop points.
 
 
 
2014 Apr 9 at 20:18 UTC — Ed. 2014 Apr 9 at 20:18 UTC
Outcast
My points value is a hilarious example of numerical humor.

2009 Dec 13 • 567
80,085 ₧
SuperJer said:
What entity are you using?

Also, IIRC there might be a "Not looped" option you need to toy with.

Also, your sound file itself may need built in loop points.


I'm using the ambient_generic entity. There's no such thing as "not looped" option.

I edited the sound file in a way to make it sound the same every time it ends and starts again. What do you mean by built in?
 
 
 
2014 Apr 9 at 21:09 UTC
SuperJer
Websiteman

2005 Mar 21 • 6673
Some sound editing programs let you add loop_start and loop_end points in a WAV file. I think that's what the game uses to loop sounds.

I haven't done this in years so I don't remember the details.
 
 
 
2014 Apr 10 at 03:21 UTC — Ed. 2014 Apr 10 at 03:21 UTC
Page [1]