ND dimmer -- add functionality. Needs 3D model of ND dimmer panel
This commit is contained in:
parent
ec202225a1
commit
a7b7c78102
3 changed files with 28 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue