Jump to content

Recommended Posts

Guest zerocinco
Posted

I want this gauge to run from Full to Empty. I could use a shortcut to understanding what is reacting to what.

 

Picture 1 is Full

Picture 2 is Empty

 

Cockpit INI says:

 

[internalFuelGauge]

Type=INETERNAL_FUEL_QUANTITY_INDICATOR

NodeName=needle_fuel01

MovementType=ROTATION_Z

ValueUnit=LB

Set[01].Position=170.0

Set[01].Value=0.0

Set[02].Position=-170.0

Set[02].Value=9560.0

 

Data INI says:

 

[FuelCell]

SystemType=FUEL_TANK

FuelTankID=1

MaxFuelAmount=2762.00 <<pounds? liters? gallons?

 

How do I set this up where it goes almost right?

Posted

[internalFuelGauge]

Type=INETERNAL_FUEL_QUANTITY_INDICATOR

NodeName=needle_fuel01

MovementType=ROTATION_Z

ValueUnit=LB

Set[01].Position=170.0 <------position of the needle in degree, you have to finf out where's the needles "0" point, that is where it is build so you can get the right +- degrees

Set[01].Value=0.0 <-- --- LB,

Set[02].Position=-170.0

Set[02].Value=9560.0

 

Data INI says:

 

[FuelCell]

SystemType=FUEL_TANK

FuelTankID=1

MaxFuelAmount=2762.00 <<pounds? liters? gallons?

 

<--- in the data ini all values are metrical, fuel is in kilograms

 

to fix the gauge, use

Set[01].Position=0.0 <--

Set[01].Value=0.0 <--

and temporarily deactivate set2

//Set[02].Position=-170.0

//Set[02].Value=9560.0

 

fly, and take a screenshot

 

then, from the now visible "0" position of the fuel needle get the position of the full and empty marks on the gauge and put them in the ini for the positions, Set[01].Position= is the empty mark

 

for the value's convert the max. fuel amount (the 2762 or whatever) into pounds and put it in as Set[02].Value= xxxxx

Guest zerocinco
Posted (edited)

AAHHH. (Picture of me slapping forehead...again.)

 

Thanks for helping me find Zero.

 

Your other info needs to be reversed if you want the gauge to run backward.

Edited by zerocinco

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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..