A3XX: New overhead covers

This commit is contained in:
Joshua Davidson 2017-07-02 20:52:19 -04:00
parent 0ff63ab275
commit f0dba2fe43
7 changed files with 7688 additions and 42 deletions

View file

@ -506,6 +506,17 @@
<strobe type="bool">0</strobe> <strobe type="bool">0</strobe>
<taxi-light-switch type="float">0</taxi-light-switch> <taxi-light-switch type="float">0</taxi-light-switch>
</lighting> </lighting>
<OH>
<protectors>
<ditching type="bool">0</ditching>
<eng1-manstart type="bool">0</eng1-manstart>
<eng2-manstart type="bool">0</eng2-manstart>
<eng1-n1 type="bool">0</eng1-n1>
<eng2-n1 type="bool">0</eng2-n1>
<IDG1 type="bool">0</IDG1>
<IDG2 type="bool">0</IDG2>
</protectors>
</OH>
<switches> <switches>
<!-- Smoking is bad :P --> <!-- Smoking is bad :P -->
<no-smoking-sign type="bool">1</no-smoking-sign> <no-smoking-sign type="bool">1</no-smoking-sign>

View file

@ -3551,34 +3551,90 @@
<repeatable>false</repeatable> <repeatable>false</repeatable>
<binding> <binding>
<condition> <condition>
<or> <and>
<greater-than-equals> <equals>
<property>/systems/electrical/battery1-amps</property> <property>/controls/OH/protectors/ditching</property>
<value>120</value> <value>1</value>
</greater-than-equals> </equals>
<greater-than-equals> <or>
<property>/systems/electrical/battery2-amps</property> <greater-than-equals>
<value>120</value> <property>/systems/electrical/battery1-amps</property>
</greater-than-equals> <value>120</value>
<greater-than-equals> </greater-than-equals>
<property>/systems/electrical/bus/dc1</property> <greater-than-equals>
<value>25</value> <property>/systems/electrical/battery2-amps</property>
</greater-than-equals> <value>120</value>
<greater-than-equals> </greater-than-equals>
<property>/systems/electrical/bus/dc2</property> <greater-than-equals>
<value>25</value> <property>/systems/electrical/bus/dc1</property>
</greater-than-equals> <value>25</value>
</or> </greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/dc2</property>
<value>25</value>
</greater-than-equals>
</or>
</and>
</condition> </condition>
<command>nasal</command> <command>property-assign</command>
<script>setprop("/systems/pressurization/ditchingpb", 1);</script> <property>/systems/pressurization/ditchingpb</property>
<value>1</value>
</binding> </binding>
<binding> <binding>
<condition>
<equals>
<property>/controls/OH/protectors/ditching</property>
<value>1</value>
</equals>
</condition>
<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>
<type>pick</type>
<object-name>DitchBtn1</object-name>
<object-name>DitchBtn2</object-name>
<object-name>DitchBtn2O</object-name>
<object-name>DitchProt</object-name>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/controls/OH/protectors/ditching</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/OH/protectors/ditching</property>
<value>0</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/oh-cover", 1);</script>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>DitchProt</object-name>
<property>/controls/OH/protectors/ditching</property>
<factor>-145</factor>
<axis>
<x1-m>-0.00898</x1-m>
<y1-m>0.13197</y1-m>
<z1-m>-0.20489</z1-m>
<x2-m>-0.00898</x2-m>
<y2-m>0.15493</y2-m>
<z2-m>-0.20489</z2-m>
</axis>
</animation>
<animation> <animation>
<type>select</type> <type>select</type>

View file

@ -33,27 +33,81 @@
<repeatable>false</repeatable> <repeatable>false</repeatable>
<binding> <binding>
<condition> <condition>
<or> <and>
<greater-than-equals> <equals>
<property>/systems/electrical/bus/dc1</property> <property>/controls/OH/protectors/eng1-n1</property>
<value>25</value> <value>1</value>
</greater-than-equals> </equals>
<greater-than-equals> <or>
<property>/systems/electrical/bus/dc2</property> <greater-than-equals>
<value>25</value> <property>/systems/electrical/bus/dc1</property>
</greater-than-equals> <value>25</value>
</or> </greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/dc2</property>
<value>25</value>
</greater-than-equals>
</or>
</and>
</condition> </condition>
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/fadec/n1mode1</property> <property>/controls/fadec/n1mode1</property>
</binding> </binding>
<binding> <binding>
<condition>
<equals>
<property>/controls/OH/protectors/eng1-n1</property>
<value>1</value>
</equals>
</condition>
<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>
<type>pick</type>
<object-name>Eng1N1Btn</object-name>
<object-name>Eng1N1Btn2O</object-name>
<object-name>Eng1N1Prot</object-name>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/controls/OH/protectors/eng1-n1</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/OH/protectors/eng1-n1</property>
<value>0</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/oh-cover", 1);</script>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>Eng1N1Prot</object-name>
<property>/controls/OH/protectors/eng1-n1</property>
<factor>-145</factor>
<axis>
<x1-m>0.00201</x1-m>
<y1-m>0.25404</y1-m>
<z1-m>-0.20418</z1-m>
<x2-m>0.00489</x2-m>
<y2-m>0.27681</y2-m>
<z2-m>-0.20418</z2-m>
</axis>
</animation>
<animation> <animation>
<type>select</type> <type>select</type>
<object-name>Eng1N1Btn2O</object-name> <object-name>Eng1N1Btn2O</object-name>
@ -80,27 +134,81 @@
<repeatable>false</repeatable> <repeatable>false</repeatable>
<binding> <binding>
<condition> <condition>
<or> <and>
<greater-than-equals> <equals>
<property>/systems/electrical/bus/dc1</property> <property>/controls/OH/protectors/eng2-n1</property>
<value>25</value> <value>1</value>
</greater-than-equals> </equals>
<greater-than-equals> <or>
<property>/systems/electrical/bus/dc2</property> <greater-than-equals>
<value>25</value> <property>/systems/electrical/bus/dc1</property>
</greater-than-equals> <value>25</value>
</or> </greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/dc2</property>
<value>25</value>
</greater-than-equals>
</or>
</and>
</condition> </condition>
<command>property-toggle</command> <command>property-toggle</command>
<property>/controls/fadec/n1mode2</property> <property>/controls/fadec/n1mode2</property>
</binding> </binding>
<binding> <binding>
<condition>
<equals>
<property>/controls/OH/protectors/eng2-n1</property>
<value>1</value>
</equals>
</condition>
<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>
<type>pick</type>
<object-name>Eng2N1Btn</object-name>
<object-name>Eng2N1Btn2O</object-name>
<object-name>Eng2N1Prot</object-name>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/controls/OH/protectors/eng2-n1</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/OH/protectors/eng2-n1</property>
<value>0</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/oh-cover", 1);</script>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>Eng2N1Prot</object-name>
<property>/controls/OH/protectors/eng2-n1</property>
<factor>-145</factor>
<axis>
<x1-m>0.00616</x1-m>
<y1-m>0.2855</y1-m>
<z1-m>-0.20418</z1-m>
<x2-m>0.00904</x2-m>
<y2-m>0.30828</y2-m>
<z2-m>-0.20418</z2-m>
</axis>
</animation>
<animation> <animation>
<type>select</type> <type>select</type>
<object-name>Eng2N1Btn2O</object-name> <object-name>Eng2N1Btn2O</object-name>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

After

(image error) Size: 53 KiB

Binary file not shown.

After

(image error) Size: 60 KiB