<?xml version="1.0"?>

<PropertyList>

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

      <effect>
            <inherits-from>Effects/model-transparent</inherits-from>
            <object-name>GPM_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>GPM_Needle</object-name>
		<object-name>GPM_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>
		<condition>
			<not><equals>
				<property>systems/light/use-canopy-lamps</property>
				<value>1</value>
			</equals></not>
		</condition>
	</animation>

<!--

	<animation>
		<type>material</type>
		<object-name>GPM_Needle</object-name>
		<object-name>GPM_Backplate</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>GPM_Needle</object-name>
		<property>instrumentation/gear-pressure-indicator/indicated-pressure-norm</property>
		<interpolation>
			<entry><ind>0.0</ind><dep>60.0</dep></entry>
			<entry><ind>1.0</ind><dep>300.0</dep></entry>
		</interpolation>
		<center>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0</z-m>
			</center>  
		<axis>
			<x>0</x>
			<y>0</y>
			<z>-1</z>
		</axis>
	</animation>

</PropertyList> 
