Post by marvinwankerstein on Dec 11, 2015 17:13:06 GMT -5
Here's how to configure or "calibrate" cockpit gauges. The key parameters are in the GaugeRange= setting and Gauge can be Tachometer, FuelPressure, WaterTemp, OilPressure, or OilTemp. They all work the same way. The parameters will be noted in a line that looks like this :
TachometerRange=( param1, param2, param3, param4 )
The values are :
param1 = minimum value
param2 = maximum value
param3 = minimum angle
param4 = maximum angle
here's a line from an actual cockpit.ini file :
TachometerRange=(1500, 7500, 225.0, 322.0)
This means the RPM values range from 1500 to 7500 and the corresponding needle angles range from 225.0 to 322.0 degrees.
For the RPM value range you have to either look at the engine file or the gear ratios file or just take a wild guess on what they should be. Also look at the gauge's background image to see what values have labels. Determining the angles is the tricky part. What I do is I found some protractor images on google that are in .png format with a transparent alpha channel. Here's a bunch of them. Pick one that is a full 360 degree circle and get 256x256 and 512x512 images if you can. To determine the min and max angles I load up the protractor and overlay the gauge's background image on top of it in photoshop or other image editing program. Now you can see what angles correspond to the various RPM values. Here's what this will look like :
This gauge shows a range of 0 to 10K RPM. The 0 value is at an angle of 290 degrees and 10K is at 40 degrees. For this gauge you could use the following parameter line :
TachometerRange=( 0, 10000, 290, 40 )
The other gauges work essentially the same way. For many you will have to look at the gauge to determine the ranges and even then the needles might go out of the range of the gauge. Assuming the range data is correct, this means either the physics files are set up to give results that might not be realistic or a different gauge background image should be used that displays the range of values needed for that car.
TachometerRange=( param1, param2, param3, param4 )
The values are :
param1 = minimum value
param2 = maximum value
param3 = minimum angle
param4 = maximum angle
here's a line from an actual cockpit.ini file :
TachometerRange=(1500, 7500, 225.0, 322.0)
This means the RPM values range from 1500 to 7500 and the corresponding needle angles range from 225.0 to 322.0 degrees.
For the RPM value range you have to either look at the engine file or the gear ratios file or just take a wild guess on what they should be. Also look at the gauge's background image to see what values have labels. Determining the angles is the tricky part. What I do is I found some protractor images on google that are in .png format with a transparent alpha channel. Here's a bunch of them. Pick one that is a full 360 degree circle and get 256x256 and 512x512 images if you can. To determine the min and max angles I load up the protractor and overlay the gauge's background image on top of it in photoshop or other image editing program. Now you can see what angles correspond to the various RPM values. Here's what this will look like :
This gauge shows a range of 0 to 10K RPM. The 0 value is at an angle of 290 degrees and 10K is at 40 degrees. For this gauge you could use the following parameter line :
TachometerRange=( 0, 10000, 290, 40 )
The other gauges work essentially the same way. For many you will have to look at the gauge to determine the ranges and even then the needles might go out of the range of the gauge. Assuming the range data is correct, this means either the physics files are set up to give results that might not be realistic or a different gauge background image should be used that displays the range of values needed for that car.