The speedometer is an essential detail to add to your vehicle for FPS gameplay.
You can use a basic needle meter or a digital meter. Or even a combination of the two!
You can also make the radio dynamic so that it displays the different stations.
In this video you will learn how to make the lap counter, speedometer, warning lights (indicators, low beam, high beam, handbrake... etc...) and also the radio! Following the same principle as the video, you can make the needles of the fuel, oil and engine temperature gauges functional by using a meter that has them.
First of all, you'll need a vehicle from the basic game (unmodded) using OpenIV, with a needle counter of your choice. Then import it into Zmodeler 3. In the video I'm using the cab because it features a really basic needle counter, but you can use any other counter you like!
When the model is imported (cab here) we will only retrieve the compound named " dials " We're going to change the material so that we can see it better and be in better conditions to work on our counter. Then we'll adapt it to the top of our counter, following the steps in the video.
Please note that the numbers on the texture of the meter will not be displayed. NOT visible in play on your meter, only the needles and indicators will be present.
Finally, don't forget to activate the counter in the game script and add its texture to the textures folder. .YTD as shown in the video to get your needle counter up and running.
Create a digital counter from A to Z and customize it the way you want!
The principle is to create 2D shapes on a plane, then apply the texture of the original game's DRO. Once this has been done, UV Mapping of the created shapes is used to organize the various elements on each shape (lap counter, numbers, indicators, blinkers...).
To put it simply, let's take the example of the lap counter: the game is programmed to light up the box corresponding to a certain engine speed (in rpm), so if you place a polygon on it, it will light up when the square lights up. There's a maximum of 29 bars, but you can use as few as 10 as you like. It's also possible to create 2 bars to count turns (as is the case on my Lamborghini Reventon ► SEE A VIDEO EXAMPLE).
You can choose whether or not to activate all lights, indicators... etc...
Don't forget to adjust the material settings to get the best possible rendering and avoid unpleasant reflections on your in-game meter.
Once everything is finished, we create the "Compound" and name it "Compound". dials "and assigned the Flags " A "before placing it back in the car's folder on Zmodeler.
All that's left to do is activate it, by adding the texture to the textures file .YTD of your car, then edit the " vehicles.meta "This tells the game to use the digital counter.