ATS - Simple Customizable Dashboard for SimHub

ATS - Simple Customizable Dashboard for SimHub 1.6.7

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
// Read the current gear
var gear = $prop('Gear');

// Create a mapping of gear values to their corresponding outputs
var gearMap = {
    'N': 'N',
    '13': '8H',
    '12': '8L',
    '11': '7H',
    '10': '7L',
    '9': '6H',
    '8': '6L',
    '7': '5H',
    '6': '5L',
    '5': '4',
    '4': '3',
    '3': '2',
    '2': '1',
    '1': 'LO',
    'R': 'RL',
    '-2': 'RH'
};

// Return the corresponding value from the map, or a default value if not found
return gearMap[String(gear)] || 'N/A';

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: 154
Last edited:
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:
Was wondering if I missed something. I'm using your dashboard and everything works correctly except the fuel display. It always shows empty even though the truck has full tanks.
 
That would be the truck I'm using. I switched over to his highway killer kw and it seems to work fine on that one. Must be a issue with the freight shaker.
Cool, glad it's not broken completely. It's a fairly trivial stat to pull in SimHub so something must have changed in the mod. I'm just getting back into ATS now after a year hiatus so if I can figure it out, I'll be sure to let you know. I may try and optimize the code for the gear switching. Not a fan of just a million if else statements but at the time, I just needed it to work lol.

Hopefully you're enjoying it otherwise, thanks for checking it out.
 
Last edited:
Looks like SimHub has some new variables available (or at least, ATS supports new variables) for fuel. Should have a fix for the fuel issue on modded trucks available later tonight. Gonna see if I can refactor anything else.
 
That would be the truck I'm using. I switched over to his highway killer kw and it seems to work fine on that one. Must be a issue with the freight shaker.
Could you check the new update when you have a chance? Want to make sure it's working on your end. Seems OK on my Freightshaker now. Make sure it says "- FIX" on the zip when you download it. Had a typo in the code I had to fix.
 
Last edited:
dumbrellas updated ATS - Simple Customizable Dashboard for SimHub with a new update entry:

Refactored gauges, dynamic optimal range/redline RPM, adjusted various elements

- Refactored and optimize tachometer gauges. Should be more performant now and less stutter as it moves up and down.
- Optimal range / redline RPM should now dynamically change (Start of 'optimal range' is redline RPM - 5000; makes it very easy to float gears in ATS.)
- Adjusted cruise control icon to be on bottom.
- Fixed text alignment of various elements.

To easily float gears using this green optimal range:
- When you reach the end of the optimal range and hit the redline, shift into...

Read the rest of this update entry...
 

Latest News

Shifting method

  • I use whatever the car has in real life*

  • I always use paddleshift

  • I always use sequential

  • I always use H-shifter

  • Something else, please explain


Results are only viewable after voting.
Back
Top