[EN] Digital Dashboard: Speedometer - JuniorDjjr/VehFuncs GitHub Wiki

Digital Speedometer

How it works?

Before proceeding, be sure to read the Introduction.

It is a digital speed meter on the vehicle dashboard, be a car, bike, plane etc.

Click here to watch a video

You define 10 parts, one for each number. The mod will work to make the numbers appear according to the speed of the vehicle. You also set the location to which each of the 3 digits will appear.

It is very simple, there is no mystery.

  • Have a node named f_dspeedo as a trigger to indicate that there has a digital speedometer.
  • Inside digits must be the digits models from 0 to 9. The name of the nodes doesn't matter, what matters is the order, otherwise erroneous numbers will appear.
  • digit1, digit2 and digit3 are dummies that define the position of each digit, where digit1 is "1", digit2 is "10" and digit3 is "100".
  • The position of digits doesn't matter, it will be deleted during the game.

Example

Download an example of a fully adapted digital speedometer ready to use:
Download
Just import it for your vehicle using ZModeler or other.

Settings

mph

By default it is counted in km/h (kilometers per hour). Put mph in the node named f_dspeedo to indicate that the count is by mph (miles per hour).
Example: f_dspeedo_mph

mu=float

By default the mod counts the speed accurately (and from wheels rotation). If you want to set the speed to your taste, use some multiplier in the node name f_dspeedo.
Example: f_dspeedo_mu=2.0 will show double (2.0X) of real speed; f_dspeedo_mu=0.5 will show a half (0.5X) of real speed; f_dspeedo_mph_mu=1.1 will show slightly above actual speed, and from a count of mph (miles per hour).

Notes

The digits are common parts. Usually created using custom light material with Improved Vehicle Features (preferably the material light_allday_material (color 0011FF)), but, if really necessary, you can also model the numbers and use the material from the headlight of the car for light up with the headlight.
The speed of the vehicle is calculated realistically by the speed of rotation of the wheels.