A32X: New VC Various improvements and fixes
This commit is contained in:
parent
bc5ca75859
commit
df86bbb860
7 changed files with 789 additions and 705 deletions
|
@ -231,7 +231,7 @@
|
||||||
<object-name>PFD1</object-name>
|
<object-name>PFD1</object-name>
|
||||||
<object-name>Mismatch1</object-name>
|
<object-name>Mismatch1</object-name>
|
||||||
<property>modes/cpt-du-xfr</property>
|
<property>modes/cpt-du-xfr</property>
|
||||||
<factor>0.18845</factor>
|
<factor>0.20062</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>1</y>
|
<y>1</y>
|
||||||
|
@ -296,7 +296,7 @@
|
||||||
<object-name>PFD2</object-name>
|
<object-name>PFD2</object-name>
|
||||||
<object-name>Mismatch2</object-name>
|
<object-name>Mismatch2</object-name>
|
||||||
<property>modes/fo-du-xfr</property>
|
<property>modes/fo-du-xfr</property>
|
||||||
<factor>-0.19505</factor>
|
<factor>-0.20062</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>1</y>
|
<y>1</y>
|
||||||
|
@ -340,7 +340,7 @@
|
||||||
<type>translate</type>
|
<type>translate</type>
|
||||||
<object-name>ND1</object-name>
|
<object-name>ND1</object-name>
|
||||||
<property>modes/cpt-du-xfr</property>
|
<property>modes/cpt-du-xfr</property>
|
||||||
<factor>-0.18845</factor>
|
<factor>-0.20062</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>1</y>
|
<y>1</y>
|
||||||
|
@ -383,7 +383,7 @@
|
||||||
<type>translate</type>
|
<type>translate</type>
|
||||||
<object-name>ND2</object-name>
|
<object-name>ND2</object-name>
|
||||||
<property>modes/fo-du-xfr</property>
|
<property>modes/fo-du-xfr</property>
|
||||||
<factor>0.19505</factor>
|
<factor>0.20062</factor>
|
||||||
<axis>
|
<axis>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>1</y>
|
<y>1</y>
|
||||||
|
@ -656,7 +656,7 @@
|
||||||
} else {
|
} else {
|
||||||
systems.arm_autobrake(0);
|
systems.arm_autobrake(0);
|
||||||
}
|
}
|
||||||
setprop("/sim/sounde/btn1", 1);
|
setprop("/sim/sounde/oh-btn", 1);
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
@ -689,7 +689,7 @@
|
||||||
} else {
|
} else {
|
||||||
systems.arm_autobrake(0);
|
systems.arm_autobrake(0);
|
||||||
}
|
}
|
||||||
setprop("/sim/sounde/btn1", 1);
|
setprop("/sim/sounde/oh-btn", 1);
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
@ -722,12 +722,62 @@
|
||||||
} else {
|
} else {
|
||||||
systems.arm_autobrake(0);
|
systems.arm_autobrake(0);
|
||||||
}
|
}
|
||||||
setprop("/sim/sounde/btn1", 1);
|
setprop("/sim/sounde/oh-btn", 1);
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<!-- Dimmer Panel Left -->
|
||||||
|
<animation>
|
||||||
|
<type>pick</type>
|
||||||
|
<object-name>pfd_nd_xfr_sw</object-name>
|
||||||
|
<action>
|
||||||
|
<button>0</button>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<or>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc1</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc2</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
<command>property-toggle</command>
|
||||||
|
<property>modes/cpt-du-xfr</property>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<!-- Dimmer Panel Right -->
|
||||||
|
<animation>
|
||||||
|
<type>pick</type>
|
||||||
|
<object-name>pfd_nd_xfr_sw2</object-name>
|
||||||
|
<action>
|
||||||
|
<button>0</button>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<or>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc1</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc2</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
<command>property-toggle</command>
|
||||||
|
<property>modes/fo-du-xfr</property>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
</animation>
|
||||||
|
|
||||||
<!-- ECAM Controls -->
|
<!-- ECAM Controls -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
|
@ -1314,18 +1364,6 @@
|
||||||
<button>4</button>
|
<button>4</button>
|
||||||
<repeatable type="bool">true</repeatable>
|
<repeatable type="bool">true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<condition>
|
|
||||||
<or>
|
|
||||||
<greater-than-equals>
|
|
||||||
<property>systems/electrical/bus/dc1</property>
|
|
||||||
<value>25</value>
|
|
||||||
</greater-than-equals>
|
|
||||||
<greater-than-equals>
|
|
||||||
<property>systems/electrical/bus/dc2</property>
|
|
||||||
<value>25</value>
|
|
||||||
</greater-than-equals>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
<command>property-cycle</command>
|
<command>property-cycle</command>
|
||||||
<property>modes/altimeter/inhg</property>
|
<property>modes/altimeter/inhg</property>
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
|
@ -1376,7 +1414,7 @@
|
||||||
<entry><ind>1</ind><dep>-3</dep></entry>
|
<entry><ind>1</ind><dep>-3</dep></entry>
|
||||||
</interpolation>
|
</interpolation>
|
||||||
<axis>
|
<axis>
|
||||||
<object-name>qnh_cpt_sw.axis</object-name>
|
<object-name>qnh_fo_sw.axis</object-name>
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
@ -1831,8 +1869,15 @@
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>nasal</command>
|
||||||
<property>instrumentation/efis/inputs/CSTR</property>
|
<script>
|
||||||
|
if (getprop("/instrumentation/efis/inputs/CSTR") != 1) {
|
||||||
|
libraries.cpt_efis_btns("cstr");
|
||||||
|
} else {
|
||||||
|
libraries.cpt_efis_btns("off");
|
||||||
|
}
|
||||||
|
setprop("/sim/sounde/btn1", 1);
|
||||||
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -1872,8 +1917,15 @@
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>nasal</command>
|
||||||
<property>instrumentation/efis[1]/inputs/CSTR</property>
|
<script>
|
||||||
|
if (getprop("/instrumentation/efis[1]/inputs/CSTR") != 1) {
|
||||||
|
libraries.fo_efis_btns("cstr");
|
||||||
|
} else {
|
||||||
|
libraries.fo_efis_btns("off");
|
||||||
|
}
|
||||||
|
setprop("/sim/sounde/btn1", 1);
|
||||||
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -1913,8 +1965,15 @@
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>nasal</command>
|
||||||
<property>instrumentation/efis/inputs/wpt</property>
|
<script>
|
||||||
|
if (getprop("/instrumentation/efis/inputs/wpt") != 1) {
|
||||||
|
libraries.cpt_efis_btns("wpt");
|
||||||
|
} else {
|
||||||
|
libraries.cpt_efis_btns("off");
|
||||||
|
}
|
||||||
|
setprop("/sim/sounde/btn1", 1);
|
||||||
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -1954,8 +2013,15 @@
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>nasal</command>
|
||||||
<property>instrumentation/efis[1]/inputs/wpt</property>
|
<script>
|
||||||
|
if (getprop("/instrumentation/efis[1]/inputs/wpt") != 1) {
|
||||||
|
libraries.fo_efis_btns("wpt");
|
||||||
|
} else {
|
||||||
|
libraries.fo_efis_btns("off");
|
||||||
|
}
|
||||||
|
setprop("/sim/sounde/btn1", 1);
|
||||||
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -1995,24 +2061,15 @@
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>nasal</command>
|
||||||
<property>instrumentation/efis/inputs/VORD</property>
|
<script>
|
||||||
</binding>
|
if (getprop("/instrumentation/efis/inputs/VORD") != 1) {
|
||||||
<binding>
|
libraries.cpt_efis_btns("vord");
|
||||||
<condition>
|
} else {
|
||||||
<or>
|
libraries.cpt_efis_btns("off");
|
||||||
<greater-than-equals>
|
}
|
||||||
<property>systems/electrical/bus/dc1</property>
|
setprop("/sim/sounde/btn1", 1);
|
||||||
<value>25</value>
|
</script>
|
||||||
</greater-than-equals>
|
|
||||||
<greater-than-equals>
|
|
||||||
<property>systems/electrical/bus/dc2</property>
|
|
||||||
<value>25</value>
|
|
||||||
</greater-than-equals>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
<command>property-toggle</command>
|
|
||||||
<property>instrumentation/efis/inputs/DME</property>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -2052,24 +2109,15 @@
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>nasal</command>
|
||||||
<property>instrumentation/efis[1]/inputs/VORD</property>
|
<script>
|
||||||
</binding>
|
if (getprop("/instrumentation/efis[1]/inputs/VORD") != 1) {
|
||||||
<binding>
|
libraries.fo_efis_btns("vord");
|
||||||
<condition>
|
} else {
|
||||||
<or>
|
libraries.fo_efis_btns("off");
|
||||||
<greater-than-equals>
|
}
|
||||||
<property>systems/electrical/bus/dc1</property>
|
setprop("/sim/sounde/btn1", 1);
|
||||||
<value>25</value>
|
</script>
|
||||||
</greater-than-equals>
|
|
||||||
<greater-than-equals>
|
|
||||||
<property>systems/electrical/bus/dc2</property>
|
|
||||||
<value>25</value>
|
|
||||||
</greater-than-equals>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
<command>property-toggle</command>
|
|
||||||
<property>instrumentation/efis[1]/inputs/DME</property>
|
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -2109,8 +2157,15 @@
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>nasal</command>
|
||||||
<property>instrumentation/efis/inputs/NDB</property>
|
<script>
|
||||||
|
if (getprop("/instrumentation/efis/inputs/ndb") != 1) {
|
||||||
|
libraries.cpt_efis_btns("ndb");
|
||||||
|
} else {
|
||||||
|
libraries.cpt_efis_btns("off");
|
||||||
|
}
|
||||||
|
setprop("/sim/sounde/btn1", 1);
|
||||||
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -2150,8 +2205,15 @@
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>nasal</command>
|
||||||
<property>instrumentation/efis[1]/inputs/NDB</property>
|
<script>
|
||||||
|
if (getprop("/instrumentation/efis[1]/inputs/ndb") != 1) {
|
||||||
|
libraries.fo_efis_btns("ndb");
|
||||||
|
} else {
|
||||||
|
libraries.fo_efis_btns("off");
|
||||||
|
}
|
||||||
|
setprop("/sim/sounde/btn1", 1);
|
||||||
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -2191,8 +2253,15 @@
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>nasal</command>
|
||||||
<property>instrumentation/efis/inputs/arpt</property>
|
<script>
|
||||||
|
if (getprop("/instrumentation/efis/inputs/arpt") != 1) {
|
||||||
|
libraries.cpt_efis_btns("arpt");
|
||||||
|
} else {
|
||||||
|
libraries.cpt_efis_btns("off");
|
||||||
|
}
|
||||||
|
setprop("/sim/sounde/btn1", 1);
|
||||||
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -2232,8 +2301,15 @@
|
||||||
</greater-than-equals>
|
</greater-than-equals>
|
||||||
</or>
|
</or>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-toggle</command>
|
<command>nasal</command>
|
||||||
<property>instrumentation/efis[1]/inputs/arpt</property>
|
<script>
|
||||||
|
if (getprop("/instrumentation/efis[1]/inputs/arpt") != 1) {
|
||||||
|
libraries.fo_efis_btns("arpt");
|
||||||
|
} else {
|
||||||
|
libraries.fo_efis_btns("off");
|
||||||
|
}
|
||||||
|
setprop("/sim/sounde/btn1", 1);
|
||||||
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -2429,6 +2505,24 @@
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<action>
|
||||||
|
<button>1</button>
|
||||||
|
<repeatable type="bool">false</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/efis/input/vor-adf-1</property>
|
||||||
|
<value>2</value> <!-- ADF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/efis/input/lh-vor-adf</property>
|
||||||
|
<value>-1</value> <!-- ADF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
|
@ -2465,6 +2559,24 @@
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<action>
|
||||||
|
<button>1</button>
|
||||||
|
<repeatable type="bool">false</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/efis[1]/input/vor-adf-1</property>
|
||||||
|
<value>2</value> <!-- ADF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/efis[1]/input/lh-vor-adf</property>
|
||||||
|
<value>-1</value> <!-- ADF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
|
@ -2501,6 +2613,24 @@
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<action>
|
||||||
|
<button>1</button>
|
||||||
|
<repeatable type="bool">false</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/efis/input/vor-adf-2</property>
|
||||||
|
<value>2</value> <!-- ADF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/efis/input/rh-vor-adf</property>
|
||||||
|
<value>-1</value> <!-- ADF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
|
@ -2537,6 +2667,24 @@
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
|
<action>
|
||||||
|
<button>1</button>
|
||||||
|
<repeatable type="bool">false</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/efis[1]/input/vor-adf-2</property>
|
||||||
|
<value>2</value> <!-- ADF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/efis[1]/input/rh-vor-adf</property>
|
||||||
|
<value>-1</value> <!-- ADF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
|
@ -2922,7 +3070,7 @@
|
||||||
<alignment>center-center</alignment>
|
<alignment>center-center</alignment>
|
||||||
<axis-alignment>xy-plane</axis-alignment>
|
<axis-alignment>xy-plane</axis-alignment>
|
||||||
<type type="string">number-value</type>
|
<type type="string">number-value</type>
|
||||||
<format type="string">%1.2f</format>
|
<format type="string">%0.3f</format>
|
||||||
<property>it-autoflight/input/spd-mach</property>
|
<property>it-autoflight/input/spd-mach</property>
|
||||||
<truncate type="bool">false</truncate>
|
<truncate type="bool">false</truncate>
|
||||||
<font type="string">led.txf</font>
|
<font type="string">led.txf</font>
|
||||||
|
@ -2948,7 +3096,7 @@
|
||||||
<alignment>center-center</alignment>
|
<alignment>center-center</alignment>
|
||||||
<axis-alignment>xy-plane</axis-alignment>
|
<axis-alignment>xy-plane</axis-alignment>
|
||||||
<type type="string">text-value</type>
|
<type type="string">text-value</type>
|
||||||
<format type="string">888</format>
|
<format type="string">.888</format>
|
||||||
<property>autopilot/serviceable</property>
|
<property>autopilot/serviceable</property>
|
||||||
<truncate type="bool">false</truncate>
|
<truncate type="bool">false</truncate>
|
||||||
<font type="string">led.txf</font>
|
<font type="string">led.txf</font>
|
||||||
|
@ -4302,8 +4450,8 @@
|
||||||
<object-name>eng_mode_mark</object-name>
|
<object-name>eng_mode_mark</object-name>
|
||||||
<emission>
|
<emission>
|
||||||
<red>1</red>
|
<red>1</red>
|
||||||
<green>1</green>
|
<green>0.725</green>
|
||||||
<blue>1</blue>
|
<blue>0.259</blue>
|
||||||
<factor-prop>controls/lighting/main-panel-norm</factor-prop>
|
<factor-prop>controls/lighting/main-panel-norm</factor-prop>
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -4319,8 +4467,8 @@
|
||||||
<object-name>nd_range_fo_mark</object-name>
|
<object-name>nd_range_fo_mark</object-name>
|
||||||
<emission>
|
<emission>
|
||||||
<red>1</red>
|
<red>1</red>
|
||||||
<green>1</green>
|
<green>0.725</green>
|
||||||
<blue>1</blue>
|
<blue>0.259</blue>
|
||||||
<factor-prop>controls/lighting/fcu-panel-norm</factor-prop>
|
<factor-prop>controls/lighting/fcu-panel-norm</factor-prop>
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -107,73 +107,8 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Panel lighting -->
|
<!-- Panel lighting -->
|
||||||
<!--
|
|
||||||
<animation>
|
<animation>
|
||||||
<name>Panel lighting select</name>
|
<name>Panel lighting</name>
|
||||||
<type>select</type>
|
|
||||||
<object-name>MarkingLts</object-name>
|
|
||||||
<condition>
|
|
||||||
<or>
|
|
||||||
<not>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
</not>
|
|
||||||
<and>
|
|
||||||
<equals>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
<value>0.5</value>
|
|
||||||
</equals>
|
|
||||||
<greater-than>
|
|
||||||
<property>controls/lighting/overhead-panel-norm</property>
|
|
||||||
<value>0.25</value>
|
|
||||||
</greater-than>
|
|
||||||
</and>
|
|
||||||
<and>
|
|
||||||
<equals>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
<value>1</value>
|
|
||||||
</equals>
|
|
||||||
<greater-than>
|
|
||||||
<property>controls/lighting/overhead-panel-norm</property>
|
|
||||||
<value>0.5</value>
|
|
||||||
</greater-than>
|
|
||||||
</and>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<name>Panel no lighting select</name>
|
|
||||||
<type>select</type>
|
|
||||||
<object-name>Markings</object-name>
|
|
||||||
<condition>
|
|
||||||
<or>
|
|
||||||
<and>
|
|
||||||
<equals>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
<value>0.5</value>
|
|
||||||
</equals>
|
|
||||||
<less-than-equals>
|
|
||||||
<property>controls/lighting/overhead-panel-norm</property>
|
|
||||||
<value>0.25</value>
|
|
||||||
</less-than-equals>
|
|
||||||
</and>
|
|
||||||
<and>
|
|
||||||
<equals>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
<value>1</value>
|
|
||||||
</equals>
|
|
||||||
<less-than-equals>
|
|
||||||
<property>controls/lighting/overhead-panel-norm</property>
|
|
||||||
<value>0.5</value>
|
|
||||||
</less-than-equals>
|
|
||||||
</and>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
</animation>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<name>Marking lighting</name>
|
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>Markings</object-name>
|
<object-name>Markings</object-name>
|
||||||
<object-name>StrobeLtSwtch.mark</object-name>
|
<object-name>StrobeLtSwtch.mark</object-name>
|
||||||
|
@ -185,16 +120,10 @@
|
||||||
<object-name>LandingLtRSwtch.mark</object-name>
|
<object-name>LandingLtRSwtch.mark</object-name>
|
||||||
<object-name>NoseLtSwtch.mark</object-name>
|
<object-name>NoseLtSwtch.mark</object-name>
|
||||||
<object-name>OHPMarkLtKnb.mark</object-name>
|
<object-name>OHPMarkLtKnb.mark</object-name>
|
||||||
<condition>
|
|
||||||
<greater-than-equals>
|
|
||||||
<property>/systems/electrical/outputs/efis</property>
|
|
||||||
<value>9</value>
|
|
||||||
</greater-than-equals>
|
|
||||||
</condition>
|
|
||||||
<emission>
|
<emission>
|
||||||
<red>1</red>
|
<red>1</red>
|
||||||
<green>0.6</green>
|
<green>0.824</green>
|
||||||
<blue>0.24</blue>
|
<blue>0.518</blue>
|
||||||
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
|
@ -1004,46 +1004,14 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Panel lighting -->
|
<!-- Panel lighting -->
|
||||||
<animation>
|
|
||||||
<name>Panel lighting select</name>
|
|
||||||
<type>select</type>
|
|
||||||
<object-name>MarkingLts</object-name>
|
|
||||||
<condition>
|
|
||||||
<or>
|
|
||||||
<not>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
</not>
|
|
||||||
<and>
|
|
||||||
<equals>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
<value>0.5</value>
|
|
||||||
</equals>
|
|
||||||
<greater-than>
|
|
||||||
<property>controls/lighting/overhead-panel-norm</property>
|
|
||||||
<value>0.25</value>
|
|
||||||
</greater-than>
|
|
||||||
</and>
|
|
||||||
<and>
|
|
||||||
<equals>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
<value>1</value>
|
|
||||||
</equals>
|
|
||||||
<greater-than>
|
|
||||||
<property>controls/lighting/overhead-panel-norm</property>
|
|
||||||
<value>0.5</value>
|
|
||||||
</greater-than>
|
|
||||||
</and>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
</animation>
|
|
||||||
<animation>
|
<animation>
|
||||||
<name>Panel lighting</name>
|
<name>Panel lighting</name>
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>MarkingLts</object-name>
|
<object-name>MarkingLts</object-name>
|
||||||
<emission>
|
<emission>
|
||||||
<red>1</red>
|
<red>1</red>
|
||||||
<green>1</green>
|
<green>0.824</green>
|
||||||
<blue>1</blue>
|
<blue>0.518</blue>
|
||||||
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
|
@ -233,46 +233,14 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Panel lighting -->
|
<!-- Panel lighting -->
|
||||||
<animation>
|
|
||||||
<name>Panel lighting select</name>
|
|
||||||
<type>select</type>
|
|
||||||
<object-name>MarkingLts</object-name>
|
|
||||||
<condition>
|
|
||||||
<or>
|
|
||||||
<not>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
</not>
|
|
||||||
<and>
|
|
||||||
<equals>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
<value>0.5</value>
|
|
||||||
</equals>
|
|
||||||
<greater-than>
|
|
||||||
<property>controls/lighting/overhead-panel-norm</property>
|
|
||||||
<value>0.25</value>
|
|
||||||
</greater-than>
|
|
||||||
</and>
|
|
||||||
<and>
|
|
||||||
<equals>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
<value>1</value>
|
|
||||||
</equals>
|
|
||||||
<greater-than>
|
|
||||||
<property>controls/lighting/overhead-panel-norm</property>
|
|
||||||
<value>0.5</value>
|
|
||||||
</greater-than>
|
|
||||||
</and>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
</animation>
|
|
||||||
<animation>
|
<animation>
|
||||||
<name>Panel lighting</name>
|
<name>Panel lighting</name>
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>MarkingLts</object-name>
|
<object-name>MarkingLts</object-name>
|
||||||
<emission>
|
<emission>
|
||||||
<red>1</red>
|
<red>1</red>
|
||||||
<green>1</green>
|
<green>0.824</green>
|
||||||
<blue>1</blue>
|
<blue>0.518</blue>
|
||||||
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
|
@ -80,46 +80,14 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Panel lighting -->
|
<!-- Panel lighting -->
|
||||||
<animation>
|
|
||||||
<name>Panel lighting select</name>
|
|
||||||
<type>select</type>
|
|
||||||
<object-name>MarkingLts</object-name>
|
|
||||||
<condition>
|
|
||||||
<or>
|
|
||||||
<not>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
</not>
|
|
||||||
<and>
|
|
||||||
<equals>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
<value>0.5</value>
|
|
||||||
</equals>
|
|
||||||
<greater-than>
|
|
||||||
<property>controls/lighting/overhead-panel-norm</property>
|
|
||||||
<value>0.25</value>
|
|
||||||
</greater-than>
|
|
||||||
</and>
|
|
||||||
<and>
|
|
||||||
<equals>
|
|
||||||
<property>controls/lighting/dome-norm</property>
|
|
||||||
<value>1</value>
|
|
||||||
</equals>
|
|
||||||
<greater-than>
|
|
||||||
<property>controls/lighting/overhead-panel-norm</property>
|
|
||||||
<value>0.5</value>
|
|
||||||
</greater-than>
|
|
||||||
</and>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
</animation>
|
|
||||||
<animation>
|
<animation>
|
||||||
<name>Panel lighting</name>
|
<name>Panel lighting</name>
|
||||||
<type>material</type>
|
<type>material</type>
|
||||||
<object-name>MarkingLts</object-name>
|
<object-name>MarkingLts</object-name>
|
||||||
<emission>
|
<emission>
|
||||||
<red>1</red>
|
<red>1</red>
|
||||||
<green>1</green>
|
<green>0.824</green>
|
||||||
<blue>1</blue>
|
<blue>0.518</blue>
|
||||||
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
|
@ -71,6 +71,52 @@ var mode_dec = func {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var cpt_efis_btns = func(i) {
|
||||||
|
if (i == "cstr") {
|
||||||
|
setprop("/instrumentation/efis/inputs/CSTR", 1);
|
||||||
|
setprop("/instrumentation/efis/inputs/wpt", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/VORD", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/DME", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/NDB", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/arpt", 0);
|
||||||
|
} else if (i == "wpt") {
|
||||||
|
setprop("/instrumentation/efis/inputs/CSTR", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/wpt", 1);
|
||||||
|
setprop("/instrumentation/efis/inputs/VORD", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/DME", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/NDB", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/arpt", 0);
|
||||||
|
} else if (i == "vord") {
|
||||||
|
setprop("/instrumentation/efis/inputs/CSTR", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/wpt", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/VORD", 1);
|
||||||
|
setprop("/instrumentation/efis/inputs/DME", 1);
|
||||||
|
setprop("/instrumentation/efis/inputs/NDB", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/arpt", 0);
|
||||||
|
} else if (i == "ndb") {
|
||||||
|
setprop("/instrumentation/efis/inputs/CSTR", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/wpt", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/VORD", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/DME", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/NDB", 1);
|
||||||
|
setprop("/instrumentation/efis/inputs/arpt", 0);
|
||||||
|
} else if (i == "arpt") {
|
||||||
|
setprop("/instrumentation/efis/inputs/CSTR", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/wpt", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/VORD", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/DME", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/NDB", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/arpt", 1);
|
||||||
|
} else if (i == "off") {
|
||||||
|
setprop("/instrumentation/efis/inputs/CSTR", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/wpt", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/VORD", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/DME", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/NDB", 0);
|
||||||
|
setprop("/instrumentation/efis/inputs/arpt", 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# First Officer
|
# First Officer
|
||||||
|
|
||||||
var ctl2_func = func(md,val) {
|
var ctl2_func = func(md,val) {
|
||||||
|
@ -125,3 +171,48 @@ var mode2_dec = func {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var fo_efis_btns = func(i) {
|
||||||
|
if (i == "cstr") {
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/CSTR", 1);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/wpt", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/VORD", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/DME", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/NDB", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/arpt", 0);
|
||||||
|
} else if (i == "wpt") {
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/CSTR", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/wpt", 1);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/VORD", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/DME", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/NDB", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/arpt", 0);
|
||||||
|
} else if (i == "vord") {
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/CSTR", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/wpt", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/VORD", 1);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/DME", 1);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/NDB", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/arpt", 0);
|
||||||
|
} else if (i == "ndb") {
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/CSTR", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/wpt", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/VORD", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/DME", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/NDB", 1);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/arpt", 0);
|
||||||
|
} else if (i == "arpt") {
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/CSTR", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/wpt", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/VORD", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/DME", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/NDB", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/arpt", 1);
|
||||||
|
} else if (i == "off") {
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/CSTR", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/wpt", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/VORD", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/DME", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/NDB", 0);
|
||||||
|
setprop("/instrumentation/efis[1]/inputs/arpt", 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Reference in a new issue