Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Mobile Location Grid
Mobile Location Grid
Nov 12 2015, 8:57 am
By: QPreach  

Nov 12 2015, 8:57 am QPreach Post #1



Hi. I'm trying to make a gap closer mechanic for my map. I have some-what of an idea; the problem is executing it.

For my gap closer mechanic, I was thinking of placing 4 locations around the unit (left, right, up, and down).
If the unit steps on one of these locations, it moves x units more to the direction it steps on.
If it steps on both, it moves diagonally.

My problem is setting the locations on a unit's left, right, upper, and lower side. ><

Post has been edited 1 time(s), last time on Nov 12 2015, 8:22 pm by QPreach.



None.

Nov 19 2015, 12:33 am Butch Post #2

PROFESSIONAL MAP MAKER

You can do this using a mobile grid.

The way starcraft creates units is predictable. Usually like so:


7..6..5
8..1..4
9..2..3

1 being the center of the location.

So knowing this you can create 1 unit and then create the same unit but for another player and then center a location on it and give it to the same player as the first unit you created. In this way you can go around the player creating units and centering locations. Hope you catch my drift.



None.

Nov 19 2015, 12:49 am Roy Post #3

An artist's depiction of an Extended Unit Death

For a more detailed explanation with images and trigger examples, check the wiki article on mobile grids: http://www.staredit.net/wiki/index.php?title=Grid_Systems#Mobile_Grids

As a bonus, here is a gif I made that shows how to position a location with mobile grids:





Nov 19 2015, 4:17 am Zoan Post #4

Math + Physics + StarCraft = Zoan

Of note here though is that if you constantly (i.e. every trigger cycle) use mobile grids directly on top of a unit, it will slow that unit down, so look out for that.



\:rip\:ooooo\:wob\:ooooo \:angel\: ooooo\:wob\:ooooo\:rip\:

Nov 19 2015, 5:56 pm NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Zoan
Of note here though is that if you constantly (i.e. every trigger cycle) use mobile grids directly on top of a unit, it will slow that unit down, so look out for that.
... which is why you usually follow the unit with the center location and only in the trigger cycle when you actually need the grid create the devourers to space out the remaining 8 locations.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01: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
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: Roy