Jump to content
Sign in to follow this  
NIELS

Aircraft Cockpit.ini and guage settings/values?

Recommended Posts

Trying to understand fuel gauge settings/readings in cockpit.ini - could somebody please  tell me what the position and value settings represent? There relation to aircraftdata.ini fuel tank values? The quantities must be liters in the ACFT DATA file vs LBs or gallons in the COCKPIT INI. Is this correct? Hope this is less confusing?????  :help:

[FuelIndicator1]
Type=TOTAL_FUEL_QUANTITY_INDICATOR
NodeName=FUEL1_NEEDLE
MovementType=ROTATION_Y    ------------------- Y vs Z regarding rotation?      
ValueUnit=LB
Set[01].Position=0.0    --------------------------- Is 0 straight up/360 degrees?
Set[01].Value=0.0 --------------------------------- this must be 'EMPTY' = 0 fuel weight
Set[02].Position=225.0 --------------------------- Is this 225 degrees ?
Set[02].Value=2500.0  --------------------------- this must be lbs (ValueUnit=LB)

 

 

Thanks NIELS

 

post-903-0-17999700-1440834321_thumb.jpg

Edited by NIELS

Share this post


Link to post
Share on other sites

 

[FuelIndicator1]

Type=TOTAL_FUEL_QUANTITY_INDICATOR

NodeName=FUEL1_NEEDLE

MovementType=ROTATION_Y    ------------------- Y vs Z regarding rotation?      ---- correct and always refers to AC world even if the mesh is tilted sideways.

ValueUnit=LB       -------------   LB, KG

Set[01].Position=0.0    --------------------------- Is 0 straight up/360 degrees?          ----   correct

Set[01].Value=0.0 --------------------------------- this must be 'EMPTY' = 0 fuel weight     -----   yes

Set[02].Position=225.0 --------------------------- Is this 225 degrees ?                            -----  yes

Set[02].Value=2500.0  --------------------------- this must be lbs (ValueUnit=LB)             ----   correct

 

 

Thanks NIELS

 

The AC_data file always use KG, the cockpit.ini and the gauges can use other units.

 

 

The parameters you have refer a dial more like these:

post-30564-0-87857000-1440842267.jpg

 

The degree parameters only  ' - ' (negative) if your 0 position is not at top of the dial and starts on the left.

 

Rotation_X, _Y, _Z - always established by the mesh, naturally in relation to AC world, but for the actual rotation the game will use the Local pivot direction of the given mesh.   As you can see on the picture the meshes are rarely parallel or perpendicular to the actual world axis. And also it can be modified by the creator of the pit. This means occasionally you run into meshes (or its axis) that were rotated compared to the "logical" one. 

 

post-30564-0-95304100-1440842282_thumb.jpg

 

If your dial's 0 value not in the same position as 0 degrees up then you will have to set the parameters according to the actual dial.

 

for examples:

 

[TotalFuelNeedle]
Type=TOTAL_FUEL_QUANTITY_INDICATOR 
NodeName=needle_Fuel
MovementType=ROTATION_Y
ValueUnit=LB
Set[01].Position=-90.0
Set[01].Value=0.0
Set[02].Position=90.0
Set[02].Value=10000.0

 

 

[TemperaturaB]
Type=EXHAUST_GAS_TEMPERATURE_INDICATOR
NodeName=TemperaturaEscapeDer
MovementType=ROTATION_Z
Set[01].Position=-120.50
Set[01].Value=200.0
Set[02].Position=-94.50
Set[02].Value=300.0
Set[03].Position=94.50
Set[03].Value=1000.0
Set[04].Position=120.50
Set[04].Value=1100.0
 
[VelVert]
Type=VERTICAL_VELOCITY_INDICATOR
NodeName=VelocidadVertical
MovementType=ROTATION_Z
ValueUnit=MPS
Set[01].Position=-140.0
Set[01].Value=-200.0
Set[02].Position=-100.0
Set[02].Value=-100.0
Set[03].Position=-76.50
Set[03].Value=-50.0
Set[04].Position=-60.0
Set[04].Value=-20.0
Set[05].Position=60.0
Set[05].Value=20.0
Set[06].Position=76.50
Set[06].Value=50.0
Set[07].Position=100.0
Set[07].Value=100.0
Set[08].Position=140.0
Set[08].Value=200.0

 

 

On this later 2 example you can also see that the actual mesh or its pivot was turned compared to whats the original axis. With such pits you always have to keep the original axis statements that are in the Cockpit.ini, but can change any other parameters (position,value,unit), otherwise will act funky ;o)

 

Hope it helps.

 

Edit: reworded few things

Edited by logan4
  • Like 1

Share this post


Link to post
Share on other sites

Much appreciated logan4...........Now I won't loose my mind.

 

Thank you for your answer/reply

 

NIELS     :smile:

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..