2017-06-23 01:21:13 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
|
2019-01-01 06:03:06 +00:00
|
|
|
<!-- Copyright (c) 2019 Joshua Davidson (it0uchpods) -->
|
2017-07-13 17:30:33 +00:00
|
|
|
|
2017-06-23 01:21:13 +00:00
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<path>res/ohpanelEPR.ac</path>
|
2017-06-23 01:26:45 +00:00
|
|
|
|
2017-06-27 17:43:22 +00:00
|
|
|
<!-- No button lights without power! -->
|
|
|
|
<animation>
|
2017-07-21 17:38:04 +00:00
|
|
|
<type>select</type>
|
2017-06-27 17:43:22 +00:00
|
|
|
<object-name>Eng1N1Btn2O</object-name>
|
|
|
|
<object-name>Eng2N1Btn2O</object-name>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<greater-than-equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>systems/electrical/bus/dc1</property>
|
2017-06-27 17:43:22 +00:00
|
|
|
<value>25</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
<greater-than-equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>systems/electrical/bus/dc2</property>
|
2017-06-27 17:43:22 +00:00
|
|
|
<value>25</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<!-- N1 Mode switches -->
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>Eng1N1Btn</object-name>
|
|
|
|
<object-name>Eng1N1Btn2O</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<condition>
|
2017-07-03 00:52:19 +00:00
|
|
|
<and>
|
|
|
|
<equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/OH/protectors/eng1-n1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<greater-than-equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>systems/electrical/bus/dc1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<value>25</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
<greater-than-equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>systems/electrical/bus/dc2</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<value>25</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
2017-06-27 17:43:22 +00:00
|
|
|
</condition>
|
|
|
|
<command>property-toggle</command>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/fadec/n1mode1</property>
|
2017-06-27 17:43:22 +00:00
|
|
|
</binding>
|
|
|
|
<binding>
|
2017-07-03 00:52:19 +00:00
|
|
|
<condition>
|
|
|
|
<equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/OH/protectors/eng1-n1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2017-06-27 17:43:22 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>setprop("/sim/sounde/oh-btn", 1);</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
2017-07-03 00:52:19 +00:00
|
|
|
<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>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/OH/protectors/eng1-n1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<value>1</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/OH/protectors/eng1-n1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<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>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/OH/protectors/eng1-n1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<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>
|
|
|
|
|
2017-06-27 17:43:22 +00:00
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>Eng1N1Btn2O</object-name>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/fadec/n1mode1</property>
|
2017-06-27 17:43:22 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/switches/annun-test</property>
|
2017-06-27 17:43:22 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>Eng2N1Btn</object-name>
|
|
|
|
<object-name>Eng2N1Btn2O</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<condition>
|
2017-07-03 00:52:19 +00:00
|
|
|
<and>
|
|
|
|
<equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/OH/protectors/eng2-n1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<greater-than-equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>systems/electrical/bus/dc1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<value>25</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
<greater-than-equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>systems/electrical/bus/dc2</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<value>25</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
2017-06-27 17:43:22 +00:00
|
|
|
</condition>
|
|
|
|
<command>property-toggle</command>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/fadec/n1mode2</property>
|
2017-06-27 17:43:22 +00:00
|
|
|
</binding>
|
|
|
|
<binding>
|
2017-07-03 00:52:19 +00:00
|
|
|
<condition>
|
|
|
|
<equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/OH/protectors/eng2-n1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2017-06-27 17:43:22 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>setprop("/sim/sounde/oh-btn", 1);</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
2017-07-03 00:52:19 +00:00
|
|
|
<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>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/OH/protectors/eng2-n1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<value>1</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/OH/protectors/eng2-n1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<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>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/OH/protectors/eng2-n1</property>
|
2017-07-03 00:52:19 +00:00
|
|
|
<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>
|
|
|
|
|
2017-06-27 17:43:22 +00:00
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>Eng2N1Btn2O</object-name>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/fadec/n1mode2</property>
|
2017-06-27 17:43:22 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
2017-07-18 19:41:02 +00:00
|
|
|
<property>controls/switches/annun-test</property>
|
2017-06-27 17:43:22 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
2017-06-23 01:26:45 +00:00
|
|
|
<!-- Panel lighting -->
|
|
|
|
<animation>
|
|
|
|
<name>Panel lighting</name>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>MarkingLts</object-name>
|
|
|
|
<emission>
|
|
|
|
<red>1</red>
|
2017-10-23 20:05:09 +00:00
|
|
|
<green>0.824</green>
|
|
|
|
<blue>0.518</blue>
|
2017-06-23 01:26:45 +00:00
|
|
|
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
|
|
|
</emission>
|
|
|
|
</animation>
|
2019-01-19 17:32:49 +00:00
|
|
|
|
|
|
|
<animation>
|
|
|
|
<name>Panel lighting</name>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>MarkingLts</object-name>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<not>
|
|
|
|
<greater-than>
|
|
|
|
<property>controls/lighting/overhead-panel-norm</property>
|
|
|
|
<value>0.25</value>
|
|
|
|
</greater-than>
|
|
|
|
</not>
|
|
|
|
<greater-than>
|
|
|
|
<property>sim/model/lights/dome-light</property>
|
|
|
|
<value>0</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<emission>
|
|
|
|
<red>0.20</red>
|
|
|
|
<green>0.20</green>
|
|
|
|
<blue>0.20</blue>
|
|
|
|
<factor-prop>sim/model/lights/dome-light</factor-prop>
|
|
|
|
</emission>
|
|
|
|
</animation>
|
2017-06-23 01:21:13 +00:00
|
|
|
</PropertyList>
|