Stormworks: Build and Rescue

Stormworks: Build and Rescue

26 ratings
Advanced Map with Waypoints
2
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Sea
Microcontrollers: Navigation, Microcontroller
Tags: v1.7.1
File Size
Posted
Updated
205.131 KB
13 Jul, 2022 @ 12:38pm
25 Mar, 2023 @ 3:01pm
2 Change Notes ( view )

Subscribe to download
Advanced Map with Waypoints

Description
==== Features ====
- smooth panning and zooming
- dark mode
- adding/removing waypoints via touch
- support for large keypad
- route planning
- outputs next waypoint for auto pilot
- number of waypoints is not limited by composite size
- works on 2x2 monitor, but larger is recommended.



==== Usage ====
Click the map to pan around. Click on a waypoint of the route to select it.

Buttons on the left:
[DRK] - toggle dark mode
[FLW] - follow ship
[+] [-] - zoom in/out

On the right:
[<] [>] - select and pan to the previous/next waypoint in the route
[ADD] - add new waypoint at the end of the route, or after the selected waypoint
[DEL] - delete last/focussed waypoint
[AP] - toggle autopilot output (needs to be toggled ON for coordinate output to work)

Coordinates on the bottom left are the X and Y of the center of the screen.
Number on the bottom right is the distance of the planned route.


==== Installation ====
Required input: GPS x/y, compass, touch
Optional input: boolean to remove the first waypoint in the list (should be triggered by autopilot when waypoint is reached)
Output: video and next waypoint


Check out this workshop item, which shows how to connect the inputs and outputs:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2834797497


==== Final words ====
Feel free to leave feedback, it will motivate me to keep updating this and other projects.
Contact me if you want a copy of the non-minified source code. I will be happy to share it if people are actually interested in it.


21 Comments
(cool)turysta 11 May @ 3:00pm 
Hello can i have contact to you? I was wondering if you could add some modifications to map. We are creating plane to perform RNP approaches and i was trying to add list of static Ariports data base
holger251007 9 Apr @ 9:41am 
how can i make the waypoint always output?
Random 13 Oct, 2024 @ 9:48am 
Auto pilot does not work, It needs a GPS
jiri.kribek 15 Jan, 2024 @ 9:12am 
can you make one were it reads the x and y from the mc
Hendrik  [author] 8 Aug, 2023 @ 11:43am 
Hi Michael, the code is minified by "LifeBoatAPI - Stormworks Lua" a plugin for VSCode. If you look at the pastebin I posted below, you will find the original clean code.
It would not be possible to have such a large script with clean code in the game without minifying it.
Michael6000000 7 Aug, 2023 @ 4:52pm 
Definitely not modify friendly.

I wanted to combined button control and touch screen.
I also wanted to Implement autopilot in to the micro controller.
The script is very unorganized and hard to wrap your head around.
The script has a bunch of letters and numbers with no order in particular.

Over all would not recommend for in any custom builds unless you have no plans on changing anything in the script.
Hendrik  [author] 14 May, 2023 @ 11:46am 
You can find the source code for the current version here: https://pastebin.com/N28bfnH0
JosieGraceTV 12 May, 2023 @ 3:57am 
Awesome work ! Was wondering if i could get the non-minified code to make some minor adjustments ? (i want to add ETA and such)
XxDefinitive_misogynistxX 4 Apr, 2023 @ 10:22pm 
Good stuff. You're a talented person, keep it up.
Turbo Shark 25 Mar, 2023 @ 3:57pm 
Awesome! thnaks so much for following up!