<?xml version="1.0" encoding="UTF-8" ?>

<!-- Bombardier CRJ700 series -->
<!-- Standby magnetic compass -->

<PropertyList>

	<path>compass.ac</path>

	<!-- non-emitting elements (for dome light animation) -->
	<animation>
		<name>CompassElements</name>
		<object-name>Airplane</object-name>
		<object-name>Case</object-name>
		<object-name>InnerCase</object-name>
		<object-name>Ring</object-name>
	</animation>

	<animation>
		<type>material</type>
		<object-name>Airplane</object-name>
		<object-name>Ring</object-name>
		<condition>
			<and>
				<greater-than-equals>
					<property>systems/DC/outputs/standby-instrument</property>
					<value>15</value>
				</greater-than-equals>
			</and>
		</condition>
		<emission>
			<red>0.6</red>
			<green>0.579</green>
			<blue>0.252</blue>
		</emission>
	</animation>

	<animation>
		<type>texrotate</type>
		<object-name>Ring</object-name>
		<property>instrumentation/magnetic-compass/indicated-heading-deg</property>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>-1</z>
		</axis>
		<center>
			<x>0.5</x>
			<y>0.5</y>
		</center>
	</animation>

</PropertyList>
