This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Models/Instruments/DDRMI/DDRMI.xml
2018-10-17 21:07:56 -04:00

177 lines
4.7 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>
</PropertyList>