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 • 545
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 04:30 PDT — Ed. 2014 Apr 8 at 04:30 PDT
SuperJer
Websiteman

2005 Mar 20 • 5138
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 13:18 PDT — Ed. 2014 Apr 9 at 13:18 PDT
Outcast
My points value is a hilarious example of numerical humor.

2009 Dec 13 • 545
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 14:09 PDT
SuperJer
Websiteman

2005 Mar 20 • 5138
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 9 at 20:21 PDT — Ed. 2014 Apr 9 at 20:21 PDT
Page [1]