Guest User

betterbavolights pmdg config

a guest
Jun 10th, 2023
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. ;; PMDG 737-800
  2. [Aircraft.PMDG 737-700, Aircraft.PMDG 737-800, Aircraft.PMDG 737-800BDSF, Aircraft.PMDG 737-800BCF, Aircraft.PMDG 737-800BBJ2]
  3. HDG = L:ngx_MCP_HdgSel > 0
  4. NAV = L:ngx_MCP_LNav > 0
  5. APR = L:ngx_MCP_App > 0
  6. ; Thanks to @Flintstone2k12 for the REV/VNav mapping!
  7. REV = L:ngx_MCP_VNav > 0
  8. ALT = L:ngx_MCP_AltHold > 0
  9. VS = L:ngx_MCP_VS > 0
  10. IAS = L:ngx_MCP_LvlChg > 0
  11. AUTOPILOT = L:ngx_MCP_CMDA > 0 OR L:ngx_MCP_CMDB > 0
  12.  
  13. ; ENG1, APU and ENG2 fire lights
  14. EngineFire = L:switch_6972_73X != 0 OR L:switch_6982_73X != 0 OR L:switch_6992_73X != 0
  15. ; PMDG 737 shows Low Oil Pressure warning in the engine status display, but the oil pressure reported to MSFS doesn't seem to correspond to anything
  16. LowOilPressure = OFF
  17. ; Monitor the 6 fuel pressure lights
  18. LowFuelPressure = L:switch_41_73X > 0 OR L:switch_42_73X > 0 OR L:switch_43_73X > 0 OR L:switch_44_73X > 0 OR L:switch_47_73X > 0 OR L:switch_48_73X > 0
  19. ; CAPT PITOT, L ELEV PITOT, L ALPHA VANE, TEMP PROBE, F/O PITOT, R ELEV PITOT, R ALPHA VANE, AUX PITOT
  20. AntiIce = L:switch_142_73X != 0 OR L:switch_143_73X != 0 OR L:switch_144_73X != 0 OR L:switch_145_73X != 0 OR L:switch_146_73X != 0 OR L:switch_147_73X != 0 OR L:switch_148_73X != 0 OR L:switch_149_73X != 0
  21. ; Either engine is something other than OFF
  22. StarterEngaged = L:switch_119_73X != 10 OR L:switch_121_73X != 10
  23. ; APU light is on if the APU switch isn't OFF
  24. APU = L:switch_118_73X > 0
  25. ; Left and right master caution button lights
  26. MasterCaution = L:switch_3481_73X != 0 OR L:switch_4381_73X != 0
  27. ; PMDG 737 annunciator does have an 'Anti Ice' entry which is on if either probe heat is off, but these don't seem to be reflected in any A: or L: vars
  28. Vacuum = OFF
  29. ; Monitor the 4 hyd pump pressure lights
  30. LowHydPressure = L:switch_161_73X > 0 OR L:switch_162_73X > 0 OR L:switch_163_73X > 0 OR L:switch_164_73X > 0
  31. ; PMDG 737 reports 24V to all voltage variables, even if all power is off, so we can't map LOW VOLTS right now
  32. LowVolts = OFF
  33. ; PMDG 737 annunciator reports DOORS light for cabin doors, cargo doors, emergency exits, equipment hatch or air stairs
  34. Door = L:FwdLwrCargoDoor > 0 OR L:AftLwrCargoDoor > 0 OR L:FwdLeftCabinDoor > 0 OR L:FwdRightCabinDoor > 0 OR L:AftLeftCabinDoor > 0 OR L:AftRightCabinDoor > 0 OR L:OverwingFwdLeftEmerExit > 0 OR L:OverwingFwdRightEmerExit > 0 OR L:OverwingAftLeftEmerExit > 0 OR L:OverwingAftRightEmerExit > 0 OR L:EEDoor > 0 OR L:AirStairs > 0
  35.  
  36. ;; PMDG 737-900
  37. [Aircraft.PMDG 737-900, Aircraft.PMDG 737-900ER]
  38. HDG = L:ngx_MCP_HdgSel > 0
  39. NAV = L:ngx_MCP_LNav > 0
  40. APR = L:ngx_MCP_App > 0
  41. ; Thanks to @Flintstone2k12 for the REV/VNav mapping!
  42. REV = L:ngx_MCP_VNav > 0
  43. ALT = L:ngx_MCP_AltHold > 0
  44. VS = L:ngx_MCP_VS > 0
  45. IAS = L:ngx_MCP_LvlChg > 0
  46. AUTOPILOT = L:ngx_MCP_CMDA > 0 OR L:ngx_MCP_CMDB > 0
  47.  
  48. ; ENG1, APU and ENG2 fire lights
  49. EngineFire = L:switch_6972_73X != 0 OR L:switch_6982_73X != 0 OR L:switch_6992_73X != 0
  50. ; PMDG 737 shows Low Oil Pressure warning in the engine status display, but the oil pressure reported to MSFS doesn't seem to correspond to anything
  51. LowOilPressure = OFF
  52. ; Monitor the 6 fuel pressure lights
  53. LowFuelPressure = L:switch_41_73X > 0 OR L:switch_42_73X > 0 OR L:switch_43_73X > 0 OR L:switch_44_73X > 0 OR L:switch_47_73X > 0 OR L:switch_48_73X > 0
  54. ; CAPT PITOT, L ELEV PITOT, L ALPHA VANE, TEMP PROBE, F/O PITOT, R ELEV PITOT, R ALPHA VANE, AUX PITOT
  55. AntiIce = L:switch_142_73X != 0 OR L:switch_143_73X != 0 OR L:switch_144_73X != 0 OR L:switch_145_73X != 0 OR L:switch_146_73X != 0 OR L:switch_147_73X != 0 OR L:switch_148_73X != 0 OR L:switch_149_73X != 0
  56. ; Either engine is something other than OFF
  57. StarterEngaged = L:switch_119_73X != 10 OR L:switch_121_73X != 10
  58. ; APU light is on if the APU switch isn't OFF
  59. APU = L:switch_118_73X > 0
  60. ; Left and right master caution button lights
  61. MasterCaution = L:switch_3481_73X != 0 OR L:switch_4381_73X != 0
  62. ; PMDG 737 annunciator does have an 'Anti Ice' entry which is on if either probe heat is off, but these don't seem to be reflected in any A: or L: vars
  63. Vacuum = OFF
  64. ; Monitor the 4 hyd pump pressure lights
  65. LowHydPressure = L:switch_161_73X > 0 OR L:switch_162_73X > 0 OR L:switch_163_73X > 0 OR L:switch_164_73X > 0
  66. ; PMDG 737 reports 24V to all voltage variables, even if all power is off, so we can't map LOW VOLTS right now
  67. LowVolts = OFF
  68. ; PMDG 737 annunciator reports DOORS light for cabin doors, cargo doors, emergency exits, equipment hatch or air stairs
  69. Door = L:FwdLwrCargoDoor > 0 OR L:AftLwrCargoDoor > 0 OR L:FwdLeftCabinDoor > 0 OR L:FwdRightCabinDoor > 0 OR L:AftLeftCabinDoor > 0 OR L:AftRightCabinDoor > 0 OR L:OverwingFwdLeftEmerExit > 0 OR L:OverwingFwdRightEmerExit > 0 OR L:OverwingAftLeftEmerExit > 0 OR L:OverwingAftRightEmerExit > 0 OR L:EEDoor > 0 OR L:AirStairs > 0
Advertisement
Add Comment
Please, Sign In to add comment