Debian Codegraph @

Aircraft/Instruments/asi-160-knot.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Improved airspeed indicator instrument.
5 Apr 27 2001
6 Martin Dressler [email protected]
7 airspeed indicator instrument from C172RG
8 GPL
9 _______________________________________________________________________________
10
11 Based on Default by David Megginson, [email protected].
12
13 This is an instrument configuration file for the open-source flight
14 simulator FlightGear (www.flightgear.org). The file is an XML-encoded
15 FlightGear property list defining the instrument's layers and actions.
16
17 Each instrument is composed of layers stacked on top of each other.
18 A layer may be a texture (with transparent parts to show the layers
19 underneath), text, or a special layer that switches between two
20 others (say, to turn an indicator light on or off). Each layer can
21 move independently in proportion to a property value, and text
22 can be generated from property values as well: all of the layer's
23 movements are defined as transformations.
24
25 Actions are hotspots on the instrument that will respond to a mouse
26 click. Actions always modify the values of properties, either by
27 adjusting them, toggling them, or swaping them with other
28 properties' values.
29 -->
30
31 <PropertyList>
32
33 <name>C172RG Airspeed Indicator</name>
34
35 <w-base>128</w-base>
36 <h-base>128</h-base>
37
38 <layers>
39 <layer>
40 <name>gauge face</name>
41 <texture>
42 <path>Aircraft/Instruments/Textures/airspeed-160-knot.rgb</path>
43 <x1>0.5</x1>
44 <y1>0.5</y1>
45 <x2>1.0</x2>
46 <y2>1.0</y2>
47 </texture>
48 <w>126</w>
49 <h>126</h>
50 </layer>
51 <!--
52 <layer>
53 <name>numbers under hub</name>
54 <texture>
55 <path>Aircraft/Instruments/Textures/airspeed-160-knot.rgb</path>
56 <x1>0.171875</x1>
57 <x2>0.328125</x2>
58 <y1>0.1640625</y1>
59 <y2>0.3203125</y2>
60 </texture>
61 <w>19</w>
62 <h>19</h>
63 </layer>
64 -->
65 <layer>
66 <name>needle</name>
67 <texture>
68 <path>Aircraft/Instruments/Textures/airspeed-160-knot.rgb</path>
69 <x1>0.69921875</x1>
70 <x2>0.84765625</x2>
71 <y1>0.15625</y1>
72 <y2>0.5</y2>
73 </texture>
74 <w>19</w>
75 <h>44</h>
76 <transformations>
77 <transformation>
78 <type>rotation</type>
79 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
80 <min>10.0</min>
81 <max>190.0</max>
82 <scale>1.0</scale>
83 <interpolation>
84 <entry><ind> 10</ind><dep> 3</dep></entry>
85 <entry><ind> 40</ind><dep> 38</dep></entry>
86 <entry><ind> 60</ind><dep> 85</dep></entry>
87 <entry><ind> 80</ind><dep> 146</dep></entry>
88 <entry><ind> 100</ind><dep> 198</dep></entry>
89 <entry><ind> 120</ind><dep> 236</dep></entry>
90 <entry><ind> 140</ind><dep> 274</dep></entry>
91 <entry><ind> 160</ind><dep> 313</dep></entry>
92 <entry><ind> 190</ind><dep> 353</dep></entry>
93 </interpolation>
94 </transformation>
95 <transformation>
96 <type>y-shift</type>
97 <offset>12</offset>
98 </transformation>
99 </transformations>
100 </layer>
101
102 <layer>
103 <name>glare shield</name>
104 <texture>
105 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
106 <x1>0.5</x1>
107 <y1>0.0</y1>
108 <x2>1.0</x2>
109 <y2>0.5</y2>
110 </texture>
111 <w>128</w>
112 <h>128</h>
113 <transformations>
114 <transformation>
115 <type>x-shift</type>
116 <offset>2</offset>
117 </transformation>
118 <transformation>
119 <type>y-shift</type>
120 <offset>-2</offset>
121 </transformation>
122 </transformations>
123 </layer>
124 </layers>
125 </PropertyList>