Debian Codegraph @

Aircraft/Instruments/asi-260-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>260 Knot 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/asi-260-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 <layer>
52 <name>needle</name>
53 <texture>
54 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
55 <x1>0.8</x1>
56 <y1>0.78125</y1>
57 <x2>0.8375</x2>
58 <y2>1.0</y2>
59 </texture>
60 <w>5.5</w>
61 <h>44</h>
62 <transformations>
63 <transformation>
64 <type>rotation</type>
65 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
66 <min>10.0</min>
67 <max>260.0</max>
68 <scale>1.0</scale>
69 <interpolation>
70 <entry><ind> 10</ind><dep> 3</dep></entry>
71 <entry><ind> 40</ind><dep> 13</dep></entry>
72 <entry><ind> 60</ind><dep> 35</dep></entry>
73 <entry><ind> 80</ind><dep> 63</dep></entry>
74 <entry><ind> 100</ind><dep> 93</dep></entry>
75 <entry><ind> 120</ind><dep> 125</dep></entry>
76 <entry><ind> 140</ind><dep> 163</dep></entry>
77 <entry><ind> 160</ind><dep> 195</dep></entry>
78 <entry><ind> 180</ind><dep> 225</dep></entry>
79 <entry><ind> 200</ind><dep> 252</dep></entry>
80 <entry><ind> 230</ind><dep> 295</dep></entry>
81 <entry><ind> 260</ind><dep> 340</dep></entry>
82 </interpolation>
83 </transformation>
84 <transformation>
85 <type>y-shift</type>
86 <offset>16</offset>
87 </transformation>
88 </transformations>
89 </layer>
90
91 <layer>
92 <name>button</name>
93 <texture>
94 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
95 <x1>0.6171875</x1>
96 <y1>0.2421875</y1>
97 <x2>0.7890625</x2>
98 <y2>0.4140625</y2>
99 </texture>
100 <w>14</w>
101 <h>14</h>
102 </layer>
103
104 <layer>
105 <name>glare shield</name>
106 <texture>
107 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
108 <x1>0.5</x1>
109 <y1>0.0</y1>
110 <x2>1.0</x2>
111 <y2>0.5</y2>
112 </texture>
113 <w>128</w>
114 <h>128</h>
115 <transformations>
116 <transformation>
117 <type>x-shift</type>
118 <offset>2</offset>
119 </transformation>
120 <transformation>
121 <type>y-shift</type>
122 <offset>-2</offset>
123 </transformation>
124 </transformations>
125 </layer>
126 </layers>
127 </PropertyList>
128