1
0
Fork 0
fgdata/Aircraft/Instruments/rpm.xml

93 lines
No EOL
2 KiB
XML

<?xml version="1.0"?>
<!--
rpm.xml
RPM indicator from C172-S
Martin Dressler dr@musicabona.cz
Jan 30 2003
-->
<PropertyList>
<name>C172-S RPM Gauge</name>
<w-base>512</w-base>
<h-base>512</h-base>
<params>
<rpm-select>/engines/engine[0]/rpm</rpm-select>
</params>
<layers>
<layer>
<name>Backplate</name>
<w>512</w>
<h>512</h>
<texture>
<path>Aircraft/Instruments/Textures/rpm1.rgb</path>
<x1>0.0</x1>
<x2>1.0</x2>
<y1>0.0</y1>
<y2>1.0</y2>
</texture>
</layer>
<layer>
<name>Needle</name>
<w>264</w>
<h>56</h>
<texture>
<path>Aircraft/Instruments/Textures/misc2.rgb</path>
<x1>0.0</x1>
<x2>0.515625</x2>
<y1>0.890625</y1>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/rpm-select"/>
<offset>90</offset>
<min>0.0</min>
<max>3500.0</max>
<scale>1.0</scale>
<interpolation>
<entry><ind> 0.0</ind><dep>-128.6 </dep></entry>
<entry><ind> 0.1</ind><dep>-123.85</dep></entry>
<entry><ind> 500.0</ind><dep> -92.85</dep></entry>
<entry><ind> 1000.0</ind><dep> -57.1 </dep></entry>
<entry><ind> 1500.0</ind><dep> -21.1 </dep></entry>
<entry><ind> 2000.0</ind><dep> 15.4 </dep></entry>
<entry><ind> 2500.0</ind><dep> 51.4 </dep></entry>
<entry><ind> 3000.0</ind><dep> 87.4 </dep></entry>
<entry><ind> 3500.0</ind><dep> 123.4 </dep></entry>
</interpolation>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-49</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Needle center</name>
<w>24</w>
<h>24</h>
<texture>
<path>Aircraft/Instruments/Textures/misc2.rgb</path>
<x1>0.171875</x1>
<x2>0.21875</x2>
<y1>0.6484375</y1>
<y2>0.6953125</y2>
</texture>
</layer>
</layers>
</PropertyList>