PDA

View Full Version : Help! (and new map test!)


Eternal255
08-30-2005, 1:50 AM
i got a lil question with my map which i am making, it is a bound map, and i would like to add music to it.
however thats where the problem comes. i do not know how to get the music to loop, or stop once certian conditions are met.
plz respond asap

as for testing the map, i will be looking for people to test it tomarrow. if u want to help test the map post in this thread plz and/or add me to ur /f l (Eternal255)
i do not wish to reveal any info about the map, yet, but i promise its greater then most (if not all) bound maps :)

ty

btw which map (locking) program do u recomend for me to use?

UED77
08-30-2005, 2:15 AM
To get the music to loop, you should use two triggers.
The first one will actually play the sound whenever a certain switch is cleared.

Player:
- Human player
Cond:
- Switch 1 is cleared
Act:
- Set Switch 1
- Play wav
- Preserve

Another trigger should be given to a player which has a start location, but has no wait or transmission actions.

Cond:
- Switch 1 is set
Act:
- Wait [length of wav] milliseconds
- Clear Switch 1
- Preserve

Once a wav has started playing, it cannot be stopped. However, by adding another switch condition to the first trigger, say "Switch 2 is cleared", you can stop the loop when it would start again by setting Switch 2.

But, try to keep the filesize down, and remember that music doesn't significantly impact gameplay. A lot of people disable music anyways, and play their own.

As for map protection tools, Überation (http://www.staredit.net/index.php?download=2596) is recommended.

UED77

Fronter
08-30-2005, 4:52 PM
Put it on an idle computer player, one with no wait triggers, because if you put it on one of your human players, it will mess up the waiting sequence. Also, I recommend using Death Triggers for it.

Eternal255
08-31-2005, 7:50 PM
aww comon noone wants to help me test the map? :'(

anyways thanks for the info

MidnightGladius
08-31-2005, 8:33 PM
If you want help in testing the map, just post the link to it on the forum itself. Few will go the point of asking for a dl.

Invalid-Player
09-02-2005, 4:56 AM
I've got a few more examples of music loops, but all mine have triggers
set for " All Players". I've learned quit a few interesting things about
sound looping:
1. Wait times set in single player will have to be reset for battlenet, the speeds are different. Wait times are increased around 400msec for playing on battlenet.
2. Wait times in milliseconds will not match your wave length in seconds. Try starting about 1000 msec lower.
3. Player lag (Btlnet) will greatly effect and increase the wait time making the sound loop useless. Broad band is the way to go. You will have to boot laggers if you want it to work right.
4. You should have a computer capable of allowing StarCraft to run at full speed when setting the wait times, otherwise the times set on your slow comp will not be correct for faster machines.
5. Compressing using Pro Edit or Uberation will usually remove the sound file,at least they always did for me.
All these maps were set on my computer and work for me. I'm assuming they should also work for you. I'm also assuming if it's working for me on battlenet then it's also working for all the other players too. If some of the loops dont connect right for anyone, then there are other factors involved as well.