diff --git a/Models/Instruments/ND/ND_L.xml b/Models/Instruments/ND/ND_L.xml index 3d0f84d8..28b2b87f 100644 --- a/Models/Instruments/ND/ND_L.xml +++ b/Models/Instruments/ND/ND_L.xml @@ -6,6 +6,18 @@ MD-11 Navigation display <path>ND_L.ac</path> +<!-- ND left dimmer --> +<animation> + <type>material</type> + <object-name>ND.screen</object-name> + <emission> + <red>1.0</red> + <green>1.0</green> + <blue>1.0</blue> + <factor-prop>/controls/lighting/ndl-norm</factor-prop> + </emission> +</animation> + <animation> <type>pick</type> <object-name>ND.screen</object-name> diff --git a/Models/Instruments/ND/ND_R.xml b/Models/Instruments/ND/ND_R.xml index 14244d6e..d9b87c61 100644 --- a/Models/Instruments/ND/ND_R.xml +++ b/Models/Instruments/ND/ND_R.xml @@ -6,6 +6,18 @@ MD-11 Navigation display <path>ND_R.ac</path> +<!-- ND Right Dimmer --> +<animation> + <type>material</type> + <object-name>ND.screen</object-name> + <emission> + <red>1.0</red> + <green>1.0</green> + <blue>1.0</blue> + <factor-prop>/controls/lighting/ndr-norm</factor-prop> + </emission> +</animation> + <animation> <type>pick</type> <object-name>ND.screen</object-name> diff --git a/Nasal/efis.nas b/Nasal/efis.nas index f8f10c14..7afc5372 100644 --- a/Nasal/efis.nas +++ b/Nasal/efis.nas @@ -2,6 +2,8 @@ setlistener("sim/signals/fdm-initialized", func { setprop("instrumentation/efis/mfd/pnl_mode-num", 3); + setprop("/controls/lighting/ndl-norm", "1"); + setprop("/controls/lighting/ndr-norm", "1"); print("EFIS ... FINE!"); }); @@ -57,4 +59,5 @@ var mode_dec = func { } else { return 0; } -} \ No newline at end of file +} +