Stormworks: Build and Rescue

Stormworks: Build and Rescue

Boat Dashboard - speed, rudder, engine, fuel consumption, depth, and more (by dr.ego)
37 条留言
Ω Compu 11 月 7 日 下午 11:23 
what about overlaying it on top of the boat graphic?
dr9ego  [作者] 11 月 7 日 下午 11:02 
Unfortunately, there's too little space on a 1x1 screen to fit all the elements. The compass will start overlapping with the speed display
Ω Compu 11 月 5 日 下午 2:25 
maybe using that smaller font used on the 2x2 screen?
Ω Compu 11 月 5 日 下午 2:24 
would it be possible to get a compass on the 1x1 screen?
dr9ego  [作者] 10 月 27 日 上午 2:40 
thanks!
prgi 10 月 25 日 下午 3:29 
im lovin it
dr9ego  [作者] 10 月 18 日 上午 7:43 
I will add this option too
Ω Compu 10 月 18 日 上午 7:29 
and at idle it drops to 1 L/minute
Ω Compu 10 月 18 日 上午 7:29 
nah i'd rather have the fuel consumption bar's range be customizable, for my boat it'd be 50 L/minute max and 0 L/minute minimum (50 L/minute is about what it uses when accelerating to it's top speed from a dead stop, once it reaches it's top speed the consumption dies down to about 42 L/minute, and when running at it's highest efficiency speed it drops to about 19 L/minute)
dr9ego  [作者] 10 月 18 日 上午 12:56 
Yes, I'm thinking of adding them. Next to the remaining fuel indicator, I want to add a small bar showing the fuel consumption. I think it will be dynamic. If we assume we have a full tank, and the current fuel consumption will empty it in 5 minutes, then that would be very high fuel consumption. If, however, at the current consumption, the full tank will be empty only in a few hours, then that would be low fuel consumption. I also want to add a similar small indicator for the engine temperature.
Ω Compu 10 月 17 日 上午 6:36 
btw i just realized, there's no engine overheat indication on the 1x1 display (at least not with the separate engine 1 and 2 indicators on one side of the screen), could that be added?
Ω Compu 10 月 16 日 下午 3:33 
the main reason i want such an option is it gives something to put on the other edge of the screen while also enabling an indication of fuel consumption when on a 1x1 display
dr9ego  [作者] 10 月 15 日 下午 11:55 
If so, then yes, it's not difficult
I wanted to make it a little more difficult, but simpler might even be better
Ω Compu 10 月 15 日 上午 9:50 
might even be able to use ur deadzone code to make the top part of the bar red
Ω Compu 10 月 15 日 上午 9:49 
i think the sidebar might be easy, just take the number used for the fuel consumption display (ie liters per second/minute/hour) and then use the same bar code used for the throttle but input the fuel consumption number into it and change the color, and let the user set the min and max on the bar
Ω Compu 10 月 15 日 上午 9:47 
ok, updated my boat to the new version
dr9ego  [作者] 10 月 15 日 上午 9:27 
Done, except for the fuel consumption sidebar
dr9ego  [作者] 10 月 15 日 上午 8:28 
No, it's ok) I understood that you want to be able to manually set the engine temperature at which it should be highlighted in a warning color) I just put it wrong)
Ω Compu 10 月 15 日 上午 7:48 
wait no u misunderstood, i'm not asking to change the warning color, i'm asking to change the temperature the warning triggers at
dr9ego  [作者] 10 月 15 日 上午 5:01 
Okay, I’ll try to add both the customizable temperature warning color and the fuel consumption bar! But I can’t promise it’ll be done quickly 😅

Got your formula—thanks! For now, I’ll keep the compass logic as is, so users who’ve already integrated this script won’t need to rework their builds. Also, since I’m planning to switch to the physics object sensor soon (to reduce the number of required inputs), the compass setup will likely change anyway.
Ω Compu 10 月 15 日 上午 4:51 
that function is the one the heading hold system i created uses to convert the compass output to degrees, i can confirm it will be accurate with the compass arrow facing forward
Ω Compu 10 月 15 日 上午 4:50 
and yeah just the temperature bar color
Ω Compu 10 月 15 日 上午 4:50 
the rate at which fuel is being consumed
dr9ego  [作者] 10 月 15 日 上午 4:44 
Yes, the compass here does have a specific requirement: its arrow must point toward the back (stern) of the ship, not the front (bow). Please double-check your setup—if your compass is facing forward, that’s exactly why the on-screen heading appears inverted.
Thanks for the formula, by the way—I’ll take a look and study it!
That said, I’m actually planning to replace the current compass + speed sensor setup with a physics object sensor in the future, which should simplify things.

Regarding the fuel consumption meter on the side of the screen—do you want to display just the remaining fuel level, or the rate at which fuel is being consumed?
Showing the remaining fuel isn’t a problem at all, but I’m not yet sure how to clearly visualize real-time fuel flow in such a narrow column.

And about the overheat warning threshold—you mean you’d like the temperature bar to turn yellow at 90°C (just a visual change)? Or are you asking for an audible alert as well?
Ω Compu 10 月 15 日 上午 2:47 
oh and could the threshold for the overheat warning be customized? like my engines r seawater cooled so i'd like to be able to set the warning to 90 C, before scaling would start happening
Ω Compu 10 月 15 日 上午 2:36 
oh think we could have a fuel consumption meter that could be put on one of the sides of the screen like the throttle can?
Ω Compu 10 月 15 日 上午 1:00 
use the function ((1-x)%1*360) to convert the compass number output to degrees
Ω Compu 10 月 15 日 上午 12:58 
i think the compass programming used in this is backwards, shows 0/360 when going south when that heading is north
Ω Compu 10 月 15 日 上午 12:52 
btw i'm using this on my boat, the pegasus motor lifeboat
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3582190537
u can use it as an example for ur microcontroller if u want
dr9ego  [作者] 10 月 14 日 下午 11:37 
Yes, good point. I'll adjust it over the next few days
Ω Compu 10 月 14 日 上午 11:39 
could u allow setting a more granular throttle deadzone? my boat starts moving at 0.15 throttle
Wizardhax1221 10 月 13 日 下午 7:22 
:o
dr9ego  [作者] 10 月 12 日 上午 12:16 
your welcome!
CAT_OPS 10 月 11 日 下午 7:28 
This is the "conning" screen! Thanks!
Steelkable 10 月 11 日 下午 1:03 
oh cool
dr9ego  [作者] 10 月 11 日 下午 12:15 
Yes
Just set "Speed units" to "mph" in the microcontroller properties
Steelkable 10 月 11 日 上午 11:51 
can you set it to freedom units? like mph?