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.
[06:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: Oh_Man, C(a)HeK