diff --git a/Models/Effects/IDG-A32X-interior.eff b/Models/Effects/IDG-A32X-interior.eff new file mode 100644 index 00000000..77955a32 --- /dev/null +++ b/Models/Effects/IDG-A32X-interior.eff @@ -0,0 +1,22 @@ + + + + IDG-A32X-interior + Effects/model-interior + + + cubemap + + res/0004.png + res/0002.png + res/0001.png + res/0003.png + res/0005.png + res/0006.png + + + 0.6 0.0 0.7 + 1 1 1 + 0.0 + + \ No newline at end of file diff --git a/Models/FlightDeck/a320.flightdeck.xml b/Models/FlightDeck/a320.flightdeck.xml index 77080084..78c69791 100644 --- a/Models/FlightDeck/a320.flightdeck.xml +++ b/Models/FlightDeck/a320.flightdeck.xml @@ -5879,5 +5879,40 @@ 0.08 + + + Models/Effects/IDG-A32X-interior + fcu_panel + main_panel + ped_labels_1 + ped_labels_2 + carpet + so.1 + sts.002 + Seat + beam_a + beam_f + wall_1 + seat3.001 + seat4.002 + pedal_adjust + pedals_block_capt + ped_surface + ped_wf + pedestal1 + pedestal2 + pedestal3 + sfl + sfl.003 + sts + sfl.001 + sts.003 + sts.001 + speaker_front + efis_box_1 + efis_box_2 + efis_box_3 + efis_box_4 + diff --git a/Models/FlightDeck/res/0001.png b/Models/FlightDeck/res/0001.png new file mode 100644 index 00000000..7576ebdb Binary files /dev/null and b/Models/FlightDeck/res/0001.png differ diff --git a/Models/FlightDeck/res/0002.png b/Models/FlightDeck/res/0002.png new file mode 100644 index 00000000..0f12d744 Binary files /dev/null and b/Models/FlightDeck/res/0002.png differ diff --git a/Models/FlightDeck/res/0003.png b/Models/FlightDeck/res/0003.png new file mode 100644 index 00000000..22947c41 Binary files /dev/null and b/Models/FlightDeck/res/0003.png differ diff --git a/Models/FlightDeck/res/0004.png b/Models/FlightDeck/res/0004.png new file mode 100644 index 00000000..f6b69c03 Binary files /dev/null and b/Models/FlightDeck/res/0004.png differ diff --git a/Models/FlightDeck/res/0005.png b/Models/FlightDeck/res/0005.png new file mode 100644 index 00000000..f6b69c03 Binary files /dev/null and b/Models/FlightDeck/res/0005.png differ diff --git a/Models/FlightDeck/res/0006.png b/Models/FlightDeck/res/0006.png new file mode 100644 index 00000000..f6b69c03 Binary files /dev/null and b/Models/FlightDeck/res/0006.png differ diff --git a/Nasal/libraries.nas b/Nasal/libraries.nas index 8bf5971b..d6fbaed0 100644 --- a/Nasal/libraries.nas +++ b/Nasal/libraries.nas @@ -33,7 +33,7 @@ setprop("/engines/engine[1]/oil-qt-actual", qty2); var beacon_switch = props.globals.getNode("/controls/switches/beacon", 2); var beacon = aircraft.light.new("/sim/model/lights/beacon", [0.015, 3], "/controls/lighting/beacon"); var strobe_switch = props.globals.getNode("/controls/switches/strobe", 2); -var strobe = aircraft.light.new("/sim/model/lights/strobe", [0.025, 1.5], "/controls/lighting/strobe"); +var strobe = aircraft.light.new("/sim/model/lights/strobe", [0.005, 0.005, 0.005, 1], "/controls/lighting/strobe"); var logo_lights = getprop("/sim/model/lights/logo-lights"); var setting = getprop("/controls/lighting/nav-lights-switch"); var wow = getprop("/gear/gear[2]/wow"); @@ -42,9 +42,7 @@ var slats = getprop("/controls/flight/slats"); setlistener("controls/lighting/nav-lights-switch", func { var nav_lights = props.globals.getNode("/sim/model/lights/nav-lights"); var setting = getprop("/controls/lighting/nav-lights-switch"); - if (setting == 1) { - nav_lights.setBoolValue(1); - } else if (setting == 2) { + if (setting == 1 or setting == 2) { nav_lights.setBoolValue(1); } else { nav_lights.setBoolValue(0);