Basic Vehicle System 1.0.0

   (0 reviews)

1 Screenshot

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

 

Spoiler

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"



 




User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

There are no reviews to display.