Space Engineers

Space Engineers

Sector GPS v1.1
52 Comments
mmille14 21 Nov, 2015 @ 9:33am 
Any chance getting an option to have the output writen to an LCD panel? Would be nice to be able to configure it to use either the hud, lcd, or both.
MBlazerGuy  [author] 8 Jan, 2015 @ 1:53pm 
FIXED... The most recent release created an ambiguous reference to IMyTerminalBlock as it's now defined in both Sandbox.ModAPI and in Sandbox.ModAPI.Ingame. Had to add qualifiers to specify which one to use.
MBlazerGuy  [author] 8 Jan, 2015 @ 9:12am 
The mod is a very simple one. There's nothing coded that would change the range at which a ship can be detected by an antenna. However, with the latest release today, it appears the GPS mod is not working at all anymore. Even after turning the block on now, it still says ".GPS (off)". :(
StoicJ 6 Jan, 2015 @ 10:49pm 
The server Vanilla Deluxe uses this and it seems there is a fairly detrimental bug in the mod. It sometimes displays the location antennas from hundreds of kilometers away, despite what their range is set to. This problem being very scary on a PVP server where hiding in Deep Space is pretty much your first line of defense. Suddenly having your EXACT position broadcast to an entire server is....... bad.
Vowki 27 Dec, 2014 @ 2:50pm 
...
MBlazerGuy  [author] 27 Dec, 2014 @ 1:19pm 
To be honest, I haven't tried it in the massive world scenario yet. I play most of the games on my server (so it keeps running and refining when I'm not around.) But the game still had too many bugs to be playable at the moment, so I'm continuing to wait. (Bugs like not being able to respawn into the rescue ship, when I have the option to not delete the respawn ships enabled. And when drilling, the rocks start moving and defying gravity on there own, and they sink into the procedurally generated asteroids like quicksand until they disappear. Really weird stuff.)
MBlazerGuy  [author] 27 Dec, 2014 @ 1:16pm 
Glad you found your way home VELOCITY! :)
The Thermal Drill 27 Dec, 2014 @ 11:58am 
Thank you for this mod. I went on a pirating tour (hunting some mining carriages) and I got lost because I forgot to set up a beacon at my base, my only solution was to coordinate the ship the right way with the GPS and after not very long time I got back home.
WirtsLegs 26 Dec, 2014 @ 3:40pm 
does this work with the new massive worlds (and the new cluster coordinate system)?
Vowki 11 Dec, 2014 @ 4:43pm 
OK THANKS!
MBlazerGuy  [author] 11 Dec, 2014 @ 2:23pm 
Rename the antenna on your ship to one of the 4 following prefixes:
GPS
.GPS
XYZ
.XYZ
Vowki 11 Dec, 2014 @ 9:56am 
meaninghow do you make it work?
Vowki 11 Dec, 2014 @ 9:56am 
how do you use the GPS?
MBlazerGuy  [author] 11 Dec, 2014 @ 5:37am 
Thanks to RelicSage, I've been able to upgrade this MOD so that I don't have the 2 duplicate mods in Steam. Sorry for any inconvenience of anyone who manually switched over to the other one. The problem I had previously upgrading is that the "modinfo.sbmi" file had been deleted. But, since it was recreated with the new version, I only had to edit the file and change the embedded WorkshopID to this mod to complete the upgrade. Anyone using this mod now will notice that the default "GPS" is now displaying in Meters, instead of Km's. Hopefully, this will make everyone revisit the description, to see the details of the upgrade, and how to switch back to Km's, or to use XYZ if preferred. (And to give a nice Thumbs up rating if they like the upgrade.) :)
Krulac 6 Dec, 2014 @ 10:55am 

The word "fiction" is made by man as well. The directions requardless of their orgination is not "fiction" for they exsist in the mids of mankind, of which I can only asume are the only ones reading this. The terms fiction and non-fiction, scince fiction and so on are use to classify types of reading and or veiwing matrieal, words like "make beleave, made up, fony are in your statment itself, describes the direction names as "made up". Also "Critisizing" is one more thing mankind does that its not fiction in fact its part of life deal with it.

Mankind has and will continue to make things up as we go along, so in your opion it is all fiction, which could only mean mankind is fiction as well?
Alakeram 5 Dec, 2014 @ 8:44pm 
I would prefer XYZ this is a very useful mod, but very confusing since XYZ is the actual implimented cordinate thing, which imo i personally think KSWH will most likely release thier own nav cockpit in the future after bug fixing

but i would deffinitly use this if it was XYZ based
The Bounty Tickler 5 Dec, 2014 @ 7:44pm 
Aye, an XYZ option, please.
meleexbox 5 Dec, 2014 @ 7:21pm 
Yeah. XYZ would be great. Options are never a bad thing!
John Shepard 5 Dec, 2014 @ 6:56pm 
and that last thing in the note; " I've noticed that some of the in-game ships are not oriented correctly, and the compass is on the wrong access, and turned 90 degrees. (The large blue ship, and the yellow rescue ship.) Other ships, such as the large red ship, and the small ships are oriented correctly. " could the blue and yellow ship's shapes have anything to do with it? or maybe symetry
John Shepard 5 Dec, 2014 @ 6:54pm 
could you add a screen in the cockpit your flying in that shows a map of the game and where you are?
Eldorado3533 5 Dec, 2014 @ 4:34pm 
Look For the Lower Case 'L' And You
Will Be Kissed Tomorrow:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLlLLLLLLLLLLLLLLLLLLLLL LLLLL
*Now Look For The Q And Your Wish
Will Come True:
... ... ... ... ... OOOOOOOOOOOOOOOOOOOQOOOOOOOOOOOOOOOOOOOOOOOOO O.. .OOOOOOOO
*This Is Really Hard, Now Find The 'N':
MMMMMMMMMMMMMMMMMMMMMMMMMNMM
*Now Find The Mistake:
ABCDEFGHIJKLNMOPQRSTUVWQYZ
*Something You Really Want, After the
countdown!!!!!
10 9 8 7 6 5 4 3 2 1 Now Close Your
Eyes And Make A Wish! ;*;*;*;*;*;* Now
Paste This On 9 pages And Your Wish
Will Come True! Hurry, You Have 20
minutes! Or What You Wished For Will
Be The Opposit
Aki-San 5 Dec, 2014 @ 3:55pm 
i would love an XYZ coordinate system! :) (if its not too much work)
MBlazerGuy  [author] 5 Dec, 2014 @ 3:14pm 
I could create an update if you like. Use "GPS" if you want the current orientation so that the existing system still works. Use "XYZ" if you prefer that method of reference. with the + - values.
Any votes?
Aki-San 5 Dec, 2014 @ 2:58pm 
he could have used XYZ positive and negative. would be the same, i think NSWE+UD is nearly the same, a little bit better to differentiate than a Z / -Z. maybe with a written + (so +Z and -Z) it would be helpful. or just have a solar powered unlimited range beacon :D
Minion of Speed 5 Dec, 2014 @ 2:40pm 
http://en.wikipedia.org/wiki/North
Read this and realize that all navigational aids are constucts of man. There is no natural north, south, east, west, longitude, latitude or even up or down. It's all fiction made up to help people get from one place to another. Is space it is no different. Critisizing someone for defining an arbitrary direction is pointless. Just had to say that due to some of the posts on here.

Good Mod
MBlazerGuy  [author] 5 Dec, 2014 @ 2:33pm 
Yep, I know.
But there's no 110 m/s speed limit either. :)
Lab Rat 5 Dec, 2014 @ 2:21pm 
Hope you know there is no up and down in space...
MBlazerGuy  [author] 5 Dec, 2014 @ 2:05pm 
I do have another MOD which is "Stars and Galaxies V2" Skybox. It is aligned properly so that if you're facing the Galaxy cluster, with the Sun above, then you're facing North, and are oriented correctly.
MBlazerGuy  [author] 5 Dec, 2014 @ 2:02pm 
Well, not completely true grid. I didn't want to have a 2 Km wide area of 0 sectors. So sector [1s 0u 1w] goes from XYZ (0,0,0)-(1000,1000,1000)
Coded as:
string Xpref = "n";
if (position.X > 0) { Xpref = "s"; Xdisp += 1; }
string Ypref = "u";
if (position.Y < 0) { Ypref = "d"; Ydisp += 1; }
string Zpref = "e";
if (position.Z > 0) { Zpref = "w"; Zdisp += 1; }

Note I also coded the directions in lower cases because "D" and "S" looked too much like "0" and "5".
Aki-San 5 Dec, 2014 @ 12:53pm 
did you choose the directions in alignment of the "true grid"? (like how the starting stations are fixed in the grid)
Tired of your crap 5 Dec, 2014 @ 10:18am 
This is pretty cool. A tip for those who may be having navigation troubles - change the skybox in the background. The default one looks too much like the normal rocks and it makes everything look the same. Having discernable nebulae etc. in the background makes navigation by "landmark" possible.
Minion of Speed 4 Dec, 2014 @ 8:21pm 
Ok, cool. Look forward to trying it next time I play. Looks useful
MBlazerGuy  [author] 4 Dec, 2014 @ 4:51am 
There is another GPS mod that does that, and displaying a location like [<<<3764.35762, <<-2673.598774, -2267.867448>>] doesn't really look as nice as [<<<3n <<2e 2d>>] As the title of the mod indicates, it's trying to provide a simple method of breaking the space down into 1 kilometers cubic sectors. This makes it easier to relay your coordinates to another player if you're working as a team exploring a vast areas of deep space on a custom map.
Minion of Speed 3 Dec, 2014 @ 8:26pm 
Ok. I plead complete ignorance. But, Wouldn't it be simpler just to display the absolute coordinates that the game already uses to track objects? Given my limited experience with getting un-lost by changing the position values in the save file, it looks like the game already has a coordinate system in place, with the asteroids arranged around the 0,0,0, ceter point. At any rate, this looks like a servicable navigation tool, with a creative solution for spatial awareness. Good job.
MBlazerGuy  [author] 3 Dec, 2014 @ 4:31pm 
The functions that get the position and orientation are only these 4 lines... The rest is just formatting and a bit of trig for the display.

Vector3 position = gpsObject.GetPosition();
Vector3 velocity = ((MyObjectBuilder_CubeGrid)gpsObject.Parent.GetObjectBuilder()).LinearVelocity;
Vector3 orientation = ((MyObjectBuilder_CubeGrid)gpsObject.Parent.GetObjectBuilder()).PositionAndOrientation.Value.Forward;
Vector3 up = ((MyObjectBuilder_CubeGrid)gpsObject.Parent.GetObjectBuilder()).PositionAndOrientation.Value.Up;
MBlazerGuy  [author] 3 Dec, 2014 @ 4:31pm 
It's a very simple script that gets the position and orientation of the ship, and then forms it into a displayable string.

I'm not sure why it would be causing any lag being this small, but maybe it could possibly be because if the GPS is attached to the BEACON, it runs in the "update every 100th frame" section, where with the ANTENNA, the only way I could get it to work was to have it running in the "update every 10th frame" section. Even if trying to change the attributes to get it to only update in the "every 100th frame" section.
Minion of Speed 3 Dec, 2014 @ 3:51pm 
Does this basically just display the position data from the save file? Or interpret it?
Kranyolsu 3 Dec, 2014 @ 6:29am 
I don't know if this is just because I used it on massive capital ship world, but it seams to cause a lag spike every 1-2 seconds when an antenna with this script is turned on. Frame rate returns to normal if you turn it off though.
MarchB 2 Dec, 2014 @ 5:48am 
Very Nice
"No more lost in Space"
Failtastic17 1 Dec, 2014 @ 7:07pm 
Let me actually test this mod and how effective it is before I say anything else.
Shadow_Wolf 1 Dec, 2014 @ 3:24pm 
I was in a dire need of that!
Fyury 1 Dec, 2014 @ 11:03am 
Nice job!

@blackadder ... compass? why the assumption it is magnetic? Its a representation of directional information based on a reference point.
yoga bitch 1 Dec, 2014 @ 9:19am 
complaining about compass directions as opposed to xyz is entirely semantic. both use the same math to get their info, they just present it differently.
callme-jk 1 Dec, 2014 @ 7:17am 
nice idea, but complex. (to much infos in screen) - i test it, but i thing i will stay on beacon gps... its time for sector and ingame map in space engineers. -.-
The Bounty Tickler 1 Dec, 2014 @ 6:55am 
N/S E/W U/D is very confusing in space even WITH a centered reference, in my opinon. Could you make a version that uses XYZ nomenclature?
MBlazerGuy  [author] 30 Nov, 2014 @ 7:59am 
So true. But in space we're not restricted to a 50 - 100 Kilometer block either, nor to we have a 110 meter per second speed limit. ;)
Black Adder 30 Nov, 2014 @ 7:52am 
@ Baruonyx : http://www2.jpl.nasa.gov/basics/bsf13-1.php . No, a compass wouldnt work in space since it would align towards the strongest magnetic body.
Baryonyx 30 Nov, 2014 @ 6:18am 
Good idea, but is "north" and such really the correct way to call directions in space? :P
Deano 30 Nov, 2014 @ 2:52am 
thx thumbs up m8
DeAnti 29 Nov, 2014 @ 11:40am 
thumbs up and favorite ..good job bro