<?xml version="1.0"?>



<PropertyList>
	<path>A-10-nav-mode-selector.ac</path>

	<!-- HARS, VLOCS, TILS, NAV CRS, MAN, ILS, TCN switches/indicators state -->

	<animation>
		<type>select</type>
		<object-name>index-hars</object-name>
		<condition>
			<equals>
				<property>sim/model/A-10/A-10-nav/selector-hars</property>
				<value>1</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>index-vlocs</object-name>
		<condition>
			<equals>
				<property>sim/model/A-10/A-10-nav/selector-vlocs</property>
				<value>1</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>index-tils</object-name>
		<condition>
			<equals>
				<property>sim/model/A-10/A-10-nav/selector-tils</property>
				<value>1</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>index-nav_crs</object-name>
		<condition>
			<equals>
				<property>sim/model/A-10/A-10-nav/selector-nav_crs</property>
				<value>1</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>index-man</object-name>
		<condition>
			<equals>
				<property>sim/model/A-10/A-10-nav/selector-man</property>
				<value>1</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>index-ils</object-name>
		<condition>
			<equals>
				<property>sim/model/A-10/A-10-nav/selector-ils</property>
				<value>1</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>index-tcn</object-name>
		<condition>
			<equals>
				<property>instrumentation/tacan/switch-position</property>
				<value>1</value>
			</equals>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>homing-light-fm-on</object-name>
		<condition>
			<greater-than>
				<property>systems/electrical/outputs/nav-mode</property>
				<value>24</value>
			</greater-than>
			<equals>
				<property>sim/model/A-10/instrumentation/vhf/mode</property>
				<value>2</value>
			</equals>
			<greater-than>
				<property>sim/model/A-10/instrumentation/vhf/selector</property>
				<value>2</value>
			</greater-than>
		</condition>
	</animation>

	<animation>
		<type>select</type>
		<object-name>homing-light-fm-off</object-name>
		<condition>
			<or>
				<less-than>
					<property>systems/electrical/outputs/nav-mode</property>
					<value>24</value>
				</less-than>
				<not>
					<equals>
						<property>sim/model/A-10/instrumentation/vhf/mode</property>
						<value>2</value>
					</equals>
				</not>
				<less-than>
					<property>sim/model/A-10/instrumentation/vhf/selector</property>
					<value>3</value>
				</less-than>
			</or>
		</condition>
	</animation>

	<!-- PTR switch  -->

	<animation>
		<object-name>ptr-switch</object-name>
		<type>rotate</type>
		<property>sim/model/A-10/A-10-nav/selector-ptr</property>
		<interpolation>
			<entry><ind>0</ind><dep>-30</dep></entry>
			<entry><ind>1</ind><dep>30</dep></entry>
		</interpolation>
		<center>
			<x-m>0.0</x-m>
			<y-m>-0.0110</y-m>
			<z-m>0.0078</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>


	<!-- lighting -->

	<animation>
		<object-name>mount</object-name> 
		<type>material</type>
		<emission> 
			<factor-prop>controls/lighting/panel-norm</factor-prop>
			<red>0.49</red>
			<green>0.35</green>
			<blue>0.25</blue>
		</emission>
	</animation>

	<animation>
		<object-name>homing-light-fm-on</object-name> 
		<type>material</type>
		<emission> 
			<red>0.80</red>
			<green>0.80</green>
			<blue>0.80</blue>
		</emission>
	</animation>

	<animation>
		<object-name>homing-light-uhf-on</object-name> 
		<type>material</type>
		<emission> 
			<red>0.80</red>
			<green>0.80</green>
			<blue>0.80</blue>
		</emission>
	</animation>

	<animation>
		<object-name>ptr-switch</object-name> 
		<type>material</type>
		<emission> 
			<factor-prop>controls/lighting/panel-norm</factor-prop>
			<red>0.49</red>
			<green>0.35</green>
			<blue>0.25</blue>
		</emission>
	</animation>

	<animation>
		<object-name>index-hars</object-name> 
		<type>material</type>
		<emission> 
			<factor-prop>controls/lighting/panel-norm</factor-prop>
			<red>0.49</red>
			<green>0.35</green>
			<blue>0.25</blue>
		</emission>
	</animation>

	<animation>
		<object-name>index-vlocs</object-name> 
		<type>material</type>
		<emission> 
			<factor-prop>controls/lighting/panel-norm</factor-prop>
			<red>0.49</red>
			<green>0.35</green>
			<blue>0.25</blue>
		</emission>
	</animation>

	<animation>
		<object-name>index-tils</object-name> 
		<type>material</type>
		<emission> 
			<factor-prop>controls/lighting/panel-norm</factor-prop>
			<red>0.49</red>
			<green>0.35</green>
			<blue>0.25</blue>
		</emission>
	</animation>

	<animation>
		<object-name>index-nav_crs</object-name> 
		<type>material</type>
		<emission> 
			<factor-prop>controls/lighting/panel-norm</factor-prop>
			<red>0.49</red>
			<green>0.35</green>
			<blue>0.25</blue>
		</emission>
	</animation>

	<animation>
		<object-name>index-man</object-name> 
		<type>material</type>
		<emission> 
			<factor-prop>controls/lighting/panel-norm</factor-prop>
			<red>0.49</red>
			<green>0.35</green>
			<blue>0.25</blue>
		</emission>
	</animation>

	<animation>
		<object-name>index-ils</object-name> 
		<type>material</type>
		<emission> 
			<factor-prop>controls/lighting/panel-norm</factor-prop>
			<red>0.49</red>
			<green>0.35</green>
			<blue>0.25</blue>
		</emission>
	</animation>

	<animation>
		<object-name>index-tcn</object-name> 
		<type>material</type>
		<emission> 
			<factor-prop>controls/lighting/panel-norm</factor-prop>
			<red>0.49</red>
			<green>0.35</green>
			<blue>0.25</blue>
		</emission>
	</animation>


	<animation>
		<object-name>nav-mode-selector</object-name>
		<type>noshadow</type>
	</animation>

</PropertyList>
