Please or Register to create posts and topics.

Trackrain Start sound continues to play even when stoppe

Hi. I am having a little bit a of trouble with a lift I made using func_tracktrain. Everything is working fine except for the sounds. I'm actually confused by what is happening since I have a Start Sound (lift_start) and Stop Sound (lift_stop) specified in the properties, but no Move Sound. When I start the lift (using a floor button to change the velocity), the start sound plays, but then there is a sound that continues to play while the elevator moves even though the Move Sound isn't specified. And then when I stop the elevator by getting off the floor button (setting the lift to stop), the elevator stops moving, but the moving sound continues to play. I'm not even sure if the Stop Sound is playing because for some reason I can't preview it (nothing plays when I hit preview).

Does anyone know why there is a move sound when I haven't even specified one and also why this mystery move sound isn't stopping when the lift is set to stop? Thank you for your help!

Oh, I did find a similar topic to this here:
post88842.html#p88842

But the solution was just to go into properties and check the Start, Stop, and Move sounds, which I already have done.

You probably set a sound for the Start/Stop which is actually a sound loop (a looped sound). There are many stock ones. Just make sure you didn't use any file which name contains 'lp' or 'loop'.

Another way of checking this out is to extract the sounds you are trying (by using GCFScape to open the pak01_dir.VPK file you have into your portal 2/portal2/ folder and, once opened, searching into /sounds/ and extracting those ones you're interested in by just holding left-click and dragging to whatever folder or your desktop for example) and check them using Wavosaur (which is also free). If the music file is looped you'll be able to see 2 yellow marks, one at the beginning and one at the end of the track, of the wave drawing displayed.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

Yup, that was it! Thank you so much! I wanted to keep using those sounds so I just took them off the func_tracktrain and set them to their own ambient_generics. There was an issue where ambient_generic looping sounds still don't turn off even when you tell them to, though, that I read about. But I worked around it by just turning the volume down when I want it to be off. Not the most elegant solution, I guess, but it works. Thanks again!

You can turn off a looping ambient_generic if you set the right flag.

Falsi sumus crusto!