Jansgi
89.70 KB
Displays fuel usage in liters per hour (l/h) for combustion engine vehicles and instantaneous power in kilowatts (kW) for electric vehicles. Anchored to the bottom-right corner of the HUD and scales with the UI. Hidden for other vehicle types.V1.1.0.0
– Significant internal improvements
– Robust consumption estimator:
– Exponential Moving Average (EMA) smoothing and adaptive smoothing for ECU "lastFuel" readings and electric power estimates.
– Event-driven fill-level delta estimator with anti-spike measures (median + trimmed-mean + stability check).
– Plausibility filtering (ignores unreliable readings)Electric behavior improvements:
– Shows instantaneous power (kW) while the electric motor is ON even when stationary.
– Displays 0.0 when the motor is OFF to prevent confusion with residual values.
– Improved consumer-based fallback estimation for electric power usage.
– Faster, more responsive internal sampling while maintaining stable on-screen display.
– HUD appears instantly when entering a vehicle (placeholder shown immediately; accurate values follow shortly).
– Smoother, more plausible readings with fewer spikes and erratic values.
– UI scaling fixes: HUD position and size remain consistent across different UI scales (including small scales such as 50%).
– Respects in-game HUD visibility (won’t display when the in-game UI is hidden).
– Stability fixes: added runtime guards to prevent rare "attempt to call a nil value" crashes.
Comments:
Login to place a comment: Login
willjackson123
18 Dec 2025
This mod really steps up my farming setup by keeping track of fuel usage clearly. The immediate feedback helps a lot to manage my vehicle performance. Makes planning my operations much easier!
React
Wolfy
18 Dec 2025
Thanks for providing this mod, it's great to see fuel usage finally visualized!
React