1
0
Fork 0
A320-family/Models/Instruments/DDRMI/DDRMI.xml
2019-10-14 12:48:35 -04:00

217 lines
6.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!--
############################################
# Copyright (c) Thorsten Herrmann (TH-555) #
############################################
-->
<PropertyList>
<path>res/DDRMI.ac</path>
<!-- Lighting -->
<animation>
<name>DDRMI inside illumination</name>
<type>material</type>
<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>
</animation>
<!-- 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>
<animation>
<name>Panel 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>
<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>
</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>
</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>