ATS - Simple Customizable Dashboard for SimHub

ATS - Simple Customizable Dashboard for SimHub 1.0

Login or Register an account to download this content
dumbrellas submitted a new resource:

ATS - Simple Customizable Dashboard for SimHub - A simple ATS dashboard for SimHub with some customization options.

This is a simple dashboard for SimHub with some customization options. I needed something not crazy fancy, and a lot of the options on here were fairly lackluster. I'm still learning the ins and outs of SimHub, and what it is capable of, but I think this is a good start.

Features:
- 4 different background options
- Truck manufacturer logo options to display under the tachometers (Currently have all stock truck manufacturers)
- Shows proper gear value for Eaton Fuller 18-speed. (It's the...

Read more about this resource...
 
Give me a little bit, I'll send you the javascript to replace.
Here's the code for 13-Speed Eaton Fuller:
JavaScript:
//Eaton Fuller 13-Speed Script

//Read the current gear
var gear = $prop('Gear')

//Replace the number with the correct one
if(gear=='N'){
    return "N"
}
if(gear==13){
    return "8H"
}
if(gear==12){
    return "8L"
}
if(gear==11){
    return "7H"
}
if(gear==10){
    return "7L"
}
if(gear==9){
    return "6H"
}
if(gear==8){
    return "6L"
}
if(gear==7){
    return "5H"
}
if(gear==6){
    return "5L"
}
if(gear==5){
    return "4"
}
if(gear==4){
    return "3"
}
if(gear==3){
    return "2"
}
if(gear==2){
    return "1"
}
if(gear==1){
    return "LO"
}
if(gear=='R'){
    return "RL"
}
if(gear==-2){
    return "RH"
}

To replace it:
- Find "Current Gear Display (Text)" element inside of the Current Gear / Turn Signal folder
- Scroll down to the Text section and click the "fx" function button for the "Text" value
- Replace the Javascript with the code above
- Be sure to save the dashboard again
- Reload the dashboard on your device or screen
 

Attachments

  • Gear code replacement.png
    Gear code replacement.png
    34 KB · Views: 120
I use the Eaton Fuller 10 speed and tried to change the script using the 13 speed as a template but it's confusing me because I have no experience with javascript. Would you be able to help me?
 
Last edited:

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top