I'm looking to make a gauge that will allow me to store fuel at certain airports.
I would like it to work like so :
(For example)
-Aircraft lands with 50 gal (This could maybe use 'sim on ground' variable to detect that i have landed )
If / when true: then:
Read fuel quantity in tank\s
Display quantity in a small window on the gauge (in this case '50 Gal')
Under this window will be a 'add' button.
When the add button is clicked, it will set the fuel in the aircraft to zero, and ADD 50 gals to the storage tank.
It will then display the amount at that airport, like so :
Airport A:
E____¦____F
Airport B:
E______¦__F
Airport C:
E_¦_______F
I'm unsure whether the airport i'm AT can be detected?
If it can then when ADD is clicked it will add 50 gal to airport A fuel amount
If it cant detect the airport i'm at, then maybe select, a, b or c and then click add. ( ATM it would be a max of 3 airports).
--------------------------------
If starting off from an airport that has fuel stored:
Have a button on the gauge, when clicked will read the amount of fuel in the aircraft tanks.
Display amount in small window on gauge.
A button with 'fill from storage tank' will then subtract the amount of fuel in the aircraft tanks from the storage tank at that airport. ( as a extension to that, it may also be able to give a cost: $2/Gal x 50 = $100)
This would then need to be remembered between sim sessions. I believe there is a tool to do this that reads and writes to disk by @tgibson that would do this part? (i could be wrong here, unsure)
Any and all feedback would be greatly appreciated
Regards
Luke
I would like it to work like so :
(For example)
-Aircraft lands with 50 gal (This could maybe use 'sim on ground' variable to detect that i have landed )
If / when true: then:
Read fuel quantity in tank\s
Display quantity in a small window on the gauge (in this case '50 Gal')
Under this window will be a 'add' button.
When the add button is clicked, it will set the fuel in the aircraft to zero, and ADD 50 gals to the storage tank.
It will then display the amount at that airport, like so :
Airport A:
E____¦____F
Airport B:
E______¦__F
Airport C:
E_¦_______F
I'm unsure whether the airport i'm AT can be detected?
If it can then when ADD is clicked it will add 50 gal to airport A fuel amount
If it cant detect the airport i'm at, then maybe select, a, b or c and then click add. ( ATM it would be a max of 3 airports).
--------------------------------
If starting off from an airport that has fuel stored:
Have a button on the gauge, when clicked will read the amount of fuel in the aircraft tanks.
Display amount in small window on gauge.
A button with 'fill from storage tank' will then subtract the amount of fuel in the aircraft tanks from the storage tank at that airport. ( as a extension to that, it may also be able to give a cost: $2/Gal x 50 = $100)
This would then need to be remembered between sim sessions. I believe there is a tool to do this that reads and writes to disk by @tgibson that would do this part? (i could be wrong here, unsure)
Any and all feedback would be greatly appreciated
Regards
Luke



