<?xml version="1.0"?>

<!--Simple Tactical Display (ECM) -->

<PropertyList>

	<path>hsd-ecm.ac</path>

	<animation>
		<type>select</type>
		<object-name>tid</object-name>
		<condition>
			<equals>
				<property>sim/current-view/name</property>
				<value>Cockpit View</value>
			</equals>
			<equals>
				<property>sim/model/f-14b/controls/pilots-displays/hsd-mode-nav</property>
				<value>-1</value>
			</equals>
			<property>sim/model/f-14b/controls/HSD/on-off</property>
               <greater-than>
                  <property>/fdm/jsbsim/systems/electrics/ac-left-main-bus</property>
                  <value>0</value>
                </greater-than>
		</condition>
	</animation>

	<effect>
		<inherits-from>Aircraft/f-14b/Effects/model-transparent</inherits-from>
		<object-name>ecm-bkg</object-name>
		<object-name>MP13-scan</object-name>
		<object-name>MP12-scan</object-name>
		<object-name>MP11-scan</object-name>
		<object-name>MP10-scan</object-name>
		<object-name>MP9-scan</object-name>
		<object-name>MP8-scan</object-name>
		<object-name>MP7-scan</object-name>
		<object-name>MP6-scan</object-name>
		<object-name>MP5-scan</object-name>
		<object-name>MP4-scan</object-name>
		<object-name>MP3-scan</object-name>
		<object-name>MP2-scan</object-name>
		<object-name>MP1-scan</object-name>
	</effect>

	<animation>
		<type>rotate</type>
		<object-name>tid</object-name>
		<property>orientation/heading-magnetic-deg</property>
		<axis><x>1</x></axis>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP1-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[0]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP1-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[0]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP1-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP1-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[0]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP2-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[1]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP2-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[1]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP2-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP2-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[1]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP3-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[2]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP3-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[2]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP3-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP3-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[2]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP4-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[3]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP4-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[3]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP4-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP4-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[3]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP5-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[4]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP5-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[4]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP5-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP5-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[4]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP6-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[5]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP6-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[5]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP6-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP6-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[5]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP7-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[6]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP7-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[6]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP7-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP7-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[6]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP8-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[7]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP8-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[7]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP8-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP8-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[7]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP9-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[8]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP9-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[8]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP9-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP9-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[8]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP10-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[9]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP10-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[9]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP10-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP10-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[9]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP11-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[10]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP11-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[10]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP11-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP11-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[10]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP12-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[11]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP12-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[11]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP12-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP12-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[11]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>

	<animation>
		<type>select</type>
		<object-name>MP13-scan</object-name>
		<condition>
			<greater-than>
				<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[12]/ecm-signal</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP13-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[12]/bearing-deg</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MP13-scan</object-name>
		<property>orientation/local-mag-dev</property>
		<axis><x>-1</x></axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>MP13-scan</object-name>
		<property>sim/model/f-14b/instrumentation/radar-awg-9/targets/multiplayer[12]/ecm-signal</property>
		<x-factor>0</x-factor>
		<y-factor>0</y-factor>
		<z-factor>1</z-factor>
		<x-offset>1</x-offset>
		<y-offset>1</y-offset>
		<z-offset>0</z-offset>
	</animation>


	<!-- lighting -->
	<animation>
		<object-name>tid</object-name>
		<type>material</type>
		<emission>
			<factor-prop>sim/model/f-14b/controls/VDI/brightness</factor-prop>
			<red>0.0</red>
			<green>0.9</green>
			<blue>0.0</blue>
		</emission>
	</animation>


</PropertyList>
