Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Move Location Over A Unit
[SOLVED] Move Location Over A Unit
This topic is locked. You can no longer write replies here.
Oct 3 2011, 12:38 am
By: Warlord_Master  

Oct 3 2011, 12:38 am Warlord_Master Post #1



Hi, I am trying to make a location centered over a unit, (the location is about the size of a screen ingame), and have 1 overlord at each corner of the location square to indicate the boundary. What would be easiest way of doing this.



None.

Oct 3 2011, 12:41 am Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

1. center the location onto that unit
2. create the overlords with mobile grids




Oct 3 2011, 1:37 am Dem0n Post #3

ᕕ( ᐛ )ᕗ

If he's asking how to center the location, he probably doesn't know how to use mobile grids. Unfortunately, neither do I. :crazy: Someone should probably explain that to him. ;o




Oct 3 2011, 1:39 am Roy Post #4

An artist's depiction of an Extended Unit Death

The old wiki does a pretty good job: http://www.staredit.net/?p=oldwiki&s=29




Oct 3 2011, 1:41 am Sacrieur Post #5

Still Napping

Daw Roy beat me to it.

Even though mobile grids are the best method of doing what you wish, they aren't terribly practical. Any other air units could mess up the grid.



None.

Oct 3 2011, 2:19 am Lanthanide Post #6



Using mobile grids to create 4 units at the corners of a screen-sized location is also going to be quite arduous and as Sac says prone to error if there are any flying units.



None.

Oct 3 2011, 11:10 am NudeRaider Post #7

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

This might be a good application for a static grid.

Let me outline how it works:
Think of a x-y-coordinate system you know from math. You represent the the axises with burrowed P11 units along the map border (only top OR bottom and left OR right). Each unit represents one grid unit: For x=1 the leftmost burrowed unit will be given to P10, for x=2 the x=1 unit is given back to P11 and the unit right of it is given to P10 and so forth.
Using a 1x256 (or whatever the size of your map is) location which acts as your x-coordinate cursor centered on the unit you want have overlords around. Since locations can't go outside the map it will always reach all the way down to your x-axis and you can give the burrowed unit to P10. From there you go 10 steps left (screen is 20x12 afaik) and you have the x-coordinate of your first 2 overlords.
Then you do the same with a 256x1 location to determine the y-coordinate.
Where the locations intersect you create the overlords. This, however, isn't an easy task and I can't think of a way to make it happen instantly.
You gotta shoot interceptors (fastest air unit) along 1 1x256 location and create the overlord where it hits the other location. Improve this by shooting 2 interceptors from 2 different coordinates.

If you think this is practical for your map we can discuss this method further.




Oct 3 2011, 4:34 pm Sacrieur Post #8

Still Napping

I've definitely toyed with the above method before, and even designed a map for it. I thought about telling him, but I figured I should document it far better first (which I will do in the next week sometime).

There is a way of doing what you want without screwing up any air units and finding the needed location, but I'm working on the details of it.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
[03:02 am]
Ultraviolet -- fuck those motherfuckers
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[03:08 pm]
Oh_Man -- example of wat u mean?
[2024-5-15. : 5:59 am]
NudeRaider -- *is
[2024-5-15. : 5:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[2024-5-14. : 10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
Please log in to shout.


Members Online: 6claudiae343tb1, Zycorax, 2camilae991wh6, 9audreyc9185eM0