Stormworks: Build and Rescue

Stormworks: Build and Rescue

80 ratings
Interactive map
2
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air, Sea, Land
Tags: v1.6.13
File Size
Posted
Updated
142.185 KB
17 Jan, 2021 @ 8:00am
6 Feb, 2023 @ 11:53am
3 Change Notes ( view )

Subscribe to download
Interactive map

In 1 collection by Firyst
Firyst's microcontrollers
8 items
Description
This is a lua based map with lot of functions, such as free movement, drawing routes and grid, connecting external modules etc.

Specs
Supports 2x2+ monitors (sorry, no 1x1).
Controller size: 3x2.
Free moving around map.
Following player.
Drawing waypoints.
Drawing shortest path.
Drawing grid (size can be chosen).
Returning current coordinates.

Basic setup (no waypoints)
0. Subscribe to this item.
1. Install the controller.
2. Connnect "touch" from your monitor.
3. Connect "input data". For making composite just use "composite write". Index 1 is compass, 2 is X, 3 is Y.
4. Connect video signal to your monitor.
5. Make sure everything is connected properly and supplied with electricity.

Advanced setup (with waypoints/external controller)
0. Do all previous steps.
1. Place a keyboard (large) and composite write for two numbers or use any other way of input. Odd indexes are for X, even for Y. Max - 8 waypoints (indexes 1-16).
2. Connect the composite to the map controller.

Controls
Click on the map to move. Map centers to the point you clicked.
Plus and minus buttons are used for zooming in/out.
"W" button centers you to waypoint №1, if it is set.
"C" button centers you to your current location (requires input connected).
Holding "C" button toggles player follow mode. To stop following. just click somewhere.
"S" button opens settings menu:
  • Path (PTH): draws line paths between waypoints.
  • Player (PLR): draws the player triangle.
  • Points (WPS): draws waypoints.
  • Grid (GRD): draws grid.
  • Grid size (GSZ): select the length between two grid lines.

Notes
Output node return world's X and Y of current map center.
Map can be customized on the 122-128 lines of main code.
Grid sizes may be changed in settings menu code, line 6.
Waypoints are shown only if its coords aren't equal to 0.
I know that code is literally unreadable and the whole controller is trash. Thanks devs for this stupid 4096 symbols limit. Or maybe i'm a bad coder.

Feel free to use, but if you use this controller in your workshop product, please credit me!
74 Comments
Firyst  [author] 21 Apr @ 5:20am 
@FARADAY спасибо! Цвета нужно обновить, они раньше были темные, а после какой-то из обнов поплыли
zombie 19 Apr @ 3:48am 
офигенная карта, очень порадовала возможность зума и свободного перемещения. Я чутка подредачил код чтобы карта цветная была, и теперь вообще идеально!
WonderfulWafflez 4 May, 2023 @ 7:44pm 
Super cool! Great job. Maybe could be a little more descriptive on the instructions for the advanced setup.
AdamFMX 9 Apr, 2023 @ 3:34am 
Oh ok thanks
Firyst  [author] 9 Apr, 2023 @ 3:06am 
@ottusmada you need a sort of microcontroller that can store some waypoints in its memory
AdamFMX 9 Apr, 2023 @ 3:05am 
Good work mate, but for adding multiple waypoints I need multiple keypads?
Firyst  [author] 21 Mar, 2023 @ 10:02am 
@poopupupu its a microcontroller
poopupupu 21 Mar, 2023 @ 7:09am 
is it a vehicle or micro controller?
tripskies 6 Feb, 2023 @ 12:09pm 
I use this in literally everything I build. Thank you. Sometimes a 5x3 is just to big and the 2x2 hurts my eyes. 2x 3 is perfect.
Firyst  [author] 6 Feb, 2023 @ 12:06pm 
@tripskies yeah, this map defenetly deserved an update

INFO: I updated the microcontroller: fixed some issues with 2x3 and 3x3 monitor sizes, and updated colors for arid biome. Before updating, make sure you have the correct version (in description marked as V1.1), because in my case I had to resubscribe and restart the game.