Ben's Official Rally Odometer Overlay

Ben's Official Rally Odometer
-----------------------------

This is a simple odometer overlay for Richard Burns Rally. It shows the distance traveled in km and the distance remaining to the end of the stage.

Preview.jpg

Preview-small.png



Download
--------

https://www.mediafire.com/file/mqx6elkwoi5sso0/Ben%27s_Official_Rally_Odometer.zip/file


Pre-requisite
-------------

Requires Sim-Hub 8.2.1 or later.
https://www.simhubdash.com/download-2/


Installation
------------

Unzip the files.
Double-click on "Ben's Official Rally Odometer.simhubdash" to install the overlay into Sim-Hub.
Double-click on "wrcroman3.ttf" to install the font in Windows.


Using the overlay
-----------------

Find the overlay in the "Dash Studio" > "Overlays" section of Sim-Hub.
Create a new Overlay Layout.
Add the overlay to the layout and adjust the size and position to your liking.


Credits
-------

Made by Ben.

 
Last edited:
To get the total distance instead, use this code:
JavaScript:
var trackLength = $prop('DataCorePlugin.GameData.TrackLength');
return trackLength.toFixed(3) + ' km';
The code is on the `Text` property. Click on the `TextDistance` box, then in the Properties, find `Text` and click the green `Fx` button to see the code.
 
To get the total distance instead, use this code:
JavaScript:
var trackLength = $prop('DataCorePlugin.GameData.TrackLength');
return trackLength.toFixed(3) + ' km';
The code is on the `Text` property. Click on the `TextDistance` box, then in the Properties, find `Text` and click the green `Fx` button to see the code.
Greetings, a great detail to share the application, thank you.
I've tried applying the change in code to have the total distance fixed while counting, but the result was an exaggerated figure frozen in place.
This line: var trackLength = $prop('DataCorePlugin.GameData.TrackLength'); it appears four times, do I have to add the second line after the four?
 
Greetings, a great detail to share the application, thank you.
I've tried applying the change in code to have the total distance fixed while counting, but the result was an exaggerated figure frozen in place.
This line: var trackLength = $prop('DataCorePlugin.GameData.TrackLength'); it appears four times, do I have to add the second line after the four?
You would replace all the lines with the two lines mentioned above.
 

Latest News

What's needed for simracing in 2024?

  • More games, period

  • Better graphics/visuals

  • Advanced physics and handling

  • More cars and tracks

  • AI improvements

  • AI engineering

  • Cross-platform play

  • New game Modes

  • Other, post your idea


Results are only viewable after voting.
Back
Top