Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Grid and Coordinate Systems, Direction Detection
Grid and Coordinate Systems, Direction Detection
This topic is locked. You can no longer write replies here.
Jul 27 2009, 5:36 pm
By: Ashamed  

Jul 27 2009, 5:36 pm Ashamed Post #1

Hear me Raor!!

So, i started to make a map again. Its a RPG and what im trying to do is make a directions detection system, So far i have it pretty good, i have 2 locations thats extend from 1 side of the map to the other, one is vertical and the other is horzontal, Then there are 3 differnt kinds of units on the side to detect the movement. If anyone knows a simple, type grid system that would be helpful.



None.

Jul 27 2009, 6:05 pm Kaias Post #2



Grid Systems wiki



None.

Jul 27 2009, 6:59 pm JaFF Post #3



OK, I moved your topic to UMS Assistance, since you're not displaying a new idea, nor are you asking for a new idea to be applied to your map.

What you have set up now is a coodrinate system, just like the Unit Coordinate Detection article suggests. If you want to detect what direction the unit has moved, you have several options.

If you want to have only the 8 basic directions (a more advanced modification of this method can give you 16 directions), you can set up a Mobile Grid around your unit (see Mobile Grids in the Grid Systems article Kaias posted) and just check which of the 8 sides the unit moved to. This method does not work if you have air units near your 'hero'.

Working from what you already have (a coordiante system), you can simply compare the new unit coordinates with the old ones via Binary Countoffs and get the direction from there. This requires a little trick to be added. If you're interested in this method, I'll describe this trick.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
[2026-5-31. : 2:55 pm]
Moose -- >reddit :rip2:
[2026-5-31. : 2:07 pm]
IskatuMesk -- reddit 💀
Please log in to shout.


Members Online: Ultraviolet, Roy