166 lines
No EOL
3.8 KiB
XML
166 lines
No EOL
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<PropertyList>
|
|
|
|
<path>res/ohpanelEPR.ac</path>
|
|
|
|
<!-- No button lights without power! -->
|
|
<animation>
|
|
<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>
|
|
<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>
|
|
<command>property-toggle</command>
|
|
<property>/controls/fadec/n1mode1</property>
|
|
</binding>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>setprop("/sim/sounde/oh-btn", 1);</script>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>select</type>
|
|
<object-name>Eng1N1Btn2O</object-name>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/controls/adirs/adr[2]/off</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/controls/fadec/n1mode1</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>
|
|
<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>
|
|
<command>property-toggle</command>
|
|
<property>/controls/fadec/n1mode2</property>
|
|
</binding>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>setprop("/sim/sounde/oh-btn", 1);</script>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>select</type>
|
|
<object-name>Eng2N1Btn2O</object-name>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>/controls/adirs/adr[2]/off</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<equals>
|
|
<property>/controls/fadec/n1mode2</property>
|
|
<value>1</value>
|
|
</equals>
|
|
</or>
|
|
</condition>
|
|
</animation>
|
|
|
|
<!-- Panel lighting -->
|
|
<animation>
|
|
<name>Panel lighting select</name>
|
|
<type>select</type>
|
|
<object-name>MarkingLts</object-name>
|
|
<condition>
|
|
<or>
|
|
<not>
|
|
<property>controls/lighting/dome-norm</property>
|
|
</not>
|
|
<and>
|
|
<equals>
|
|
<property>controls/lighting/dome-norm</property>
|
|
<value>0.5</value>
|
|
</equals>
|
|
<greater-than>
|
|
<property>controls/lighting/overhead-panel-norm</property>
|
|
<value>0.25</value>
|
|
</greater-than>
|
|
</and>
|
|
<and>
|
|
<equals>
|
|
<property>controls/lighting/dome-norm</property>
|
|
<value>1</value>
|
|
</equals>
|
|
<greater-than>
|
|
<property>controls/lighting/overhead-panel-norm</property>
|
|
<value>0.5</value>
|
|
</greater-than>
|
|
</and>
|
|
</or>
|
|
</condition>
|
|
</animation>
|
|
<animation>
|
|
<name>Panel lighting</name>
|
|
<type>material</type>
|
|
<object-name>MarkingLts</object-name>
|
|
<emission>
|
|
<red>1</red>
|
|
<green>1</green>
|
|
<blue>1</blue>
|
|
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
|
</emission>
|
|
</animation>
|
|
|
|
</PropertyList> |