Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Starcraft BroodWar ~ Trigger Help. :)
Starcraft BroodWar ~ Trigger Help. :)
Apr 7 2013, 1:49 am
By: Omegwavex  

Apr 7 2013, 1:49 am Omegwavex Post #1



Alright. A friend on BW just told me about mobile gridding for moving locations around a specific target, and i've got that down.

What Im Doing : Making an arena map, no specific theme ( 3v3 )
what I need help with : Im making a specific spell/trigger.

You have a hydralisk in the middle. Locations To the sides, above, and below it.
Say you move the hydralisk to the right.
What would the process of triggers be to...Make a line of seige tanks to the right? One after another, not all at once.

This is my first thread on this sight, so thank you in advanced. :) You can reach me faster by skype : bsgunner



None.

Apr 7 2013, 1:51 am Aristocrat Post #2



Mobile grids would be your best bet if you want the tanks to be placed relative to the hydralisk.



None.

Apr 7 2013, 2:05 am Azrael Post #3



When the hydralisk moves right, it triggers the siege tanks to be created to the right of it? I'm a little unclear on that part. Also, how much of a delay do you want between siege tanks?

Without knowing those things, I can still give you a general answer. The way you create a line of siege tanks is by having a location center on the siege tank you just created, and then perform the same mobile grid trigger from there, to create another siege tank to the right of it. Center the location on this new siege tank, and repeat the process until you have as many siege tanks as you're hoping for.

If there's a possibility of misplace errors, keep in mind that you can create each siege tank at some empty spot outside the arena, and then move it to the location where it's supposed to appear (instead of just creating it at the location). This prevents the possibility of misplace errors, since "move unit" doesn't cause them. Just make sure your "create unit" trigger only fires when there's no siege tanks in the creation location ^^




Apr 7 2013, 2:09 am Omegwavex Post #4



When the hydralisk moves to the right, I need to know how to make seige tanks start to spawn, from the hydralisk at first, and then moving away.
I would not like them to spawn instantly, but maybe on a 1 second, 1.5 second timer inbetween?
Mobile gridding for this would be sloppy.
A friend told me it would be direction detection, but I have no idea what that is.



None.

Apr 7 2013, 2:13 am Azrael Post #5



I edited in a bit more information for you in the previous post :)

You'll want to use death counters along with hyper triggers (which you're hopefully using already) to achieve the delay effect. For 1 second, you'll want to use 12 DCs, and for 1.5 seconds you'd use 18 DCs.




Apr 7 2013, 2:18 am Omegwavex Post #6



12 death counters = 1 second? Never knew that. Thanks! That'll come in handy.



None.

Apr 7 2013, 2:39 am Lanthanide Post #7



11.9 DCs per real-time second when playing at Fastest. At slower speeds, there are fewer. The 11.9 vs 12 distinction doesn't matter, unless you're dealing with sounds files 10s or longer.



None.

Apr 7 2013, 2:39 am Sacrieur Post #8

Still Napping

There's a pure trigger direction detection method I came up with.

Or you can use a far simpler EUD method.



None.

Apr 7 2013, 2:51 am rockz Post #9

ᴄʜᴇᴇsᴇ ɪᴛ!

starcraft runs at 15 frames per normal second, 16 frames per game second, 24 frames per fastest second. hyper triggers run every other frame. Thus half of that is 12 hyper triggers per second. It's not 100% accurate so for long durations you'll want to calculate/test it out. I think it's something like 23.810 fps.

Here's direction detection:
http://www.staredit.net/files/422/
http://www.staredit.net/files/2860/

It really just calculates the slope using buried zerglings though.

If you've only got 4 directions you want the tanks to go in, then mobile grids is the way to go. If you've got more than 8 directions, then direction detection is the way to go. For the mobile grid part, I wouldn't center on the tank, but rather on the devourer used in the mobile grid. One tank unplaceable means the tanks will stop spawning until the object moves out of the way.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Apr 7 2013, 3:15 am Lanthanide Post #10



The key to the speeds is that at Fastest, 1 hyper-trigger cycle (often referred to in terms of 'DCs' - death counts) happens exactly every 84 milliseconds. 1000 / 84 = 11.905.. hyper-trigger cycles per second. Since it's every 2nd frame, Fastest runs at 23.81... frames per second.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[01:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[01:05 am]
Vrael -- that's better
[12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Roy, Oh_Man