RoystonS / BetterBravoLights

Utility for controlling lights on a Honeycomb Bravo Throttle from Microsoft Flight Simulator
MIT License
45 stars 8 forks source link

Fenix A320 #73

Open djshepherd915 opened 5 months ago

djshepherd915 commented 5 months ago

Software version

0.8.2

Problem

I have a config list for FenixSim's A320.

Suggested solution

;; Fenix A320 [Aircraft.FNX_320_CFM]

MasterEnable = L:S_OH_ELEC_BAT1 > 0 OR L:S_OH_ELEC_BAT2 > 0 OR L:S_OH_ELEC_APU_GENERATOR > 0 OR L:S_OH_ELEC_GEN1 > 0 OR L:S_OH_ELEC_GEN2 > 0

;All lights turn on if annunciator switch in overhead is set to test. Is there a way to have the gear lights alternate between red and green?

HDG = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_FCU_HEADING_MANAGED == 0 NAV = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_FCU_HEADING_MANAGED > 0 APR = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_FCU_APPR > 0 REV = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_FCU_LOC > 0 ALT = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_FCU_ALTITUDE_MANAGED == 0 VS = L:S_OH_IN_LT_ANN_LT == 2 OR L:E_FCU_VS > 0 IAS = L:S_OH_IN_LT_ANN_LT == 2 OR I_FCU_SPEED_MANAGED == 0 AUTOPILOT = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_FCU_AP1 > 0 OR L:I_FCU_AP2 > 0

GearLGreen = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_MIP_GEAR_1_L == 1 GearLRed = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_MIP_GEAR_1_U == 1 GearCGreen = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_MIP_GEAR_2_L == 1 GearCRed = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_MIP_GEAR_2_U == 1 GearRGreen = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_MIP_GEAR_3_L == 1 GearRRed = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_MIP_GEAR_3_U == 1

MasterWarning = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_MIP_MASTER_WARNING_CAPT != 0 OR L:I_MIP_MASTER_WARNING_FO != 0 MasterCaution = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_MIP_MASTER_CAUTION_CAPT != 0 OR L:I_MIP_MASTER_CAUTION_FO != 0 EngineFire = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_OH_FIRE_ENG1_BUTTON != 0 OR L:I_OH_FIRE_ENG2_BUTTON != 0 OR L:I_OH_FIRE_APU_BUTTON != 0 ;If Pressurization is manual, this light fires. Vacuum = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_OH_PNEUMATIC_PRESS_MODE_L > 0 ;CB_N39_ENG1_OIL_CHANB, CB_N40_ENG1_OIL_CHANA, CB_N41_ENG2_OIL_CHANB, CB_N42_ENG2_OIL_CHANA shows a 1 with engines off. Will check later on what it is with engines on LowOilPressure = L:S_OH_IN_LT_ANN_LT == 2 ;Don't see where Fenix sends this info in the LVars LowHydPressure = L:S_OH_IN_LT_ANN_LT == 2 ;Same here. Could send it on when a pump shows a fault maybe? LowFuelPressure = L:S_OH_IN_LT_ANN_LT == 2 ;Since the A320 doesn't really have an AUX Fuel Pump, let's map it to the crossfeed Valve. AuxFuelPump = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_OH_FUEL_XFEED_U > 0 ;Probe Heat off means this light comes on. AntiIce = L:S_OH_IN_LT_ANN_LT == 2 OR L:S_OH_PROBE_HEAT < 1 ParkingBrake = L:S_OH_IN_LT_ANN_LT == 2 OR L:S_MIP_PARKING_BRAKE ==1 StarterEngaged = L:S_OH_IN_LT_ANN_LT == 2 OR L:S_ENG_MODE == 2 LowVolts = L:S_OH_IN_LT_ANN_LT == 2 OR L:N_ELECT_VOLT_BAT_1 < 24 OR L:N_ELECT_VOLT_BAT_2 < 24 APU = L:S_OH_IN_LT_ANN_LT == 2 OR L:I_OH_ELEC_APU_START_U == 1 ;Cargo Doors don't show in LVars so this only looks at passenger doors. Door = L:S_OH_IN_LT_ANN_LT == 2 OR L:A320_door_0 > 0 OR L:A320_door_1 > 0 OR L:A320_door_2 > 2 OR L:A320_door_3 > 0

What alternatives are there?

No response

Other information

No response