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

View file

@ -23,9 +23,9 @@ var variousReset = func {
setprop("controls/fadec/n1mode1", 0);
setprop("controls/fadec/n1mode2", 0);
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/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-3-override", 0);
setprop("controls/switches/cabinCall", 0);

View file

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