<?xml version="1.0"?>

<PropertyList>

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

      <effect>
            <inherits-from>Effects/model-transparent</inherits-from>
            <object-name>FM_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>FM_Needle</object-name>
		<object-name>FM_Backplate</object-name>
		<object-name>FM_Foreplate</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>FM_Needle</object-name>
		<object-name>FM_Backplate</object-name>
		<object-name>FM_Foreplare</object-name>
		<object-name>FM_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>FM_Needle</object-name>
    <property>instrumentation/fuelometer/fuel-level-litres</property>
    <interpolation>
      <entry><ind>   0 </ind><dep>  -15 </dep></entry>
      <entry><ind>   5 </ind><dep>  5 </dep></entry>
      <entry><ind>  331 </ind><dep> 45 </dep></entry>
      <entry><ind>  662 </ind><dep> 90 </dep></entry>
      <entry><ind> 1324 </ind><dep> 180 </dep></entry>
    </interpolation>
    <center>
      <x-m>0</x-m>
      <y-m>0</y-m>
      <z-m>-0.01</z-m>
    </center>  
    <axis>
      <x>-1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>

</PropertyList> 
