Debian Codegraph @

Aircraft/Instruments/rpm-hi.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>256</w-base>
29 <h-base>256</h-base>
30
31 <params>
32 <rpm-select>/engines/engine[0]/rpm</rpm-select>
33 </params>
34
35 <layers>
36 <layer>
37 <name>gauge face</name>
38 <texture>
39 <path>Aircraft/Instruments/Textures/faces-3.rgb</path>
40 <x1>0.0</x1>
41 <y1>0.51</y1>
42 <x2>0.49</x2>
43 <y2>1.0</y2>
44 </texture>
45 <w>208</w>
46 <h>208</h>
47 </layer>
48 <layer>
49 <name>needle</name>
50 <texture>
51 <path>Aircraft/Instruments/Textures/madr-misc1.rgb</path>
52 <x1>0.875</x1>
53 <y1>0.5</y1>
54 <x2>1.0</x2>
55 <y2>1.0</y2>
56 </texture>
57 <w>32</w>
58 <h>138</h>
59 <transformations>
60 <transformation>
61 <type>rotation</type>
62 <property alias="../../../../../params/rpm-select"/>
63 <scale>0.1</scale>
64 <offset>-150</offset>
65 </transformation>
66 <transformation>
67 <type>y-shift</type>
68 <offset>20</offset>
69 </transformation>
70 </transformations>
71 </layer>
72 <layer>
73 <name>button</name>
74 <texture>
75 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
76 <x1>0.6171875</x1>
77 <y1>0.2421875</y1>
78 <x2>0.7890625</x2>
79 <y2>0.4140625</y2>
80 </texture>
81 <w>28</w>
82 <h>28</h>
83 <transformations>
84 <transformation>
85 <type>rotation</type>
86 <property>/orientation/roll-deg</property>
87 <min>-360.0</min>
88 <max>360.0</max>
89 <scale>1.0</scale>
90 <wrap>1</wrap>
91 </transformation>
92 </transformations>
93 </layer>
94 <layer>
95 <name>glare shield</name>
96 <texture>
97 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
98 <x1>0.5</x1>
99 <y1>0.0</y1>
100 <x2>1.0</x2>
101 <y2>0.5</y2>
102 </texture>
103 <w>248</w>
104 <h>248</h>
105 <transformations>
106 <transformation>
107 <type>x-shift</type>
108 <offset>2</offset>
109 </transformation>
110 <transformation>
111 <type>y-shift</type>
112 <offset>-2</offset>
113 </transformation>
114 </transformations>
115 </layer>
116 </layers>
117 </PropertyList>