Staredit Network > Forums > SC1 UMS Theory and Ideas > Topic: Mobile Grid Generator
Mobile Grid Generator
Jul 4 2010, 4:32 am
By: goobie  

Jul 4 2010, 4:32 am goobie Post #1



Hey all! I wasn't really sure where this should go, map showcase, mapping tools, mapping assistance? Anyway, I got tired of making new triggers every time I wanted to see what a new mobile grid would look like, so I made a map that will generate them in-game! I'm not sure if this has been done before, I didn't think to check until I was all but finished with it. Now it seems like a real waste not to share it. It's handy for experimenting with different mobile grid possibilities (literally every combination of units is possible), and for learning about how unit placement in SC works at the most basic level. It can easily be extended to make grids with more than 30 units (the current maximum), but usually by 30 you're getting Unit Unplaceable errors.

Here's the link. Hope it's helpful, and enjoy!
MobileGridTester 1.0beta



There's got to be something more to life than being really, really, ridiculously good looking...

Jul 4 2010, 7:02 pm rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

Units are always created on the center of the nearest 16x16 tile if there is a unit in the center of the location blocking the path. Therefore any location can be moved to any 16x16 tile using alternating 1.5x1.5 and 1x1 grids.



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

Jul 4 2010, 11:39 pm goobie Post #3



Quote from rockz
Units are always created on the center of the nearest 16x16 tile if there is a unit in the center of the location blocking the path.
If this is true, all units would be usable for creating perfect mobile grids of sizes divisible by .5 (Perhaps with a few holes). This is not the case.

This does not explain the grid for arbiters, which create a perfect 1.5x1.5 grid. The order is
7 6 5
8 1 4
9 2 3
Spots 4, 6, and 8 are all closer to the center than 3 , 5, and 7, and the former should be placed before the latter by that rule, even if you sum the x and y displacement instead of calculating the exact distance.

Quote from rockz
any location can be moved to any 16x16 tile using alternating 1.5x1.5 and 1x1 grids.
Clever, I like this.



There's got to be something more to life than being really, really, ridiculously good looking...

Jul 5 2010, 3:52 am Falkoner Post #4



This is pretty sweet, although, have you added a fix for the offset glitch?



None.

Jul 23 2010, 3:03 am goobie Post #5



offset glitch? like when you're at the edge of the map?
I'm working on making it so you can move the spawn location around and intend to make the location 1x1 so you can get it good and close to the edge and see what grids do along the sides of the map

I apologize for how long between posts I've been, I've had some issues with my internet and not had connectivity long enough to do anything substantial.



There's got to be something more to life than being really, really, ridiculously good looking...

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02: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
[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:
Please log in to shout.


Members Online: jun3hong, Ultraviolet