About This File
First Credits for @valdirdd for the Speedometer that i Edited....
And a big thank for @CommanderDonkey
for that fancy design of the speedometer.
FEATURES :
Fuel System,
Distance Calculation
And a Notice to all that would use it... its a german version so... u must be change it if u want another type.
INSTALL :
Put the files in the served folders...
add clientside in ur index.js
require('basicVehSystem');
to change to MPH use the following Tutorial...
I Hope u enjoy the files... Bugs please send me...
NOTICE:
to change the gas mileage edit line 30 in ur index.js in packages/basicVehSystem/index.js
let rest = (Veh_data*10);
change the Multicator '10' to another value.... it calculate ur driven distance at the moment... with this multiplicator
TUTORIAL:
1. Change in the /basicVehSystem/CEF/speedometer.html line 21
document.getElementById("tacho").dataset.valueText = kilometerstandt.toFixed(1) + " KM";
to
document.getElementById("tacho").dataset.valueText = kilometerstandt.toFixed(1) + " M";
and Line 74 from
data-units="Km/h"
to
data-units="Miles/h"
and the last one is line 95 from
data-value-text="0km"
to
data-value-text="0M"