Debian Codegraph @

Aircraft/Instruments/vertical1k.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Default vertical velocity indicator 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>Vertical Speed Indicator (1K)</name>
28 <w-base>128</w-base>
29 <h-base>128</h-base>
30 <layers>
31 <layer>
32 <name>background</name>
33 <texture>
34 <path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
35 <x1>0.0</x1>
36 <x2>0.5</x2>
37 <y1>0.0</y1>
38 <y2>0.5</y2>
39 </texture>
40 <w>114</w>
41 <h>114</h>
42 </layer>
43 <!-- fix misc.rgb -->
44 <layer>
45 <name>needle</name>
46 <texture>
47 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
48 <x1>0.8</x1>
49 <y1>0.78125</y1>
50 <x2>0.8375</x2>
51 <y2>1.0</y2>
52 </texture>
53 <w>6</w>
54 <h>48</h>
55 <transformations>
56 <transformation>
57 <type>rotation</type>
58 <property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
59 <min>-20000.0</min>
60 <max>20000.0</max>
61 <scale>0.0084</scale>
62 <offset>270.0</offset>
63 </transformation>
64 <transformation>
65 <type>y-shift</type>
66 <offset>20.0</offset>
67 </transformation>
68 </transformations>
69 </layer>
70 <layer>
71 <name>button</name>
72 <texture>
73 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
74 <x1>0.6171875</x1>
75 <y1>0.2421875</y1>
76 <x2>0.7890625</x2>
77 <y2>0.4140625</y2>
78 </texture>
79 <w>15</w>
80 <h>15</h>
81 </layer>
82 <layer>
83 <name>glare shield</name>
84 <texture>
85 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
86 <x1>0.5</x1>
87 <y1>0.0</y1>
88 <x2>1.0</x2>
89 <y2>0.5</y2>
90 </texture>
91 <w>128</w>
92 <h>128</h>
93 <transformations>
94 <transformation>
95 <type>x-shift</type>
96 <offset>2</offset>
97 </transformation>
98 <transformation>
99 <type>y-shift</type>
100 <offset>-2</offset>
101 </transformation>
102 </transformations>
103 </layer>
104 </layers>
105 </PropertyList>