Var for Pneumatic pressure
-
Hi reiler,
There is no Lvar for Pneumatic Pressure but all you need to know lies whithin the AnalogKingAir.xml file.
For example the code for this specific item is:
<ANIM_CODE>
(A:TURB ENG BLEED AIR:1, psi) 2 / (A:BLEED AIR ENGINE:1, Bool) * (A:TURB ENG BLEED AIR:2, psi) 2 / (A:BLEED AIR ENGINE:2, Bool) * max 18.2 min
(L:var_surfaceDeiceTimer, number) 0.8 min (L:var_manualDeiceMode, bool) 1 + * - (A:CIRCUIT ON:96, bool) 0.5 * - #MIN_VALUE# - #MAX_VALUE# #MIN_VALUE# - / #END_DEG# #START_DEG# - * #START_DEG# + #ANIM_LENGTH# #TOTAL_DEG# / *#VARIABILITY_RANDOM# #VARIABILITY_RANDOM_MULTI# * + (O:lastAnimValue_pneumaticNeedle, number) - #LowPassConstant# * (O:lastAnimValue_pneumaticNeedle, number) + (>O:lastAnimValue_pneumaticNeedle, number) (O:lastAnimValue_pneumaticNeedle, number)
</ANIM_CODE>it means that the Pneumatic Pressure is basically TURB ENG BLEED AIR 1 or 2 with conditions on BLEED AIR ENGINE:1, BLEED AIR ENGINE:2, CIRCUIT ON:96 (Brake Deice), Var_manualDeiceMode and Var_surfaceDeiceTimer
I use Air Manager but I guess Mobifly is similar so you can rewrite the logic above to feed your pressure gage.
That's the way I went and it works...
Francois -
To get the exact needle position with all of its logic and effects, you could also add your own L:Var
(>L:var_pneumaticPressure, psi)
right before</ANIM_CODE>
in that file. -
Oh, actually, make sure that's
d (>L:var_pneumaticPressure, psi)
, or else the gauge in the cockpit will stop working. Sorry.