1
0
Fork 0
fgdata/Aircraft/c172p/Instruments/BatteryGauge/BatteryGauge.xml
ThorstenB 6760eae7b7 c172p: fix battery gauge scaling
(Preflight check - anyone? ;-) )
Also support "omit-knobs" property for HDG instrument knob
2011-10-08 11:48:01 +02:00

65 lines
1.4 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>BatteryGauge.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>PtrTipL</object-name>
<object-name>PtrTipR</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>PtrL</object-name>
<object-name>PtrTipL</object-name>
<property>systems/electrical/amps</property>
<interpolation>
<entry><ind>-40</ind><dep>-30</dep></entry>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>40</ind><dep>33</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>-0.02</y-m>
<z-m>0</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>PtrR</object-name>
<object-name>PtrTipR</object-name>
<property>systems/electrical/volts</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>20</ind><dep>27</dep></entry>
<entry><ind>30</ind><dep>55</dep></entry>
<entry><ind>40</ind><dep>85</dep></entry>
</interpolation>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0.02</y-m>
<z-m>0</z-m>
</center>
</animation>
</PropertyList>