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

To join the OverTake Racing Club races I want them to be: (multiple choice)

  • Free to access

    Votes: 78 89.7%
  • Better structured events

    Votes: 14 16.1%
  • Better structured racing club forum

    Votes: 14 16.1%
  • More use of default game content

    Votes: 9 10.3%
  • More use of fixed setups

    Votes: 25 28.7%
  • No 3rd party registration pages

    Votes: 29 33.3%
  • Less casual events

    Votes: 8 9.2%
  • More casual events

    Votes: 29 33.3%
  • Other, specify in thread

    Votes: 4 4.6%
Back
Top