Stormworks: Build and Rescue

Stormworks: Build and Rescue

Odometer - Mileage Resettable
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.
lordFrith 15 Aug, 2020 @ 6:27am 
this is great but it seems to reset when i reload game, does that count as respawning the vehicle or did i wire it wrong?
AB01 19 Apr, 2020 @ 6:15am 
Hi, I put your odometer in my truck. Thanks alot!
THX-11-38  [author] 15 Mar, 2020 @ 5:32pm 
@DVS Corpsman Janmcp
Thanks! I've made several runs with both microcontrollers onboard. It seems that new calculations are somehow divided by two. Quick fix is already uploaded, but still, any further data is always welcomed! Thank you!
DVS Corpsman Janmcp ₪🔰₪ 15 Mar, 2020 @ 6:51am 
Sadly, I don't have any experience in coding nor do I know anything about the map generation, I just have learned by myself how objects are saved inside the vehicles' file. I may try to test both versions on the same locomotive at once..
THX-11-38  [author] 14 Mar, 2020 @ 1:48pm 
@DVS Corpsman Janmcp
Thank you for your note! This is pretty fascinating, since calculation methods are kept the same as in old version.
I'm not familiar with map generation algorythms. Does it spawn railroads always the same way, with Arctic and Southern One Island always on same positions?
This weekend, I'll try to make several observations with old and new odometers, but if you eventually get some more data about it, could you post it here, please?
DVS Corpsman Janmcp ₪🔰₪ 14 Mar, 2020 @ 3:13am 
This is a must-have microcontroller, and I just have to mention that after this odometer got updated, it seems like it counts like 30-40% less than it should, as the vehicles I have with the old odometer version counted around 100 km from starter island to the Arctic (with train), while with the new version it only showed around 60 km from newly spawned. Is the calculation changed? (And BTW previously placed versions of Micro's are kept as they are (in old vehicles), as they are saved in the vehicle file.
THX-11-38  [author] 15 Feb, 2020 @ 4:49am 
Hey all! Following your wishes, I've updated this microcontroller to have Reset function.
Now you can zero all the distance you've passed if needed.
Unfortunately, I had to expand the size of MC, now it is 3x1. This huge change will require your attention, if you've already placed it to your existing vehicles. Make sure to check all the logical contacts, since they may disappear.

I had several ideas to make resetting possible, even without any buttons and extra pins, but those solutions would require much more actions from the user to set the microcontroller up. This fact stands against the idea of simple use. Now, with cost of re-installing, reset is functioning. This means you can perform even more tasks from now on.

I've tested the updated device many times, but still cannot be sure it is completely de-bugged. I still wait for your feedback and further ideas.

Thank you, have fun!
THX-11-38  [author] 2 Nov, 2019 @ 8:26am 
@Malin
Unfortunately not, it is designet to serve just as usual odometer in any car for registering the total mileage.
Malin 28 Oct, 2019 @ 2:48pm 
Is there any way to reset the odometer mid-trip?
THX-11-38  [author] 8 Jun, 2019 @ 1:36am 
Hey all, thanks for subscribing!
Microcontroller was updated, now it contains a new feature.

As you know, active blocks lose their values after vehicle gets re-spawned.
Now you can input distance value you've traveled during your previous journeys straight to the Odometer in Selection menu of the Editor. This way, mileage goes on counting! See last screenshot.
THX-11-38  [author] 14 Dec, 2018 @ 4:10am 
Thanks everyone who has subscribed and tested this microcontroller! I've made an update:
Now it has a selection field for output units:
- Kilometers (by default)
- Meters
- Nautical miles

Simply click on controller in selection mode and pick one You like! Best wishes!
optimistic 13 Dec, 2018 @ 6:28pm 
Thanks so much!