<?xml version="1.0"?>

<!-- Copyright (c) 2010 Gary R. Neely (Buckaroo) -->
<!-- Copyright (c) 2026 Josh Davidson (Octal450) -->

<PropertyList>
	
	<path>stbyalt.ac</path>
	
	<animation>
		<type>scale</type>
		<x-offset>0.95</x-offset>
		<y-offset>0.95</y-offset>
		<z-offset>0.95</z-offset>
	</animation>

	<animation>
		<type>material</type>
		<object-name>LightingGroup</object-name>
		<emission>
			<red>1.0</red>
			<green>0.6</green>
			<blue>0.3</blue>
			<factor-prop>systems/lighting/center-panel</factor-prop>
		</emission>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>AltNeedle</object-name>
		<property>instrumentation/stby-alt/altitude-ft</property>
		<factor>0.36</factor>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
	
	<animation>
		<type>textranslate</type>
		<object-name>alt1</object-name>
		<property>instrumentation/stby-alt/altitude-ft</property>
		<factor>0.00001</factor>
		<step>10000</step>
		<scroll>50</scroll>
		<axis>
			<x>0</x>
			<y>1</y>
		</axis>
	</animation>
	
	<animation>
		<type>textranslate</type>
		<object-name>alt2</object-name>
		<property>instrumentation/stby-alt/altitude-ft</property>
		<factor>0.0001</factor>
		<step>1000</step>
		<scroll>50</scroll>
		<axis>
			<x>0</x>
			<y>1</y>
		</axis>
	</animation>
	
	<animation>
		<type>textranslate</type>
		<object-name>alt3</object-name>
		<property>instrumentation/stby-alt/altitude-ft</property>
		<factor>0.001</factor>
		<axis>
			<x>0</x>
			<y>1</y>
		</axis>
	</animation>
	
	<animation>
		<type>textranslate</type>
		<object-name>inhg01</object-name>
		<property>instrumentation/stby-alt/setting-inhg-text</property>
		<factor>0.0001</factor>
		<step>1000</step>
		<scroll>1</scroll>
		<axis>
			<x>0</x>
			<y>1</y>
		</axis>
	</animation>
	
	<animation>
		<type>textranslate</type>
		<object-name>inhg02</object-name>
		<property>instrumentation/stby-alt/setting-inhg-text</property>
		<factor>0.001</factor>
		<step>100</step>
		<scroll>1</scroll>
		<axis>
			<x>0</x>
			<y>1</y>
		</axis>
	</animation>
	
	<animation>
		<type>textranslate</type>
		<object-name>inhg03</object-name>
		<property>instrumentation/stby-alt/setting-inhg-text</property>
		<factor>0.01</factor>
		<step>10</step>
		<scroll>1</scroll>
		<axis>
			<x>0</x>
			<y>1</y>
		</axis>
	</animation>
	
	<animation>
		<type>textranslate</type>
		<object-name>inhg04</object-name>
		<property>instrumentation/stby-alt/setting-inhg-text</property>
		<factor>0.1</factor>
		<step>1</step>
		<scroll>1</scroll>
		<axis>
			<x>0</x>
			<y>1</y>
		</axis>
	</animation>
	
	<animation>
		<type>textranslate</type>
		<object-name>mb01</object-name>
		<property>instrumentation/stby-alt/setting-hpa-text</property>
		<factor>0.0001</factor>
		<step>1000</step>
		<scroll>1</scroll>
		<axis>
			<x>0</x>
			<y>1</y>
		</axis>
	</animation>

	<animation>
		<type>textranslate</type>
		<object-name>mb02</object-name>
		<property>instrumentation/stby-alt/setting-hpa-text</property>
		<factor>0.001</factor>
		<step>100</step>
		<scroll>1</scroll>
		<axis>
			<x>0</x>
			<y>1</y>
		</axis>
	</animation>

	<animation>
		<type>textranslate</type>
		<object-name>mb03</object-name>
		<property>instrumentation/stby-alt/setting-hpa-text</property>
		<factor>0.01</factor>
		<step>10</step>
		<scroll>1</scroll>
		<axis>
			<x>0</x>
			<y>1</y>
		</axis>
	</animation>

	<animation>
		<type>textranslate</type>
		<object-name>mb04</object-name>
		<property>instrumentation/stby-alt/setting-hpa-text</property>
		<factor>0.1</factor>
		<step>1</step>
		<scroll>1</scroll>
		<axis>
			<x>0</x>
			<y>1</y>
		</axis>
	</animation>
	
	<animation>
		<type>knob</type>
		<object-name>BaroKnob</object-name>
		<property>controls/cockpit/baro-rotate[2]</property>
		<factor>11.25</factor>
		<center>
			<x-m>0</x-m>
			<y-m>0.03169</y-m>
			<z-m>-0.03154</z-m>
		</center>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
		<action>
			<binding>
				<command>property-adjust</command>
				<property>instrumentation/altimeter/setting-inhg</property>
				<factor>0.01</factor>
				<min>26</min>
				<max>33</max>
				<wrap>false</wrap>
			</binding>
			<binding>
				<command>property-adjust</command>
				<property>controls/cockpit/baro-rotate[2]</property>
				<factor>1</factor>
				<min>0</min>
				<max>100000</max>
				<wrap>true</wrap>
			</binding>
		</action>
	</animation>

</PropertyList>
