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

209 lines
5.6 KiB
XML
Raw Normal View History

2018-10-17 19:06:33 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<!--
############################################
# Copyright (c) Thorsten Herrmann (TH-555) #
############################################
-->
<PropertyList>
2018-10-18 01:07:56 +00:00
2018-10-17 19:06:33 +00:00
<path>res/DDRMI.ac</path>
2018-10-18 01:07:56 +00:00
2018-10-17 19:06:33 +00:00
<!-- 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>
2018-10-18 01:07:56 +00:00
<factor-prop>controls/lighting/main-panel-norm</factor-prop>
2018-10-17 19:06:33 +00:00
</emission>
</animation>
2018-10-18 01:07:56 +00:00
2018-10-17 19:06:33 +00:00
<!-- heading and pointer -->
<animation>
<name>Heading rotate</name>
<type>rotate</type>
<object-name>ddrmi_hdg</object-name>
2018-10-18 01:07:56 +00:00
<property>instrumentation/ddrmi/heading</property>
2018-10-17 19:06:33 +00:00
<axis>
<object-name>ddrmi_hdg.axis</object-name>
</axis>
</animation>
2018-10-18 01:07:56 +00:00
2018-10-17 19:06:33 +00:00
<animation>
<name>VOR1 rotate</name>
2018-10-18 01:07:56 +00:00
<object-name>ddrmi_pointer_1</object-name>
2018-10-17 19:06:33 +00:00
<type>rotate</type>
2018-10-18 01:07:56 +00:00
<property>instrumentation/ddrmi/needle-1</property>
2018-10-17 19:06:33 +00:00
<axis>
<object-name>ddrmi_hdg.axis</object-name>
</axis>
</animation>
2018-10-18 01:07:56 +00:00
2018-10-17 19:06:33 +00:00
<animation>
<name>VOR2 rotate</name>
2018-10-18 01:07:56 +00:00
<object-name>ddrmi_pointer_2</object-name>
2018-10-17 19:06:33 +00:00
<type>rotate</type>
2018-10-18 01:07:56 +00:00
<property>instrumentation/ddrmi/needle-2</property>
2018-10-17 19:06:33 +00:00
<axis>
<object-name>ddrmi_hdg.axis</object-name>
</axis>
</animation>
2018-10-18 01:07:56 +00:00
<!-- Knobs -->
2018-10-17 19:06:33 +00:00
<animation>
2018-10-18 01:07:56 +00:00
<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>
2018-10-17 19:06:33 +00:00
</animation>
<animation>
<name>Knob 1 rotate</name>
<object-name>ddrmi_vor_adf_select_1</object-name>
<type>rotate</type>
2018-10-18 01:07:56 +00:00
<property>instrumentation/ddrmi/vor-adf-1</property>
2018-10-17 19:06:33 +00:00
<interpolation>
2018-10-18 01:07:56 +00:00
<entry><ind>-1</ind><dep>90</dep></entry>
<entry><ind> 0</ind><dep>45</dep></entry>
<entry><ind> 1</ind><dep> 0</dep></entry>
2018-10-17 19:06:33 +00:00
</interpolation>
<axis>
<object-name>ddrmi_vor_adf_select_1.axis</object-name>
</axis>
</animation>
2018-10-18 01:07:56 +00:00
<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>
2018-10-17 19:06:33 +00:00
<animation>
<name>Knob 2 rotate</name>
<object-name>ddrmi_vor_adf_select_2</object-name>
<type>rotate</type>
2018-10-18 01:07:56 +00:00
<property>instrumentation/ddrmi/vor-adf-2</property>
2018-10-17 19:06:33 +00:00
<interpolation>
2018-10-18 01:07:56 +00:00
<entry><ind>-1</ind><dep>-90</dep></entry>
<entry><ind> 0</ind><dep>-45</dep></entry>
<entry><ind> 1</ind><dep> 0</dep></entry>
2018-10-17 19:06:33 +00:00
</interpolation>
<axis>
<object-name>ddrmi_vor_adf_select_2.axis</object-name>
</axis>
</animation>
2018-10-18 01:07:56 +00:00
2018-10-17 19:06:33 +00:00
<!-- Flags -->
2018-10-18 01:07:56 +00:00
2018-10-17 19:06:33 +00:00
<animation>
2018-10-18 01:07:56 +00:00
<name>Flag 1 rotate</name>
2018-10-17 19:06:33 +00:00
<object-name>ddrmi_vor_adf_flag_1</object-name>
2018-10-18 01:07:56 +00:00
<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>
2018-10-17 19:06:33 +00:00
</animation>
2018-10-18 01:07:56 +00:00
2018-10-17 19:06:33 +00:00
<animation>
2018-10-18 01:07:56 +00:00
<name>Flag 2 rotate</name>
2018-10-17 19:06:33 +00:00
<object-name>ddrmi_vor_adf_flag_2</object-name>
2018-10-18 01:07:56 +00:00
<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>
2018-10-17 19:06:33 +00:00
</animation>
<animation>
<name>Panel lighting</name>
<type>material</type>
<object-name>ddrmi_body</object-name>
<object-name>ddrmi_inside</object-name>
<object-name>ddrmi_vor_adf_select_1</object-name>
<object-name>ddrmi_vor_adf_select_2</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>
2018-11-20 14:48:29 +00:00
<inherits-from>Aircraft/IDG-A32X/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>
2018-11-20 14:48:29 +00:00
<object-name>ddrmi_pointer_1</object-name>
<object-name>ddrmi_pointer_2</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/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>
2018-10-17 19:06:33 +00:00
</PropertyList>