1
0
Fork 0

Add FCU dimmer

This commit is contained in:
legoboyvdlp R 2021-07-28 19:03:06 +01:00
parent a5a9999dbb
commit 55c2e17d55
4 changed files with 102 additions and 0 deletions

View file

@ -986,6 +986,8 @@
<dome-norm type="double">0</dome-norm>
<fcu-panel-knb type="double">0</fcu-panel-knb>
<fcu-panel-norm type="double">0</fcu-panel-norm>
<fcu-digit-knb type="double">1</fcu-digit-knb>
<fcu-digit-norm type="double">1</fcu-digit-norm>
<landing-lights n="0" type="double">0</landing-lights>
<landing-lights n="1" type="double">0</landing-lights>
<landing-lights n="2" type="double">0</landing-lights>

View file

@ -6052,6 +6052,47 @@
<object-name>fcu_integ_knb.axis</object-name>
</axis>
</animation>
<animation>
<type>pick</type>
<object-name>lt_knb_1.001</object-name>
<action>
<button>0</button>
<button>3</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/fcu-digit-knb</property>
<step>0.05</step>
<max>1</max>
</binding>
</action>
<action>
<button>1</button>
<button>4</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>controls/lighting/fcu-digit-knb</property>
<step>-0.05</step>
<min>0</min>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>lt_knb_1.001</object-name>
<property>controls/lighting/fcu-digit-knb</property>
<factor>10</factor>
<axis>
<x1-m>-0.450412</x1-m>
<y1-m>0.06869</y1-m>
<z1-m>0.375016</z1-m>
<x2-m>-0.45531</x2-m>
<y2-m>0.068899</y2-m>
<z2-m>0.385331</z2-m>
</axis>
</animation>
<animation>
<name>Main Panel and Pedestal lighting</name>
@ -7386,15 +7427,32 @@
<animation>
<type>material</type>
<object-name>spd-text</object-name>
<object-name>spd.ind</object-name>
<object-name>spd.fmgc</object-name>
<object-name>mach-text</object-name>
<object-name>mach.ind</object-name>
<object-name>hdg-text</object-name>
<object-name>hdg.ind</object-name>
<object-name>trk.ind</object-name>
<object-name>lat.fmgc</object-name>
<object-name>hdg2.ind</object-name>
<object-name>trk2.ind</object-name>
<object-name>alt-text</object-name>
<object-name>vs.dash</object-name>
<object-name>vs-text</object-name>
<object-name>vs-text-last-2-digits</object-name>
<object-name>spd-text-test</object-name>
<object-name>hdg-text-test</object-name>
<object-name>alt-text-test</object-name>
<object-name>vs-text-test</object-name>
<object-name>vs.ind.001</object-name>
<object-name>vs.ind.002</object-name>
<object-name>ver.fmgc</object-name>
<object-name>lvlch.ind</object-name>
<object-name>alt.ind</object-name>
<object-name>vs.ind</object-name>
<object-name>fpa.ind</object-name>
<object-name>fpa.ind.001</object-name>
<object-name>atc-code</object-name>
<object-name>atc-test</object-name>
<object-name>fpa-text</object-name>
@ -7404,6 +7462,34 @@
<object-name>qnh-test</object-name>
<object-name>rudder-trim</object-name>
<object-name>rudder-trim-letter</object-name>
<diffuse>
<red>0.75</red>
<green>0.30</green>
<blue>0.0</blue>
<factor-prop>controls/lighting/fcu-digit-norm</factor-prop>
</diffuse>
<ambient>
<red>0</red>
<green>0</green>
<blue>0</blue>
</ambient>
<specular>
<red>0</red>
<green>0</green>
<blue>0</blue>
</specular>
<emission>
<red>0.75</red>
<green>0.30</green>
<blue>0.0</blue>
<factor-prop>controls/lighting/fcu-digit-norm</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>rudder-trim</object-name>
<object-name>rudder-trim-letter</object-name>
<diffuse>
<red>0.75</red>
<green>0.30</green>

View file

@ -32,6 +32,13 @@
<output>/controls/lighting/fcu-panel-norm</output>
</filter>
<filter>
<type>gain</type>
<gain>1.0</gain>
<input>/controls/lighting/fcu-digit-norm-tied</input>
<output>/controls/lighting/fcu-digit-norm</output>
</filter>
<filter>
<type>gain</type>
<gain>1.0</gain>

View file

@ -32,6 +32,13 @@
</test>
</switch>
<switch name="/controls/lighting/fcu-digit-norm-tied">
<default value="0" />
<test value="/controls/lighting/fcu-digit-knb">
/systems/electrical/bus/ac-1 gt 25
</test>
</switch>
<switch name="/controls/lighting/main-panel-norm-tied">
<default value="0" />
<test value="/controls/lighting/main-panel-knb">