Debian Codegraph @

Aircraft/Instruments/tach-2700-redline.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Default RPM gauge instrument.
5
6 Started summer 2000 by David Megginson, [email protected].
7
8 This is an instrument configuration file for the open-source flight
9 simulator FlightGear (www.flightgear.org). The file is an XML-encoded
10 FlightGear property list defining the instrument's layers and actions.
11
12 Each instrument is composed of layers stacked on top of each other.
13 A layer may be a texture (with transparent parts to show the layers
14 underneath), text, or a special layer that switches between two
15 others (say, to turn an indicator light on or off). Each layer can
16 move independently in proportion to a property value, and text
17 can be generated from property values as well: all of the layer's
18 movements are defined as transformations.
19
20 Actions are hotspots on the instrument that will respond to a mouse
21 click. Actions always modify the values of properties, either by
22 adjusting them, toggling them, or swaping them with other
23 properties' values.
24 -->
25
26 <PropertyList>
27 <name>RPM Gauge</name>
28 <w-base>128</w-base>
29 <h-base>128</h-base>
30
31 <params>
32 <rpm0-select>/engines/engine[0]/rpm</rpm0-select>
33 <rpm1-select>/engines/engine[1]/rpm</rpm1-select>
34 </params>
35
36 <layers>
37 <layer>
38 <name>gauge face</name>
39 <texture>
40 <path>Aircraft/Instruments/Textures/tach-2700-redline.rgb</path>
41 <x1>0.0</x1>
42 <x2>0.5</x2>
43 <y1>0.0</y1>
44 <y2>0.5</y2>
45 </texture>
46 <w>104</w>
47 <h>104</h>
48 </layer>
49
50
51 <layer>
52 <name>needle 1</name>
53 <texture>
54 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
55 <x1>0.6796875</x1>
56 <x2>0.7265625</x2>
57 <y1>0.68359375</y1>
58 <y2>1.0</y2>
59 </texture>
60 <w>6</w>
61 <h>48</h>
62 <transformations>
63 <transformation>
64 <type>rotation</type>
65 <property alias="../../../../../params/rpm1-select"/>
66 <min>0</min>
67 <max>4000</max>
68 <scale>0.08</scale>
69 <offset>-120</offset>
70 </transformation>
71 <transformation>
72 <type>y-shift</type>
73 <offset>20</offset>
74 </transformation>
75 </transformations>
76 </layer>
77
78 <layer>
79 <name>needle 0</name>
80 <texture>
81 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
82 <x1>0.8</x1>
83 <y1>0.78125</y1>
84 <x2>0.8375</x2>
85 <y2>1.0</y2>
86 </texture>
87 <w>6</w>
88 <h>48</h>
89 <transformations>
90 <transformation>
91 <type>rotation</type>
92 <property alias="../../../../../params/rpm0-select"/>
93 <min>0</min>
94 <max>4000</max>
95 <scale>0.08</scale>
96 <offset>-120</offset>
97 </transformation>
98 <transformation>
99 <type>y-shift</type>
100 <offset>20</offset>
101 </transformation>
102 </transformations>
103 </layer>
104
105 <layer>
106 <name>button</name>
107 <texture>
108 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
109 <x1>0.6171875</x1>
110 <y1>0.2421875</y1>
111 <x2>0.7890625</x2>
112 <y2>0.4140625</y2>
113 </texture>
114 <w>14</w>
115 <h>14</h>
116 </layer>
117
118 <layer>
119 <name>glare shield</name>
120 <texture>
121 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
122 <x1>0.5</x1>
123 <y1>0.0</y1>
124 <x2>1.0</x2>
125 <y2>0.5</y2>
126 </texture>
127 <w>124</w>
128 <h>124</h>
129 <transformations>
130 <transformation>
131 <type>x-shift</type>
132 <offset>2</offset>
133 </transformation>
134 <transformation>
135 <type>y-shift</type>
136 <offset>-2</offset>
137 </transformation>
138 </transformations>
139 </layer>
140 </layers>
141 </PropertyList>