131 lines
No EOL
2.9 KiB
XML
131 lines
No EOL
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
|
|
|
|
<PropertyList>
|
|
|
|
<path>res/SteepAppr.ac</path>
|
|
|
|
<!-- ANIMATIONS -->
|
|
|
|
<animation>
|
|
<type>select</type>
|
|
<object-name>SteepApprBtn2O</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>
|
|
|
|
<!-- Steep Approach -->
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>SteepApprBtn1</object-name>
|
|
<object-name>SteepApprBtn2</object-name>
|
|
<object-name>SteepApprBtn2O</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>options/steep-ils</property>
|
|
</binding>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>setprop("sim/sounde/oh-btn", 1);</script>
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>select</type>
|
|
<object-name>SteepApprBtn2O</object-name>
|
|
<condition>
|
|
<or>
|
|
<equals>
|
|
<property>options/steep-ils</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>
|
|
<condition>
|
|
<not>
|
|
<and>
|
|
<greater-than>
|
|
<property>sim/model/lights/dome-light</property>
|
|
<value>0</value>
|
|
</greater-than>
|
|
<less-than>
|
|
<property>controls/lighting/overhead-panel-norm</property>
|
|
<value>0.25</value>
|
|
</less-than>
|
|
</and>
|
|
</not>
|
|
</condition>
|
|
<emission>
|
|
<red>1</red>
|
|
<green>0.824</green>
|
|
<blue>0.518</blue>
|
|
<factor-prop>controls/lighting/overhead-panel-norm</factor-prop>
|
|
</emission>
|
|
</animation>
|
|
|
|
<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>
|
|
|
|
</PropertyList> |