Missing needles

BerScott

EDIT: Finally solved the problem. 3DSimEd 2.1.7 version was causing the problem because don't save properly the materials :mad:

Needles are not showing up on a gauge. I really tried all, I've take references from ISI cars an other mods and still don't work.

For materials I've used:
I have created one object and one material for each gauge. All t1 diffuse, Transp.: Multi, Bias: -1.2, Mip Map: checked and "render target": all checked. Emissive RGB: gray. All correctly mapped.
The materials are named as:
fuellevel
speedometer
tachometer
watertemp

For textures:
The gauges background are 256x256 24 bit for speedo and tacho, 256x256 24 bits for water temp and fuel level, all with black for RGB channel and white for alpha channel. Needle is 64x256 32 bits. All TGA format.
Background texture are named as:
fuel_Z28.tga
speedo_Z28.tga
tach_Z28.tga
needle_Z28.tga

Here is my cockpitinfo.ini (gauges section)
Code:
SpeedometerRange=(0.0, 241.40, 220.0, 333.0) * *//SpeedometerRange=(<minvalue>, <maxvalue>, <beginangle>, <endangle>)
SpeedometerCenter=(0.5, 0.5) *
SpeedometerNeedle=(1.0, 1.0)
SpeedometerBackground=speedo_Z28.tga
SpeedometerNeedleMAP=needle_Z28.tga

TachometerRange=(0.0, 6500.0, 212.0, 10.0) *// TachometerRange=(<minvalue>, <maxvalue>, <beginangle>, <endangle>)
TachometerCenter=(0.5, 0.5)
TachometerNeedle=(1.00, 1.00) 
TachometerBackground=tach_Z28.TGA
TachometerNeedlemap=needle_Z28.TGA
RelativeTachometer=0 *// Ignores <maxvalue> and uses default rev limit instead (which makes it work better for upgrades)

WaterTempRange=(0, 120.0, 133.0, 40.0)
WaterTempCenter=(0.5, 0.5) 
WaterTempNeedle=(1.85, 1.85)
WaterTempBackGround=watertemp.tga
WaterTempNeedlemap=needle_Z28.tga
WaterTempClockwise=1

FuelLevelRange=(0.0, 61.00, 140.0, 45.0) *//FuelLevelRange=(<minvalue>, <maxvalue>, <beginangle>, <endangle>) !!! <minvalue> should be 0.0, <maxvalue> 
FuelLevelNeedleCenter=(0.5, 0.5)
FuelLevelNeedle=(1.85, 1.85)
FuelLevelBackground=fuel_Z28.tga
FuelLevelNeedlemap=needle_Z28.tga
FuelLevelClockwise=1

What have I done wrong?
 
Last edited:
I would say this:

You wrote (e.g.):
Background texture are named as:
tach_Z28.tga

But in cockpitinfo.ini you write:
TachometerBackground=tachometer.TGA

You have to set the same texture in the cockpitinfo.ini that you use in the material properties of the tachometer.


EDIT
And maybe you have to rename the material to XXX_tach, but try the above first.
 
Last edited:
I would say this:

You wrote (e.g.):
Background texture are named as:
tach_Z28.tga

But in cockpitinfo.ini you write:
TachometerBackground=tachometer.TGA

You have to set the same texture in the cockpitinfo.ini that you use in the material properties of the tachometer.


EDIT
And maybe you have to rename the material to XXX_tach, but try the above first.

Sorry, that is already done, yesterday i miss to correct the post, it is a copy paste from other forums where I'm asking for same problem.
 

Back
Top