275 lines
7.5 KiB
XML
275 lines
7.5 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!--
|
|
############################################
|
|
# Copyright (c) Thorsten Herrmann (TH-555) #
|
|
############################################
|
|
-->
|
|
|
|
<PropertyList>
|
|
|
|
<path>res/DDRMI.ac</path>
|
|
|
|
<!-- heading and pointer -->
|
|
<animation>
|
|
<name>Heading rotate</name>
|
|
<type>rotate</type>
|
|
<object-name>ddrmi_hdg</object-name>
|
|
<property>instrumentation/ddrmi/heading</property>
|
|
<axis>
|
|
<object-name>ddrmi_hdg.axis</object-name>
|
|
</axis>
|
|
</animation>
|
|
|
|
<animation>
|
|
<name>VOR1 rotate</name>
|
|
<object-name>ddrmi_pointer_1</object-name>
|
|
<type>rotate</type>
|
|
<property>instrumentation/ddrmi/needle-1</property>
|
|
<axis>
|
|
<object-name>ddrmi_hdg.axis</object-name>
|
|
</axis>
|
|
</animation>
|
|
|
|
<animation>
|
|
<name>VOR2 rotate</name>
|
|
<object-name>ddrmi_pointer_2</object-name>
|
|
<type>rotate</type>
|
|
<property>instrumentation/ddrmi/needle-2</property>
|
|
<axis>
|
|
<object-name>ddrmi_hdg.axis</object-name>
|
|
</axis>
|
|
</animation>
|
|
|
|
<!-- Knobs -->
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>ddrmi_vor_adf_select_1</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable type="bool">false</repeatable>
|
|
<binding>
|
|
<command>property-cycle</command>
|
|
<property>instrumentation/ddrmi/vor-adf-1</property>
|
|
<value>0</value> <!-- OFF -->
|
|
<value>1</value> <!-- VOR -->
|
|
<value>-1</value> <!-- ADF -->
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable type="bool">false</repeatable>
|
|
<binding>
|
|
<command>property-cycle</command>
|
|
<property>instrumentation/ddrmi/vor-adf-1</property>
|
|
<value>-1</value> <!-- ADF -->
|
|
<value>1</value> <!-- VOR -->
|
|
<value>0</value> <!-- OFF -->
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<name>Knob 1 rotate</name>
|
|
<object-name>ddrmi_vor_adf_select_1</object-name>
|
|
<type>rotate</type>
|
|
<property>instrumentation/ddrmi/vor-adf-1</property>
|
|
<interpolation>
|
|
<entry><ind>-1</ind><dep>90</dep></entry>
|
|
<entry><ind> 0</ind><dep>45</dep></entry>
|
|
<entry><ind> 1</ind><dep> 0</dep></entry>
|
|
</interpolation>
|
|
<axis>
|
|
<object-name>ddrmi_vor_adf_select_1.axis</object-name>
|
|
</axis>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>pick</type>
|
|
<object-name>ddrmi_vor_adf_select_2</object-name>
|
|
<action>
|
|
<button>0</button>
|
|
<repeatable type="bool">false</repeatable>
|
|
<binding>
|
|
<command>property-cycle</command>
|
|
<property>instrumentation/ddrmi/vor-adf-2</property>
|
|
<value>0</value> <!-- OFF -->
|
|
<value>1</value> <!-- VOR -->
|
|
<value>-1</value> <!-- ADF -->
|
|
</binding>
|
|
</action>
|
|
<action>
|
|
<button>1</button>
|
|
<repeatable type="bool">false</repeatable>
|
|
<binding>
|
|
<command>property-cycle</command>
|
|
<property>instrumentation/ddrmi/vor-adf-2</property>
|
|
<value>-1</value> <!-- ADF -->
|
|
<value>1</value> <!-- VOR -->
|
|
<value>0</value> <!-- OFF -->
|
|
</binding>
|
|
</action>
|
|
</animation>
|
|
<animation>
|
|
<name>Knob 2 rotate</name>
|
|
<object-name>ddrmi_vor_adf_select_2</object-name>
|
|
<type>rotate</type>
|
|
<property>instrumentation/ddrmi/vor-adf-2</property>
|
|
<interpolation>
|
|
<entry><ind>-1</ind><dep>-90</dep></entry>
|
|
<entry><ind> 0</ind><dep>-45</dep></entry>
|
|
<entry><ind> 1</ind><dep> 0</dep></entry>
|
|
</interpolation>
|
|
<axis>
|
|
<object-name>ddrmi_vor_adf_select_2.axis</object-name>
|
|
</axis>
|
|
</animation>
|
|
|
|
<!-- Flags -->
|
|
|
|
<animation>
|
|
<name>Flag 1 rotate</name>
|
|
<object-name>ddrmi_vor_adf_flag_1</object-name>
|
|
<type>rotate</type>
|
|
<property>instrumentation/ddrmi/flag-1</property>
|
|
<interpolation>
|
|
<entry><ind>0</ind><dep>45</dep></entry>
|
|
<entry><ind>1</ind><dep> 0</dep></entry>
|
|
</interpolation>
|
|
<axis>
|
|
<object-name>ddrmi_vor_adf_flag_1.axis</object-name>
|
|
</axis>
|
|
</animation>
|
|
|
|
<animation>
|
|
<name>Flag 2 rotate</name>
|
|
<object-name>ddrmi_vor_adf_flag_2</object-name>
|
|
<type>rotate</type>
|
|
<property>instrumentation/ddrmi/flag-2</property>
|
|
<interpolation>
|
|
<entry><ind>0</ind><dep>-45</dep></entry>
|
|
<entry><ind>1</ind><dep> 0</dep></entry>
|
|
</interpolation>
|
|
<axis>
|
|
<object-name>ddrmi_vor_adf_flag_2.axis</object-name>
|
|
</axis>
|
|
</animation>
|
|
|
|
<!-- Lighting -->
|
|
<animation>
|
|
<name>DDRMI inside illumination</name>
|
|
<type>material</type>
|
|
<object-name>ddrmi_pointer_1</object-name>
|
|
<object-name>ddrmi_pointer_2</object-name>
|
|
<object-name>ddrmi_inside</object-name>
|
|
<object-name>ddrmi_pointer_1_vor</object-name>
|
|
<object-name>ddrmi_pointer_1_adf</object-name>
|
|
<object-name>ddrmi_pointer_2_vor</object-name>
|
|
<object-name>ddrmi_pointer_2_adf</object-name>
|
|
<object-name>ddrmi_vor_adf_flag_1</object-name>
|
|
<object-name>ddrmi_vor_adf_flag_2</object-name>
|
|
<object-name>ddrmi_hdg</object-name>
|
|
<!-- <emission>
|
|
<red>0.50</red>
|
|
<green>0.35</green>
|
|
<blue>0.2</blue>
|
|
<factor-prop>controls/lighting/main-panel-norm</factor-prop>
|
|
</emission> -->
|
|
<condition>
|
|
<not>
|
|
<and>
|
|
<greater-than>
|
|
<property>sim/model/lights/dome-light</property>
|
|
<value>0</value>
|
|
</greater-than>
|
|
<less-than>
|
|
<property>controls/lighting/main-panel-norm</property>
|
|
<value>0.25</value>
|
|
</less-than>
|
|
</and>
|
|
</not>
|
|
</condition>
|
|
<emission>
|
|
<red>0.50</red>
|
|
<green>0.35</green>
|
|
<blue>0.2</blue>
|
|
<factor-prop>controls/lighting/main-panel-norm</factor-prop>
|
|
</emission>
|
|
</animation>
|
|
|
|
<animation>
|
|
<name>Panel lighting (dome)</name>
|
|
<type>material</type>
|
|
<object-name>ddrmi_dme1_screen</object-name>
|
|
<object-name>ddrmi_dme2_screen</object-name>
|
|
<object-name>ddrmi_pointer_1</object-name>
|
|
<object-name>ddrmi_pointer_2</object-name>
|
|
<object-name>ddrmi_inside</object-name>
|
|
<object-name>ddrmi_pointer_1_vor</object-name>
|
|
<object-name>ddrmi_pointer_1_adf</object-name>
|
|
<object-name>ddrmi_pointer_2_vor</object-name>
|
|
<object-name>ddrmi_pointer_2_adf</object-name>
|
|
<object-name>ddrmi_vor_adf_flag_1</object-name>
|
|
<object-name>ddrmi_vor_adf_flag_2</object-name>
|
|
<object-name>ddrmi_hdg</object-name>
|
|
<!-- <emission>
|
|
<red>0.3</red>
|
|
<green>0.3</green>
|
|
<blue>0.3</blue>
|
|
<factor-prop>sim/model/lights/dome-light</factor-prop>
|
|
</emission> -->
|
|
<condition>
|
|
<and>
|
|
<not>
|
|
<greater-than>
|
|
<property>controls/lighting/main-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>
|
|
|
|
<animation>
|
|
<name>DDRMI body lighting</name>
|
|
<type>material</type>
|
|
<object-name>ddrmi_body</object-name>
|
|
<object-name>ddrmi_vor_adf_select_1</object-name>
|
|
<object-name>ddrmi_vor_adf_select_2</object-name>
|
|
<emission>
|
|
<red>0.2</red>
|
|
<green>0.2</green>
|
|
<blue>0.2</blue>
|
|
<factor-prop>sim/model/lights/dome-light</factor-prop>
|
|
</emission>
|
|
</animation>
|
|
|
|
<effect>
|
|
<inherits-from>Aircraft/A320-family/Models/Effects/ddrmi</inherits-from>
|
|
<object-name>ddrmi_body</object-name>
|
|
<object-name>ddrmi_vor_adf_select_1</object-name>
|
|
<object-name>ddrmi_vor_adf_select_2</object-name>
|
|
<object-name>ddrmi_pointer_1</object-name>
|
|
<object-name>ddrmi_pointer_2</object-name>
|
|
<object-name>ddrmi_inside</object-name>
|
|
<object-name>ddrmi_vor_adf_flag_1</object-name>
|
|
<object-name>ddrmi_vor_adf_flag_2</object-name>
|
|
</effect>
|
|
|
|
<effect>
|
|
<inherits-from>Aircraft/A320-family/Models/Effects/cockpit-irradiance</inherits-from>
|
|
<object-name>ddrmi_inside</object-name>
|
|
<object-name>ddrmi_vor_adf_flag_1</object-name>
|
|
<object-name>ddrmi_vor_adf_flag_2</object-name>
|
|
</effect>
|
|
|
|
</PropertyList>
|