248 lines
No EOL
5.7 KiB
XML
248 lines
No EOL
5.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!--
|
|
##############################################
|
|
# Copyright (c) Joshua Davidson (it0uchpods) #
|
|
##############################################
|
|
-->
|
|
|
|
<PropertyList>
|
|
|
|
<path>res/ohpanelEPR.ac</path>
|
|
|
|
<!-- No button lights without power! -->
|
|
<animation>
|
|
<type>select</type>
|
|
<object-name>Eng1N1Btn2O</object-name>
|
|
<object-name>Eng2N1Btn2O</object-name>
|
|
<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>
|
|
</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>
|
|
<and>
|
|
<equals>
|
|
<property>controls/OH/protectors/eng1-n1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<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>
|
|
</and>
|
|
</condition>
|
|
<command>property-toggle</command>
|
|
<property>controls/fadec/n1mode1</property>
|
|
</binding>
|
|
<binding>
|
|
<condition>
|
|
<equals>
|
|
<property>controls/OH/protectors/eng1-n1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<command>nasal</command>
|
|
<script>setprop("/sim/sounde/oh-btn", 1);</script>
|
|
</binding>
|
|
</action>
|
|
</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>
|
|
<type>select</type>
|
|
<object-name>Eng1N1Btn2O</object-name>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>controls/fadec/n1mode1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>controls/switches/annun-test</property>
|
|
<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>
|
|
<and>
|
|
<equals>
|
|
<property>controls/OH/protectors/eng2-n1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<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>
|
|
</and>
|
|
</condition>
|
|
<command>property-toggle</command>
|
|
<property>controls/fadec/n1mode2</property>
|
|
</binding>
|
|
<binding>
|
|
<condition>
|
|
<equals>
|
|
<property>controls/OH/protectors/eng2-n1</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</condition>
|
|
<command>nasal</command>
|
|
<script>setprop("/sim/sounde/oh-btn", 1);</script>
|
|
</binding>
|
|
</action>
|
|
</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>
|
|
<type>select</type>
|
|
<object-name>Eng2N1Btn2O</object-name>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>controls/fadec/n1mode2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>controls/switches/annun-test</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</condition>
|
|
</animation>
|
|
|
|
<!-- Panel lighting -->
|
|
<animation>
|
|
<name>Panel lighting</name>
|
|
<type>material</type>
|
|
<object-name>MarkingLts</object-name>
|
|
<emission>
|
|
<red>1</red>
|
|
<green>0.824</green>
|
|
<blue>0.518</blue>
|
|
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
|
</emission>
|
|
</animation>
|
|
|
|
</PropertyList> |