Debian Codegraph @

Aircraft/Instruments/asi-590-knot-a4c.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Improved airspeed indicator instrument.
5 19 June 2002
6 airspeed indicator instrument from A4C
7 Jim Wilson [email protected]
8 Face and calibration by Andy Ross, [email protected].
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>590 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-590-knot-a4c.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>112</w>
49 <h>112</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>50.0</min>
67 <max>590.0</max>
68 <scale>1.0</scale>
69 <interpolation>
70 <entry><ind> 50</ind><dep> 0</dep></entry>
71 <entry><ind> 100</ind><dep> 44.8</dep></entry>
72 <entry><ind> 200</ind><dep> 121.9</dep></entry>
73 <entry><ind> 300</ind><dep> 188.1</dep></entry>
74 <entry><ind> 400</ind><dep> 246.9</dep></entry>
75 <entry><ind> 500</ind><dep> 300.5</dep></entry>
76 <entry><ind> 600</ind><dep> 350.0</dep></entry>
77 </interpolation>
78 </transformation>
79 <transformation>
80 <type>y-shift</type>
81 <offset>16</offset>
82 </transformation>
83 </transformations>
84 </layer>
85
86 <layer>
87 <name>button</name>
88 <texture>
89 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
90 <x1>0.6171875</x1>
91 <y1>0.2421875</y1>
92 <x2>0.7890625</x2>
93 <y2>0.4140625</y2>
94 </texture>
95 <w>14</w>
96 <h>14</h>
97 </layer>
98
99 <layer>
100 <name>glare shield</name>
101 <texture>
102 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
103 <x1>0.5</x1>
104 <y1>0.0</y1>
105 <x2>1.0</x2>
106 <y2>0.5</y2>
107 </texture>
108 <w>128</w>
109 <h>128</h>
110 <transformations>
111 <transformation>
112 <type>x-shift</type>
113 <offset>2</offset>
114 </transformation>
115 <transformation>
116 <type>y-shift</type>
117 <offset>-2</offset>
118 </transformation>
119 </transformations>
120 </layer>
121 </layers>
122 </PropertyList>
123
124
125