What is this?
It's a set of scripts to record the distance travelled by your vehicles.Link to GitHub repo: https://github.com/EMN-CSharp/RoROdometer/
Features
- Main and trip odometer
- Mileage shown in kilometres or miles depending on the "Imperial units" RoR setting
- Works with any vehicle (cars, aircraft, boats, etc.)
- Odometers are registered automatically as soon as a new vehicle is spawned
- Provides a simple API for other scripts to get access to the odometers
Requirements
RoR 2025.03 RC1 or laterInstallation
- Download RoROdometer.zip and unzip the contents in your scripts folder (path to Rigs of Rods/scripts)
- Open RoR and load any terrain
- Go to the upper menu > Tools > Show console
- Go to the prompt under "Press Ctrl+G to spawn a new vehicle" and type
loadscript RoROdometerManager.as - Go to the Script Monitor menu and make sure "Autoload" is ticked for RoROdometerManager.as
- Go back to the console and type
loadscript RoROdoUI.asto start managing odometers for your vehicles. This is done once, then you can start RoROdoUI again from the Script Monitor. - You can also download the gadget for RoROdometer UI (RoROdometerUI.zip) and copy it to your mods folder. That way you can start RoROdoUI.as from the gadgets menu instead of using the console.


