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

<PropertyList>
	
	<path>stec30.ac</path>
	
	<animation>
		<type>noshadow</type>
		<object-name>glass</object-name>
	</animation>
	
	<effect>
		<inherits-from>Models/Effects/interior/instrument-glass</inherits-from>
		<object-name>glass</object-name>
	</effect>
	
	<animation>
		<type>material</type>
		<object-name>gauge</object-name>
		<object-name>airplane.symbol</object-name>
		<condition>
			<not><property>sim/rendering/rembrandt/enabled</property></not>
		</condition>
		<emission>
			<red>   0.07 </red>
			<green> 0.04 </green>
			<blue>  0.04 </blue>
			<factor-prop>systems/electrical/outputs/panel-light[2]</factor-prop>
		</emission>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>airplane.symbol</object-name>
		<property>/instrumentation/turn-indicator/indicated-turn-rate</property>
		<factor>14.0</factor>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
		<center>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0</z-m>
		</center>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>ball</object-name>
		<property>/instrumentation/slip-skid-ball/indicated-slip-skid</property>
		<factor>21</factor>
		<min-deg> -19 </min-deg>
		<max-deg>  19 </max-deg>
		<axis>
			<x>-1.0</x>
			<y>0.0</y>
			<z>0.0</z>
		</axis>
		<center>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0.036</z-m>
		</center>
	</animation>
	
	
	<!-- TEXT OSG -->
	<text>
		<name>textosg</name>
		<type type="string">literal</type>
		<text type="string">S-TEC 30 Autopilot / Turn and Bank</text>
		<draw-text type="bool">true</draw-text>
		<font>Helvetica.txf</font>
		<character-size type="double">0.014</character-size>
		<character-aspect-ratio type="double">1.0</character-aspect-ratio>
		<axis-alignment>yz-plane</axis-alignment>
		<max-height>0.06</max-height>
		<max-width>0.08</max-width>
		<font-resolution>
			<width type="int">64</width>
			<height type="int">64</height>
		</font-resolution>
		<alignment>center-center</alignment>
		<offsets>
			<x-m>  0.005 </x-m>
			<y-m>  0.000 </y-m>
			<z-m>  0.000 </z-m>
		</offsets>
	</text>
	
	<animation>
		<type>material</type>
		<object-name>textosg</object-name>
		<emission>
			<red>   0.8 </red>
			<green> 0.8 </green>
			<blue>  0.0 </blue>
		</emission>
	</animation>
	
	<animation>
		<type>select</type>
		<object-name>textosg</object-name>
		<condition>
			<property>sim/panel-hotspots</property>
		</condition>
	</animation>
	
	<!--Autopilot-->
	<!--Annunciator Lights-->
	<animation>
		<type>material</type>
		<object-name>ALT.light</object-name>
		<diffuse>
			<red>   0.15 </red>
			<green> 0.15 </green>
			<blue>  1 </blue>
			<factor-prop>stec30/annun/alt</factor-prop>
		</diffuse>
		<ambient>
			<red>   0.15 </red>
			<green> 0.15 </green>
			<blue>  1 </blue>
			<factor-prop>stec30/annun/alt</factor-prop>
		</ambient>
		<emission>
			<red>   0.15 </red>
			<green> 0.15 </green>
			<blue>  1 </blue>
			<factor-prop>stec30/annun/alt</factor-prop>
		</emission>
	</animation>
	<animation>
		<type>material</type>
		<object-name>RDY.light</object-name>
		<diffuse>
			<red>   0.15 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/rdy</factor-prop>
		</diffuse>
		<ambient>
			<red>   0.15 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/rdy</factor-prop>
		</ambient>
		<emission>
			<red>   0.15 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/rdy</factor-prop>
		</emission>
	</animation>
	<animation>
		<type>material</type>
		<object-name>ST.light</object-name>
		<diffuse>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/st</factor-prop>
		</diffuse>
		<ambient>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/st</factor-prop>
		</ambient>
		<emission>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/st</factor-prop>
		</emission>
	</animation>
	<animation>
		<type>material</type>
		<object-name>HD.light</object-name>
		<diffuse>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/hd</factor-prop>
		</diffuse>
		<ambient>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/hd</factor-prop>
		</ambient>
		<emission>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/hd</factor-prop>
		</emission>
	</animation>
	<animation>
		<type>material</type>
		<object-name>LO.light</object-name>
		<diffuse>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/lo</factor-prop>
		</diffuse>
		<ambient>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/lo</factor-prop>
		</ambient>
		<emission>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/lo</factor-prop>
		</emission>
	</animation>
	<animation>
		<type>material</type>
		<object-name>HI.light</object-name>
		<diffuse>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/hi</factor-prop>
		</diffuse>
		<ambient>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/hi</factor-prop>
		</ambient>
		<emission>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/hi</factor-prop>
		</emission>
	</animation>
	<animation>
		<type>material</type>
		<object-name>UP.light</object-name>
		<diffuse>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/up</factor-prop>
		</diffuse>
		<ambient>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/up</factor-prop>
		</ambient>
		<emission>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/up</factor-prop>
		</emission>
	</animation>
	<animation>
		<type>material</type>
		<object-name>DN.light</object-name>
		<diffuse>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/dn</factor-prop>
		</diffuse>
		<ambient>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/dn</factor-prop>
		</ambient>
		<emission>
			<red>   1 </red>
			<green> 1 </green>
			<blue>  0.15 </blue>
			<factor-prop>stec30/annun/dn</factor-prop>
		</emission>
	</animation>
	
	<animation>
		<type>pick</type>
		<object-name>knob</object-name>
		<action>
			<button>0</button>
			<binding>
				<command>nasal</command>
				<script>stec30.button.MODE();</script>
			</binding>
			<binding>
				<command>property-toggle</command>
				<property>stec30/input/mode-btn</property>
			</binding>
			<mod-up>
				<binding>
					<command>property-toggle</command>
					<property>stec30/input/mode-btn</property>
				</binding>
			</mod-up>
		</action>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>knob</object-name>
		<property>stec30/input/mode-btn</property>
		<factor>-0.0012</factor>
		<axis>
			<x>1</x>
		</axis>
	</animation>
	
</PropertyList>
