Staredit Network

Staredit Network -> UMS Assistance -> Help With Music..
Report, edit, etc...Posted by HA-CurSe on 2004-07-29 at 23:41:24
on the map im making i added music and every single triggle just stopped working/slowed down and my song stops playing after the first time.

any ideas on why its doing this?
Report, edit, etc...Posted by FizzleBoink on 2004-07-29 at 23:48:44
Is there a preserve trigger? Please specify this information!
Report, edit, etc...Posted by HA-CurSe on 2004-07-29 at 23:49:32
QUOTE(InTeRFeRe @ Jul 29 2004, 10:48 PM)
Is there a preserve trigger? Please specify this information!

sry sry yes there is a perserve trigger and a wait befor the perserve trigger
Report, edit, etc...Posted by greenreaper on 2004-07-30 at 00:07:59
The "wait" on the music trigger is probably slowing down all the other triggers with waits....try making the music trigger for another player.
Report, edit, etc...Posted by HA-CurSe on 2004-07-30 at 00:10:52
QUOTE(greenreaper @ Jul 29 2004, 11:07 PM)
The "wait" on the music trigger is probably slowing down all the other triggers with waits....try making the music trigger for another player.

nah that dosent work
Report, edit, etc...Posted by FizzleBoink on 2004-07-30 at 00:14:32
Okay care to post your Trigger Information here?

I'm confused with your problem wink.gif
Report, edit, etc...Posted by HA-CurSe on 2004-07-30 at 00:17:09
QUOTE(InTeRFeRe @ Jul 29 2004, 11:14 PM)
Okay care to post your Trigger Information here?

I'm confused with your problem wink.gif

ok...

Player:
Adventurers

Conditions:
Always

Actions:
Play wav file.
Wait for 9000 miliseconds.
Preserve trigger.

then the other triggers are below that one
Report, edit, etc...Posted by FizzleBoink on 2004-07-30 at 00:22:48
Hmm.. Odd.. I don't like the way you used that music trigger!! Boo!!

So here use this one:

TRIGGER CRITERIA:
1. Computer Player (Any)
2. Players

TRIGGER CONDITIONS:
- Computer Player suffers exactly 0 deaths of "unit"
TRIGGER ACTIONS:
- Set deaths for Players to 1 deaths of "unit"
- Wait "#" milliseconds
- Preserve Trigger

TRIGGER CONDITIONS:
- Players have suffered exactly 1 deaths of "unit"
TRIGGER ACTIONS:
- Play Wav
- Set deaths for Computer player to "0" for "unit"
- Preserve Trigger

I think thats the way... I mentioned this trigger in some other post that I don't remember... anyways try it out.. hope it works wink.gif
-
Report, edit, etc...Posted by HA-CurSe on 2004-07-30 at 00:42:22
QUOTE(InTeRFeRe @ Jul 29 2004, 11:22 PM)
Hmm.. Odd.. I don't like the way you used that music trigger!! Boo!!

So here use this one:

TRIGGER CRITERIA:
1. Computer Player (Any)
2. Players

TRIGGER CONDITIONS:
- Computer Player suffers exactly 0 deaths of "unit"
TRIGGER ACTIONS:
- Set deaths for Players to 1 deaths of "unit"
- Wait "#" milliseconds
- Preserve Trigger

TRIGGER CONDITIONS:
- Players have suffered exactly 1 deaths of "unit"
TRIGGER ACTIONS:
- Play Wav
- Set deaths for Computer player to "0" for "unit"
- Preserve Trigger

I think thats the way... I mentioned this trigger in some other post that I don't remember... anyways try it out.. hope it works wink.gif
-

its still not working !_!_!__!_!_!_! ill give you the map see what you can do with that trigger and that trigger only =)



i had to get rid of the sound so it would upload on here but just do the triggers to what would work and post the map back here...
Report, edit, etc...Posted by FizzleBoink on 2004-07-30 at 00:44:19
AH! I FEARED YOU WOULD ASK ME TO DO SUCH A THING! But my answer shall be short and to the point:

I have no starcraft editing program in this laptop that I am using... I pray that you will find someone else to do your bidding? I'm sorry.. I have failed you HA-CurSe!!
Report, edit, etc...Posted by greenreaper on 2004-07-30 at 00:46:14
There's also another way.

T[[RIGGER ONE

Players
Whatever
Conditions
"Switch 1" is set
Actions
Play "music"
Clear "Switch 1"
Preserve Trigger

TRIGGER TWO

Players
whatever
Conditions
"Switch 1" is cleared
Actions
Wait XXX milliseconds (how long your song is)
Set "Switch 1"
Preserve Trigger
Report, edit, etc...Posted by HA-CurSe on 2004-07-30 at 00:46:40
QUOTE(InTeRFeRe @ Jul 29 2004, 11:44 PM)
AH! I FEARED YOU WOULD ASK ME TO DO SUCH A THING! But my answer shall be short and to the point:

I have no starcraft editing program in this laptop that I am using... I pray that you will find someone else to do your bidding?  I'm sorry.. I have failed you HA-CurSe!!

eh its ok maby (U)Bolt_Head will come and save the day !
Report, edit, etc...Posted by greenreaper on 2004-07-30 at 00:51:36
I got it.....I think. (haven't tested) Find out how many seconds your song is and multiply by 1000....then put that number to replace the wait.
Report, edit, etc...Posted by HA-CurSe on 2004-07-30 at 01:02:01
QUOTE(greenreaper @ Jul 29 2004, 11:51 PM)
I got it.....I think. (haven't tested) Find out how many seconds your song is and multiply by 1000....then put that number to replace the wait.

still slow meh ill figure it out tommorow
Report, edit, etc...Posted by Staredit.Net Essence on 2004-07-30 at 01:34:52
Gah Could it Be that the Sound File is to large?....Or that the Sound file Is Corrputed rip.gif
Report, edit, etc...Posted by HA-CurSe on 2004-07-30 at 11:44:12
QUOTE(Scorpion @ Jul 30 2004, 12:34 AM)
Gah Could it Be that the Sound File is to large?....Or that the Sound file Is Corrputed rip.gif

the sound file i have for it is the Scary Castle BG from the DLDB
Report, edit, etc...Posted by greenreaper on 2004-07-30 at 14:02:34
What do you mean by the music playing slow? Like after it plays for the first time, it won't start again for a longer amount of time? Or is the actual music slowing down?

BTW: I couldn't get ANY music playing on your map....I'm sure because music worked for other maps.....
Report, edit, etc...Posted by Kow on 2004-07-30 at 14:06:15
jsut a concept but, if you have the space, (im coming up with this as i type), have a strip and a computer unit running along, have the song play amnd whereever it is when it stops (if its still in the same line) mark it and have a trigger saying


Player
Computer player

Condtidions
brings UNIT to location'end'

actions
move all UNIT at location'end' to location'start'
play wav
order all UNIT at location'start' to move to location'end'
preserve
Report, edit, etc...Posted by (U)Bolt_Head on 2004-07-30 at 14:43:13
QUOTE(HA-CurSe @ Jul 29 2004, 11:46 PM)
QUOTE(InTeRFeRe @ Jul 29 2004, 11:44 PM)
AH! I FEARED YOU WOULD ASK ME TO DO SUCH A THING! But my answer shall be short and to the point:

I have no starcraft editing program in this laptop that I am using... I pray that you will find someone else to do your bidding?  I'm sorry.. I have failed you HA-CurSe!!

eh its ok maby (U)Bolt_Head will come and save the day !

Just do what greenreaper said but add a wait 0 action before you clear the switch.

Edit: Oh yeah in green reapers triggers the players are not "whatever"
The first trigger very specificly needs to be owned by the human force, the second trigger needs to be owned by a computer player with minimal or no other triggers that use the wait action.

PS. There are multiple tutorials here on how to loop music, you should of tried one of those.
Report, edit, etc...Posted by HA-CurSe on 2004-07-30 at 17:11:18
QUOTE((U)Bolt_Head @ Jul 30 2004, 01:43 PM)
QUOTE(HA-CurSe @ Jul 29 2004, 11:46 PM)
QUOTE(InTeRFeRe @ Jul 29 2004, 11:44 PM)
AH! I FEARED YOU WOULD ASK ME TO DO SUCH A THING! But my answer shall be short and to the point:

I have no starcraft editing program in this laptop that I am using... I pray that you will find someone else to do your bidding?  I'm sorry.. I have failed you HA-CurSe!!

eh its ok maby (U)Bolt_Head will come and save the day !

Just do what greenreaper said but add a wait 0 action before you clear the switch.

Edit: Oh yeah in green reapers triggers the players are not "whatever"
The first trigger very specificly needs to be owned by the human force, the second trigger needs to be owned by a computer player with minimal or no other triggers that use the wait action.

PS. There are multiple tutorials here on how to loop music, you should of tried one of those.

gaaaaahhh i think its the song nothing i do is working !_!!!!!!!!! does any one have any good scary spooky songs that they could post for me?
Report, edit, etc...Posted by Kingra on 2004-07-30 at 17:23:45
QUOTE(greenreaper @ Jul 29 2004, 11:46 PM)
There's also another way. 

T[[RIGGER ONE

Players
Whatever
Conditions
"Switch 1" is set
Actions
Play "music"
Clear "Switch 1"
Preserve Trigger

TRIGGER TWO

Players
whatever
Conditions
"Switch 1" is cleared
Actions
Wait XXX milliseconds (how long your song is)
Set "Switch 1"
Preserve Trigger

This Trigger SHOULD work for you, unless the sound file is currupted like Scorpion said wink.gif
Report, edit, etc...Posted by HA-CurSe on 2004-07-30 at 18:49:36
QUOTE(Kingra @ Jul 30 2004, 04:23 PM)
QUOTE(greenreaper @ Jul 29 2004, 11:46 PM)
There's also another way. 

T[[RIGGER ONE

Players
Whatever
Conditions
"Switch 1" is set
Actions
Play "music"
Clear "Switch 1"
Preserve Trigger

TRIGGER TWO

Players
whatever
Conditions
"Switch 1" is cleared
Actions
Wait XXX milliseconds (how long your song is)
Set "Switch 1"
Preserve Trigger

This Trigger SHOULD work for you, unless the sound file is currupted like Scorpion said wink.gif

its still corrupted...... i need a new good horror song
Report, edit, etc...Posted by (U)Bolt_Head on 2004-07-30 at 22:51:43
It would work as long as your playing single player and both triggers are owned by the correct unspecified player.
Report, edit, etc...Posted by Death_Kid25 on 2004-07-31 at 17:48:43
I have music playing in my map Spaced Out Bound its the one....forgot name but its great back ground music and thats the description in dldb, anyway this is how i got it to work.


player:
1,2,3,4,5

Conditions:
Switch <music> is cleared

Actions:
Set <music> to set
Play Wav <music>
Preserve Trigger

Player:
<computer player>

Conditions:
Switch <music> is set

Actions:
Wait <number of milliseconds the song is>
Set <Music> to Cleared
Preserve Trigger

If that doesnt work try doing the same thing, but putting the wait trigger in the first one after you play wav and before you set switch. good luck w00t.gif
Report, edit, etc...Posted by (U)Bolt_Head on 2004-07-31 at 20:29:35
If the wait action isn't there the first player that runs the play music wav will set the switch before the remaining players have a chance to run there trigger.

Basicly it only works for the lowest numbered player, the rest hear nothing.
Next Page (1)