Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Basic Map Controller
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air, Sea, Creative, Land
Tags: v1.7.1
File Size
Posted
Updated
22.696 KB
16 May, 2019 @ 6:31am
22 Mar, 2023 @ 7:33am
2 Change Notes ( view )

Subscribe to download
Basic Map Controller

Description
Shows a map on the monitor. Including your coordinates and heading. You can also zoom in/out by buttons

Controller Size: 2x2

Hints:
- to feed the gps data to the composite bus, you need a Point to Composite Controller
- to feed the compass sensor data to the composite bus, you need a Value to Composite Controller
- to feed the zoom In/Out Buttons to the composite bus you need a On/Off to Composite Controller or use buttons from the instrument panel

Inputs:
- Composite with channel allocation:
#01 Zoom In (On/Off)
#02 Zoom Out (On/Off)
#03 GPS X (Number)
#04 GPS Y (Number)
#05 Heading (Number) [-.25 .. .25] direct from compass sensor

Outputs:
- Composite (zoom factor added on channel #16)
- Video

Properties:
- standard zoom (number) [1..20]: The standard zoom size
- gridline intensity (number) {0..255]: the intensity of the gridlines
- ship intensity (number) {0..255]: the intensity of the center marker
- text intensity (number) {0..255]: the intensity of the text
6 Comments
Funtime60 24 Mar, 2023 @ 11:25pm 
No offense, my game might not have updated yet, but the bug is still there for me. Line 28 still tries to output zoom in draw for me.
Funtime60 23 Mar, 2023 @ 3:23am 
Thanks, I'll leave a note in the steam description since my code and yours is fairly well mixed.
sengir_vampire  [author] 23 Mar, 2023 @ 2:41am 
You can use this controller or the lua code itself in your creations. Would be nice, if you mention the author.
Funtime60 22 Mar, 2023 @ 4:46pm 
I used this for my dual transponder locator system. Do you mind if I upload that system? I'm still going to need to get permission from the guy with the transponder distance calculator. Thanks.
sengir_vampire  [author] 22 Mar, 2023 @ 7:33am 
Thank you, correct version uploaded!
Funtime60 22 Mar, 2023 @ 3:15am 
You used output during the draw function.