Music wont stop

Music wont stop

Re: Music wont stop Posted by fr0stbyte on Mon Apr 11th 2005 at 4:06am
fr0stbyte
4 posts
Posted 2005-04-11 4:06am
4 posts 0 snarkmarks Registered: Jan 26th 2005
I have a map with a built in radio that has 10 buttons on it. all the
buttons play music and each button is set to stop all other music
before playing.

User posted image

User posted image

When i tested the map, The music wont stop when pressing a second button and two mp3's play at once. Please help
Re: Music wont stop Posted by Campaignjunkie on Mon Apr 11th 2005 at 7:50am
Campaignjunkie
1309 posts
Posted 2005-04-11 7:50am
1309 posts 329 snarkmarks Registered: Feb 12th 2002 Occupation: Student Location: West Coast, USA
It might be easier to have a seperate logic_relay that stops ALL of the music entities no matter what.

Then, have each button trigger the logic_relay (0.0 delay) then trigger
the appropriate music sound (0.25 delay?) a little time afterwards. So,
when you push a button, it will roughly go like this:

<div style="text-align: justify;">
<div style="text-align: justify;">(radiobutton_1) func_button --> (radio_stop) logic_relay --> Stop ALL Sounds (0.0 sec)

|

|------------> Play Sound (music1) (0.25 sec)

</div>

<div style="text-align: left;"><span style="font-family: courier new;">

This setup will look much cleaner in-editor, plus you can tweak it
faster. I'm not sure if the 0.25 sec delay is neccesary, but it's
better to be safe than sorry. The player most likely won't notice
anything anyway.</span>

</div>
</div>
Re: Music wont stop Posted by omegaslayer on Mon Apr 11th 2005 at 4:40pm
omegaslayer
2481 posts
Posted 2005-04-11 4:40pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
It looks to me like your delays are messed up, set the stop sound to have a larger delay than the play sound outputs....like Campaign said.....
Re: Music wont stop Posted by fr0stbyte on Tue Apr 12th 2005 at 8:05am
fr0stbyte
4 posts
Posted 2005-04-12 8:05am
4 posts 0 snarkmarks Registered: Jan 26th 2005
Unfortunately this didn't work for me when it should. I can't see the
problem but maybe someone else can see it. What am I doing wrong?

User posted image

User posted image

User posted image

If you're willing to fix it for me post your email address and i'll send it to you.
Re: Music wont stop Posted by DrGlass on Tue Apr 12th 2005 at 1:10pm
DrGlass
1825 posts
Posted 2005-04-12 1:10pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
set the logic_relay to 'on trigger' target each of the sounds and 'stopsound'
Re: Music wont stop Posted by Campaignjunkie on Tue Apr 12th 2005 at 9:36pm
Campaignjunkie
1309 posts
Posted 2005-04-12 9:36pm
1309 posts 329 snarkmarks Registered: Feb 12th 2002 Occupation: Student Location: West Coast, USA
set the logic_relay to 'on trigger' target each of the sounds and 'stopsound'
Yeah. That's kind of the most important part of the whole setup too! :wink:
Re: Music wont stop Posted by fr0stbyte on Thu Apr 14th 2005 at 3:01am
fr0stbyte
4 posts
Posted 2005-04-14 3:01am
4 posts 0 snarkmarks Registered: Jan 26th 2005
Omg still dont work.