Stormworks: Build and Rescue

Stormworks: Build and Rescue

31 ratings
Odometer - Mileage Resettable
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air, Sea, Land
Tags: v0.10.11
File Size
Posted
Updated
29.143 KB
5 Dec, 2018 @ 11:53am
14 Mar, 2020 @ 7:44pm
6 Change Notes ( view )

Subscribe to download
Odometer - Mileage Resettable

Description
This 3x1 controller calculates total distance traveled since vehicle spawn.

What's new:
Now there is a I/O pin for Reset button, simple push-action button will do just fine. Hold it for 2 seconds to reset all the data on display.

Input: linear speed, [m/s].

Output: traveled distance, [m], [km], [NM].

Usage: Connect controller with linear speed meter and display or dial.
Set up minimal processed speed to suppress signal noise caused by waves or little movement, 0.2 m/s by default.
Plug a Reset push-button if needed. Hold button for 2 seconds to reset displayed value.

Pick an output unit:
- Kilometers (by default)
- Meters
- Nautical miles

Logic module (old style) version:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1582727628
22 Comments
TodayOnBottomGear 4 Jun, 2022 @ 8:36am 
Thanks took me a second to realize i had to display
THX-11-38  [author] 4 Jun, 2022 @ 6:28am 
@TodayOnBottomGear
The best way IMO is to use simple Digital display with one decimal. Hope this helps!
TodayOnBottomGear 3 Jun, 2022 @ 9:53pm 
What do I hook up distance to display to?
TheCoolTimeLord 15 Feb, 2022 @ 5:30pm 
@THX-11-38
Thanks for the heads up!
THX-11-38  [author] 15 Feb, 2022 @ 9:26am 
@TheCoolTimeLord,
Thank you! Sure thing you can! Should warn you about possible reset of your values after loading your save. See 4-5 comments below. Maybe Devs already fixed that.
TheCoolTimeLord 15 Feb, 2022 @ 5:38am 
10/10
Just gotta double check, can I use this in my vehicles?
Echoless 11 Mar, 2021 @ 3:08pm 
Thank you!
THX-11-38  [author] 11 Mar, 2021 @ 9:23am 
@Echoless
Sure! And thanks for your interest in this microcontroller.
Good luck with your collab project!
Echoless 10 Mar, 2021 @ 3:59pm 
I am making a public collaboration microcontroller that controls cars, may I use your controller as a module? It will have full credit in the description and in the controller itself and there might be some edits to the controller. its made of different modules from different creators, including my main module.
THX-11-38  [author] 15 Aug, 2020 @ 1:10pm 
@lordFrith
Hi and thanks for your comment!
I've checked some of my own saves and you're right: game does not save values anymore for some reason. It also shows in other microcontrollers, including Lua scripted ones. I guess this is related to previous updates.