Staredit Network

Staredit Network -> UMS Assistance -> Map Music
Report, edit, etc...Posted by Staredit.Net Essence on 2004-08-23 at 01:16:30
I think I saw a topic in this site about this, but I've been looking for days and couldn't find it. How do you stop a WAV. in the middle of it playing? I've been told you have to cut it up and play them all together then when you want to stop it it stops at one of the pieces, but I really dont wanna do that crazy.gif is there any other way?
Report, edit, etc...Posted by KiLLeR2001 on 2004-08-23 at 01:49:40
QUOTE(Mp)XIII @ Aug 23 2004, 12:16 AM)
I think I saw a topic in this site about this, but I've been looking for days and couldn't find it.  How do you stop a WAV. in the middle of it playing?  I've been told you have to cut it up and play them all together then when you want to stop it it stops at one of the pieces, but I really dont wanna do that  crazy.gif is there any other way?

Not that I know of... Too bad Blizzard didn't code in a Stop WAV Action disgust.gif
Report, edit, etc...Posted by nyczdigga on 2004-08-23 at 02:00:19
Conditions
Current player brings exactly 1 civ to location

Actions
SET SWITCH 1 SET
playwav blabla.wav
Preservetrigger
comment


Another trigger(which connects because of switch)

Conditions
switch 1 set

Actions
SET SWITCH 1 CLEAR
preservetrigger
comment

clearing switches, kills the trigger. Action, set switch 1 opens the triggers which connets conditions: switch 1 set
Report, edit, etc...Posted by KiLLeR2001 on 2004-08-23 at 02:05:43
QUOTE(nyczdigga @ Aug 23 2004, 01:00 AM)
Conditions
Current player brings exactly 1 civ to location

Actions
SET SWITCH 1 SET
playwav blabla.wav
Preservetrigger
comment


Another trigger(which connects because of switch)

Conditions
switch 1 set

Actions
SET SWITCH 1 CLEAR
preservetrigger
comment

clearing switches, kills the trigger. Action, set switch 1 opens the triggers which connets conditions: switch 1 set

Yeah but that doesn't stop the wav file from playing.
Report, edit, etc...Posted by nyczdigga on 2004-08-23 at 03:12:26
the wav is depended on the switch
Report, edit, etc...Posted by qPirateKing on 2004-08-23 at 03:18:34
Stop spamming. That trigger does not do what he wants so stop trying to explain it. Have you even tried to stop a sound halfway through? Just so you know, what you posted doesn't work.

He wants to stop a sound and all you do is tell him how to prevent a sound from playing in the first place.
Report, edit, etc...Posted by nyczdigga on 2004-08-23 at 03:25:37
It looks like your not smart.
Report, edit, etc...Posted by qPirateKing on 2004-08-23 at 04:37:48
Ok, fine. Coming from you, that's a compliment.
Report, edit, etc...Posted by Xeno on 2004-08-23 at 04:44:04
qPirateKing is right you can't stop it halfway through. You should learn to call him master, like I.

Also I noticed your skill is 'Advanced' when you still ask for help on a simple fact like this. I advise you at least change it to 'Average'.
Report, edit, etc...Posted by Revelade on 2004-08-23 at 07:30:10
U 2 stop fighting, Xeno stop taking side because I brought cake today!

w00t.gif

These small words can lead to a flame war so let's stop it now. Pirate you could have said stop spamming in a nicer way than that. How about just taking that "stop spamming" section out. Nycz, you really didn't need to post that other part about his intelligence.

Anyway, I believe the only way TO stop a wav is to play a soundless sound (ironic eh), repeatedly using hyper triggers. Why would you need this though? Does you map require this?

Again, we don't need to take sides with people, we are all mappers and we come to give advice and get some, preferably in a polite way. If they want to keep their settings to advanced, let them, hell I keep mine at none.

mellow.gif
Report, edit, etc...Posted by (U)Bolt_Head on 2004-08-23 at 09:16:27
Na that would just cause it to lag a lot Relvade (depending on how much your playing it). Besides wav sounds overlap so unless your 'soundless sound' is louder than the currently playing one you will hear the first one uninterrupted.

nyczdigga, stopping the conditions of a trigger from being true doesn't stop the wav from playing, or stop the trigger for that matter (in the way of waits other blocking actions). Maybe you should think of the Play Wav action as "Start Playing Wav" instead.

Also do not make post that entirely consist of comments like " It looks like your not smart." I should warn you for saying things like that but I'm feeling nice today.
Report, edit, etc...Posted by TSoldier_Wol[f] on 2004-08-23 at 09:21:54
I wish Blizzard will code up the Map Editors with a button that says "Stop WAV" or someone make an Map editor with that kind of trigger. I'm not sure you could do that anyways.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-08-23 at 12:48:38
No you can't make your own triggers, even thu hex editing or if you create your own map editor. The triggers are coded into starcraft itself.
Report, edit, etc...Posted by NerdyTerdy on 2004-08-23 at 14:00:32
Well just to reinforce what everyone has said I have tried multiple times to stop a wav halfway thru it doesn't work.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-08-23 at 14:58:14
so should i take out the music in my rpg or just let it play? (its not a 30 second loop tongue.gif its about 4 mins long and constists of 3 songs)
Report, edit, etc...Posted by KiLLeR2001 on 2004-08-23 at 15:17:13
QUOTE(Mp)XIII @ Aug 23 2004, 01:58 PM)
so should i take out the music in my rpg or just let it play?  (its not a 30 second loop tongue.gif its about 4 mins long and constists of 3 songs)

If you have a long wav you can do what Pirate did and just loop it the entire map.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-08-23 at 15:25:40
QUOTE(KiLLeR2001 @ Aug 23 2004, 02:17 PM)
QUOTE(Mp)XIII @ Aug 23 2004, 01:58 PM)
so should i take out the music in my rpg or just let it play?  (its not a 30 second loop tongue.gif its about 4 mins long and constists of 3 songs)

If you have a long wav you can do what Pirate did and just loop it the entire map.

yeah i think im just gonna do that thanks
Report, edit, etc...Posted by nyczdigga on 2004-08-23 at 16:42:22
My bad guys, i did some errors. I think the trigger is

Conditions
Current player brings exactly 1 civ to on

Actions
SET SWITCH 1 SET
playwav blabla.wav
Preservetrigger
comment

Conditions
Current player brings exactly 1 civ to off

Actions
SET SWITCH 1 clear
Preservetrigger
comment

im sure thats the right trigger to end the music.
Report, edit, etc...Posted by Kow on 2004-08-23 at 18:56:52
You just dont get it... Once it starts playing, it doesn't stop untill the wav is finished! The only way to stop it half way through is to cut it up into small peices and play them consecutively...
Report, edit, etc...Posted by .Coko[CK] on 2004-08-23 at 19:16:47
Thats even worse, you even check how you do your triggers? That would have it overlapping and within a few seconds masses of lag would appear. Starcraft plays can play the same song over itself, useful function.

Read the Map Making Tricks & Help for how to actually make a correct looping system, and simply add the part to get it to play once then stop if you unit isn't on the location or continue if it is, without having any switches, use the Bring Condition! Shock horror!
Report, edit, etc...Posted by Revelade on 2004-08-23 at 20:44:46
Looping wavs do not work MOST of the time (notice I never said it was impossible). People eventual get fed up with the wav since it's short. Blizz music can be looped because it's longer so you don't hear repeated sections as often. My advice: don't loop music everywhere in the game, it gets annoying.
Next Page (1)