December 21, 20232 yr Hello. I am writing a global (for all aircraft) app for XP12 and I need to identify the leftwing, rightwing and center fuel levels (quantities) seperately. The quantities are stored in "sim/flightmodel/weight/m_fuel_total" array (9 values) but I noticed that the order of the array is not standart. For example; default A330 values are like this: L1-C1-R1-L2-R2-C2-?-?-? A350: C-L-R-?-?-?-?-?-? It never follows a specific order. I know I can use "sim/cockpit2/fuel/fuel_level_indicated_left" and "sim/cockpit2/fuel/fuel_level_indicated_right", and then subtract those two values from "sim/flightmodel/weight/m_fuel_total" and find the center tank total but "sim/cockpit2/fuel/fuel_level_indicated_left and right" are not reliable since they are not activated before main battery is switched on and they may have failures. I am really confused. When we go to XPlane menu: "/Flight/Edit Weight & Balance" we have a loadsheet which means it is possible to find reliable values for leftwing-rightwing and center tank, but how.. Anyone can help? Edited December 21, 20232 yr by buick552
December 21, 20232 yr they are in the order as defined in planemaker, left to right top to bottom iirc. AutoATC Developer
December 21, 20232 yr What @mSparks said. PlaneMaker order matters. The load manager utility for a tool I'm working just lets users decide on the refueling sequence, simply because fuel systems just come in too many sizes and shapes. Edited December 21, 20232 yr by Bjoern 7950X3D + 7900 XT + 64 GB + Linux | 4800H + RTX2060 + 32 GB + Linux My add-ons from my FS9/FSX days
December 21, 20232 yr Author Thanks a lot guys, mSparks you made my day. "sim/aircraft/overflow/acf_tank_X" is very useful in terms of identifying which tank is that. If it's < 0 then it's a left wing tank, == 0 then it's a body tank, > 1 then it's right wing tank. Best wishes and happy new year guys..
Archived
This topic is now archived and is closed to further replies.