1
0
Fork 0

GPWS: activate TERR switch

This commit is contained in:
legoboyvdlp R 2020-08-13 11:16:27 +01:00
parent 4ba0d35b14
commit 95613c43df
3 changed files with 11 additions and 11 deletions

View file

@ -1678,7 +1678,7 @@
</animation> </animation>
<!-- GPWS --> <!-- GPWS -->
<!--animation> <animation>
<name>GPWS terrain system pick</name> <name>GPWS terrain system pick</name>
<type>pick</type> <type>pick</type>
<object-name>GPWSTerrBtn1</object-name> <object-name>GPWSTerrBtn1</object-name>
@ -1696,14 +1696,14 @@
</greater-than-equals> </greater-than-equals>
</condition> </condition>
<command>property-toggle</command> <command>property-toggle</command>
<property>instrumentation/mk-viii/inputs/discretes/terr-inhibit</property> <property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
</binding> </binding>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>setprop("sim/sounde/oh-btn", 1);</script> <script>setprop("sim/sounde/oh-btn", 1);</script>
</binding> </binding>
</action> </action>
</animation--> </animation>
<animation> <animation>
<type>select</type> <type>select</type>
@ -1716,7 +1716,7 @@
<value>0</value> <value>0</value>
</equals> </equals>
<equals> <equals>
<property>instrumentation/mk-viii/inputs/discretes/terr-inhibit</property> <property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
<value>0</value> <value>0</value>
</equals> </equals>
</and> </and>
@ -1734,7 +1734,7 @@
<condition> <condition>
<or> <or>
<equals> <equals>
<property>instrumentation/mk-viii/inputs/discretes/terr-inhibit</property> <property>instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit</property>
<value>1</value> <value>1</value>
</equals> </equals>
<equals> <equals>
@ -1829,7 +1829,7 @@
</greater-than-equals> </greater-than-equals>
</condition> </condition>
<command>property-toggle</command> <command>property-toggle</command>
<property>instrumentation/mk-viii/inputs/discretes/glideslope-cancel</property> <property>instrumentation/mk-viii/inputs/discretes/glideslope-inhibit</property>
</binding> </binding>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
@ -1844,7 +1844,7 @@
<condition> <condition>
<or> <or>
<equals> <equals>
<property>instrumentation/mk-viii/inputs/discretes/glideslope-cancel</property> <property>instrumentation/mk-viii/inputs/discretes/glideslope-inhibit</property>
<value>1</value> <value>1</value>
</equals> </equals>
<equals> <equals>

View file

@ -23,9 +23,9 @@ var variousReset = func {
setprop("controls/fadec/n1mode1", 0); setprop("controls/fadec/n1mode1", 0);
setprop("controls/fadec/n1mode2", 0); setprop("controls/fadec/n1mode2", 0);
setprop("instrumentation/mk-viii/serviceable", 1); setprop("instrumentation/mk-viii/serviceable", 1);
setprop("instrumentation/mk-viii/inputs/discretes/terr-inhibit", 0); setprop("instrumentation/mk-viii/inputs/discretes/ta-tcf-inhibit", 0);
setprop("instrumentation/mk-viii/inputs/discretes/gpws-inhibit", 0); setprop("instrumentation/mk-viii/inputs/discretes/gpws-inhibit", 0);
setprop("instrumentation/mk-viii/inputs/discretes/glideslope-cancel", 0); setprop("instrumentation/mk-viii/inputs/discretes/glideslope-inhibit", 0);
setprop("instrumentation/mk-viii/inputs/discretes/momentary-flap-all-override", 0); setprop("instrumentation/mk-viii/inputs/discretes/momentary-flap-all-override", 0);
setprop("instrumentation/mk-viii/inputs/discretes/momentary-flap-3-override", 0); setprop("instrumentation/mk-viii/inputs/discretes/momentary-flap-3-override", 0);
setprop("controls/switches/cabinCall", 0); setprop("controls/switches/cabinCall", 0);

View file

@ -1663,7 +1663,7 @@
<property>/sim/sounde/relay-batt-1</property> <property>/sim/sounde/relay-batt-1</property>
<volume> <volume>
<property>/sim/current-view/internal</property> <property>/sim/current-view/internal</property>
<factor>0.8</factor> <factor>0.4</factor>
</volume> </volume>
</relay> </relay>
@ -1674,7 +1674,7 @@
<property>/sim/sounde/relay-batt-2</property> <property>/sim/sounde/relay-batt-2</property>
<volume> <volume>
<property>/sim/current-view/internal</property> <property>/sim/current-view/internal</property>
<factor>0.8</factor> <factor>0.4</factor>
</volume> </volume>
</relay> </relay>