Stormworks: Build and Rescue

Stormworks: Build and Rescue

27 betyg
Advanced Map with Waypoints
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Vehicles: Sea
Microcontrollers: Navigation, Microcontroller
Taggar: v1.7.1
Filstorlek
Lades upp
Uppdaterades
205.131 KB
13 jul, 2022 @ 12:38
25 mar, 2023 @ 15:01
2 ändringsnotiser ( visa )

Abonnera för att ladda ner
Advanced Map with Waypoints

Beskrivning
==== 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://psteamcommunity.yuanyoumao.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 kommentarer
(cool)turysta 11 maj @ 15:00 
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:41 
how can i make the waypoint always output?
Random 13 okt, 2024 @ 9:48 
Auto pilot does not work, It needs a GPS
jiri.kribek 15 jan, 2024 @ 9:12 
can you make one were it reads the x and y from the mc
Hendrik  [skapare] 8 aug, 2023 @ 11:43 
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 @ 16:52 
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  [skapare] 14 maj, 2023 @ 11:46 
You can find the source code for the current version here: https://pastebin.com/N28bfnH0
JosieGraceTV 12 maj, 2023 @ 3:57 
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 @ 22:22 
Good stuff. You're a talented person, keep it up.
Turbo Shark 25 mar, 2023 @ 15:57 
Awesome! thnaks so much for following up!