Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. Black Square Add-Ons
  5. Steam Gauge Overhaul
  6. Var for Pneumatic pressure

Var for Pneumatic pressure

Scheduled Pinned Locked Moved Steam Gauge Overhaul
5 Posts 3 Posters 202 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    reiler
    wrote last edited by
    #1

    Hello

    Do anybody know the Var for Pneumatic pressure in the King Air?

    I am building instruments for my home cockpit

    1 Reply Last reply
    0
    • A Offline
      A Offline
      altack
      wrote last edited by
      #2

      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

      1 Reply Last reply
      0
      • Black SquareB Offline
        Black SquareB Offline
        Black Square
        Black Square Developer
        wrote last edited by
        #3

        To get the exact needle position with all of its logic and effects, you could also add your own L:Var (&gt;L:var_pneumaticPressure, psi) right before </ANIM_CODE> in that file.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          altack
          wrote last edited by
          #4

          Just brilliant ! Thank you Nick

          1 Reply Last reply
          0
          • Black SquareB Offline
            Black SquareB Offline
            Black Square
            Black Square Developer
            wrote last edited by
            #5

            Oh, actually, make sure that's d (&gt;L:var_pneumaticPressure, psi), or else the gauge in the cockpit will stop working. Sorry.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users