Space Engineers

Space Engineers

Not enough ratings
Anyblock GPS Advanced
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.525 KB
4 Jan, 2015 @ 5:59am
21 Jan, 2015 @ 1:00pm
5 Change Notes ( view )

Subscribe to download
Anyblock GPS Advanced

Description
An Extended version of Anyblock GPS. This version allows the use of an orientation grid and input of a target destination or the world center.

Version 1.4

Set this on a self triggering timer for fastest updates.
To use the Basic Functions: Add "GPS:" to the end of any block's name.


For advanced functions you must rename the following additional blocks:

-1 block "GPS Abs:" to get orientation to the World Center and/or
-1 block "GPS Dest:" to get orientation to the input destination (currently coords must be entered in the top of the script, future will allow other entry modes and possibly a waypoint system.)

-3 blocks for orienting the script to the ship (REQUIRED for the two above to work) named "GPS Origin" "GPS Right" and "GPS Forward"
These blocks should be inline with each other as thier names indicate based off the origin. They do NOT need to be shown on hud like the screenshot. They also do not need to be directly next to each other as long as they are inline correctly (for minimal error).
GPS Up is no longer required, disregard it in the screenshot.

-1 block To set destination name a block end in "Destination:" "X:" Xcoordinate " Y:" Ycoordinate " Z:" Zcoordinate.
eg: "Destination: X:12000 Y:-12300 Z:1200", Another example: "Cargo Container 2 Destination:X:1200 Y:-4400 Z:12122", Yet One More: "Destination: Cargo 2 X:12321 Y:222 Z:-1230". !!IMPORTANT!! While you can have other characters between "Destination:" and "X:" you must not put anything besides coordinates between "X: "Y:" and "Z:" and must not have anything following the Z coordinates.

The output for the advanced features displays Distance to location, Required change in pitch and yaw to get on target, and an indicator if the target destination is in the rear arc of your ship. The screenshot example shows that to get to the destination the ship must Pitch Down 12 degrees and Yaw Left 53 degrees before traveling 33153 meters to arrive.


Current Plans:
-Waypoint Saving System (Will probably require a companion script for waypoint saving)
-Possibly make new input method optional

Known issues:
-Left and Down display negative angles which may be confusing if you overthink it.
-"º" keeps turning into a question mark in a diamond as if its a missing character when downloaded off steam, if it bothers you search the code and replace it by holding "Alt" and typing "0186"

Simple Version: http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=367866252

Update:
1.4b Fixed issue introduced last patch
1.4 Cleaned up and "GPS Up" requirement removed
1.3 New input method for destination
1.2 Fixed Destination script to work propperly.
17 Comments
[BOX] Trevish  [author] 23 Apr, 2015 @ 2:21pm 
I never got around to looking up how to work with the LCDs (actually totally stopped working on any scripts around that time) and honestly there are far better people to get help from on this front... head to the keen forums or maybe request additions to this script: http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=403921671
Deathpaw 23 Apr, 2015 @ 11:36am 
Could i please make a request, I am looking for a script to display orientation, position and speed on an LCD/Text pannel. Would you be able to assist? I've been through every scrip on the workshop and none serve my need.
[BOX] Trevish  [author] 26 Feb, 2015 @ 10:22pm 
I'll probably look into it this weekend
Lumios 26 Feb, 2015 @ 10:00pm 
Could you update this to display on an LCD?
Dark_453 24 Jan, 2015 @ 7:17am 
Since they have added in GPS Most of the GPS mods not needed- Tho i Still use one. so i get a HUD Display :P
[BOX] Trevish  [author] 21 Jan, 2015 @ 1:26pm 
Updated, apparently last patch broke the script and I hadn't been on to notice.
[BOX] Trevish  [author] 12 Jan, 2015 @ 9:21am 
I'm thinking of doing an autopilot script so looking for feedback on 2 options:
First should I add it this script as another optional setting or release as a seperate script?

Second, to turn on the autopilot is it preferred to take a block named "Autopilot:" with "On"/"Off" or force the use of interior or spot light name "Autopilot" that you then turn the block on and off (which can then be put in the hotbar)

The reason for the second is so that you don't have to stop this script/timer if I include that as part of it and because of a waypoint following option I may also include using the same toggle method.
[BOX] Trevish  [author] 11 Jan, 2015 @ 7:53am 
Cleaned it up alot, thanks for the reminder on crossproduct idjles, GPS Up is nolonger needed/used!
[BOX] Trevish  [author] 11 Jan, 2015 @ 12:28am 
New Input method, let me know if this is preferred or if I should make it an optional step
[BOX] Trevish  [author] 10 Jan, 2015 @ 11:00pm 
ok... finally figured it out, i derped up the dest part of the script, was using dest positions where it should have been vectors due to a variable naming fail.