Please or Register to create posts and topics.

Custom looping sound on func_movelinear wont stop

Alright, so, i have a custom looping sound file with loop points, and i have a func_movelinear that uses the sound for the "sound to play when the brush starts moving". for some reason, the sound doesnt stop looping even after the brush is not only done moving, but is killed via the kill input. i checked twice, and the loop points in the file don't appear to be the issue. dos anybody have a fix or a work-around? thanks!

ImageImage
===========================
Im blue, a Clean Christian Furry with Autism.

You could use an ambient_generic with the same sound, and have it start playing with a volume of 0 when the map loads. From there, I would set up inputs to change its volume to 10 when it starts and 0 when it stops. Finally, you'd want to set the source entity to the func_movelinear.

When life gives you lemons, make apple juice and have everyone wonder how you did it.
Musical website Moddb
Arachnaphob wrote:
You could use an ambient_generic with the same sound, and have it start playing with a volume of 0 when the map loads. From there, I would set up inputs to change its volume to 10 when it starts and 0 when it stops. Finally, you'd want to set the source entity to the func_movelinear.

thanks, but im not sure that it would work too well... i forgot to mention that the file's loop is in the middle of the file, so it ramps up and then loops. also, it's coming from multiple movelinears that open at different times close together in sequence.

ImageImage
===========================
Im blue, a Clean Christian Furry with Autism.

The loop timing shouldn't be a problem, and you could use multiple ambient_generics.

When life gives you lemons, make apple juice and have everyone wonder how you did it.
Musical website Moddb

ok, thanks. i'll try that.

ImageImage
===========================
Im blue, a Clean Christian Furry with Autism.

Just use an ambient_generic with PlaySound and StopSound, it respects the loop points.

Falsi sumus crusto!