<?xml version="1.0"?>

<PropertyList>

  <path>MiG-15bis-VertSpeedometer.ac</path> 

      <effect>
            <inherits-from>Effects/model-transparent</inherits-from>
            <object-name>VSI_Glass</object-name>
      </effect>

	<animation>
		<type>range</type>
		<min-m>0</min-m>
		<max-m>30</max-m>
	</animation>

	<animation>
		<type>material</type>
		<object-name>VSI_Needle</object-name>
		<object-name>VSI_Backplate</object-name>
  		<emission>
			<factor-prop>systems/electrical-real/volts-norm</factor-prop>
			<red>0.222</red>
			<green>0.212</green>
			<blue>0.212</blue>
		</emission>
	</animation>

<!--

	<animation>
		<type>material</type>
		<object-name>VSI_Needle</object-name>
		<object-name>VSI_Backplate</object-name>
		<object-name>VSI_Bezel</object-name>
  		<emission>
			<factor-prop>systems/light/canopy-lamps-norm</factor-prop>
			<red>0.777</red>
			<green>0.700</green>
			<blue>0.700</blue>
		</emission>
		<condition>
			<equals>
				<property>systems/light/use-canopy-lamps</property>
				<value>1</value>
			</equals>
		</condition>
	</animation>

-->

	<animation>
		<type>rotate</type>
		<object-name>VSI_Needle</object-name>
		<property>fdm/jsbsim/systems/vertspeedometer/indicated-speed-fps</property>
		<interpolation>
			<entry><ind>10000.0</ind><dep>180.0</dep></entry>
			<entry><ind>246.06</ind><dep>180.0</dep></entry>
			<entry><ind>98.42</ind><dep>90.0</dep></entry>
			<entry><ind>49.21</ind><dep>45.0</dep></entry>
			<entry><ind>0.0</ind><dep>0.0</dep></entry>
			<entry><ind>-49.21</ind><dep>-45.0</dep></entry>
			<entry><ind>-98.42</ind><dep>-90.0</dep></entry>
			<entry><ind>-246.06</ind><dep>-180.0</dep></entry>
			<entry><ind>-10000.0</ind><dep>-180.0</dep></entry>
		</interpolation>
		<center>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0</z-m>
		</center>  
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>

</PropertyList> 
