HUDs for vehicles

by Oertel

Shows analog speedometer HUDs when driving vehicles - original mod by Godmave

Content
2 months ago
2.0
183

i error

2 months ago

hello Oertel
error occoured

Error while running event vehiclehud_fixed::on_player_driving_changed_state (ID 34)
vehiclehud_fixed/control.lua:426: attempt to index field 'train' (a nil value)
stack traceback:
vehiclehud_fixed/control.lua:426: in function 'showVehicleStats'
vehiclehud_fixed/control.lua:486: in function <vehiclehud_fixed/control.lua:476>

2 months ago

Hi LabsJ, thanks for the report.

Could you please give some detail what you were doing when the crash occured? It seems like you were getting into a vehicle, what vehicle?

For now, you can go to mod settings -> per player tab and put "Show stats on entering a vehicle" to "off", this should prevent the crash.

2 months ago
(updated 2 months ago)

Hi LabsJ, the error has been fixed and some other small improvements have been made. You should be able to update the mod and the fixes will apply.

Please let me know if there are any more issues.

2 months ago

When I launched a rocket from Nauvis, an error occurred immediately upon boarding.
Also, would it be possible to add an option to shrink and move the HUD window?
The top is completely full, and the bottom two sides obscure the tooltips and chat window, which is inconvenient.
So, if it were possible to move it, I'd like to move it to a more appropriate location.
There are some minor inconveniences, but this HUD mod makes Factorio more enjoyable to the eyes :)
And thank you for fixing the error.

2 months ago

There are already options to move the HUD - go to settings -> mod settings -> per player tab, you can set the anchor point to any corner of the screen and set an offset from the corner to customize where exactly the speedometer goes. Also, you can resize the HUD there. I just set the defaults to what I prefer (bottom left corner), I know it overlaps the stuff on the left, but that is my personal preference.

You can change it all :)

Let me know if you need any help or anything that I can add/change.

2 months ago

Oh, what an idiot I was.
Thank you Oertel :)

New response