-
Notifications
You must be signed in to change notification settings - Fork 4
[EN] Digital Dashboard: Odometer
Before proceeding, be sure to read the Introduction.
É um contador de quilometragem digital no painel do veículo, seja carro, moto, avião etc.
You define 10 parts, one for each number. The mod will work to make the numbers appear according to the mileage of the vehicle. You also set the location to which each of the digits will appear.
It works in a similar way to digital speedometer.
It is very simple, there is no mystery.
- Have a node with the name
f_dodometer
as a trigger to indicate that there is a digital odometer there. - Within
digits
there must be digit models from 0 to 9. The name of the nodes does not matter, what matters is the order, otherwise the wrong numbers will appear. - For example
digit1
stores "1",digit2
stores "10",digit3
stores "100" etc. - The position of
digits
does not matter, it will be deleted during the game.
By default it is counted in km (kilometers). Put _mph
in the node name f_dspeedo
to indicate that the count is for miles.
Example: f_dodometer_mph
Put _no0
to not show the leading zeros.
Example: f_dodometer_no0
Put _prec
followed by the precision number (between 0
and 3
, being 1
the default) to show different precision values on the right. The default (1
) will have an precision of 100 meters (that is, the last number on the right changes every 100 meters). 2
changes every 10 meters etc.
Example: f_dodometer_prec0
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 count is calculated realistically by the speed of rotation of the wheels.