Debian Codegraph @

Aircraft/Instruments/attitude-indicator-hi.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Improved artificial horizon instrument.
5 Mar 20 2000
6 Martin Dressler [email protected]
7 Artificial horizon from C172RG (large version)
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>C172RG Artifical horizon</name>
34
35 <w-base>256</w-base>
36 <h-base>256</h-base>
37
38 <layers>
39 <layer>
40 <name>background</name>
41 <texture>
42 <path>Aircraft/Instruments/Textures/attitude2.rgb</path>
43 <x1>0.0</x1>
44 <y1>0.0</y1>
45 <x2>1.0</x2>
46 <y2>1.0</y2>
47 </texture>
48 <transformations>
49 <transformation>
50 <type>rotation</type>
51 <property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
52 <min>-360.0</min>
53 <max>360.0</max>
54 <scale>-1</scale>
55 </transformation>
56 </transformations>
57 </layer>
58 <layer>
59 <name>pitch</name>
60 <texture>
61 <path>Aircraft/Instruments/Textures/attitude3.rgb</path>
62 <x1>0.0</x1>
63 <y1>0.0</y1>
64 <x2>1.0</x2>
65 <y2>1.0</y2>
66 </texture>
67 <transformations>
68 <transformation>
69 <type>rotation</type>
70 <property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
71 <min>-360.0</min>
72 <max>360.0</max>
73 <scale>-1</scale>
74 </transformation>
75 <transformation>
76 <type>y-shift</type>
77 <property>/instrumentation/attitude-indicator/indicated-pitch-deg</property>
78 <min>-20.0</min>
79 <max>20.0</max>
80 <scale>-2.15</scale>
81 <offset>0</offset>
82 </transformation>
83 </transformations>
84 </layer>
85 <layer>
86 <name>roll</name>
87 <texture>
88 <path>Aircraft/Instruments/Textures/attitude5.rgb</path>
89 <x1>0.0</x1>
90 <y1>0.0</y1>
91 <x2>1.0</x2>
92 <y2>1.0</y2>
93 </texture>
94 <transformations>
95 <transformation>
96 <type>rotation</type>
97 <property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
98 <min>-360.0</min>
99 <max>360.0</max>
100 <scale>-1</scale>
101 </transformation>
102 </transformations>
103 </layer>
104 <layer>
105 <name>plane</name>
106 <texture>
107 <path>Aircraft/Instruments/Textures/madr-misc1.rgb</path>
108 <x1>0.0</x1>
109 <y1>0.0</y1>
110 <x2>0.5</x2>
111 <y2>0.3125</y2>
112 </texture>
113 <h>83</h>
114 <w>133</w>
115 <transformations>
116 <transformation>
117 <type>y-shift</type>
118 <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
119 <offset>-32</offset>
120 </transformation>
121 </transformations>
122 </layer>
123 <layer>
124 <name>foreground</name>
125 <texture>
126 <path>Aircraft/Instruments/Textures/attitude1.rgb</path>
127 <x1>0.0</x1>
128 <y1>0.0</y1>
129 <x2>1.0</x2>
130 <y2>1.0</y2>
131 </texture>
132 </layer>
133 </layers>
134 <actions>
135 <action>
136 <name>fine lower</name>
137 <button>0</button>
138 <x>-22</x>
139 <y>-124</y>
140 <w>22</w>
141 <h>44</h>
142 <binding>
143 <command>property-adjust</command>
144 <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
145 <step>-0.5</step>
146 <min>-5</min>
147 <max>5</max>
148 <wrap>false</wrap>
149 </binding>
150 </action>
151
152 <action>
153 <name>coarse lower</name>
154 <button>1</button>
155 <x>-11</x>
156 <y>-62</y>
157 <w>11</w>
158 <h>22</h>
159 <binding>
160 <command>property-adjust</command>
161 <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
162 <step>-5</step>
163 <min>-5</min>
164 <max>5</max>
165 <wrap>false</wrap>
166 </binding>
167 </action>
168
169 <action>
170 <name>fine raise</name>
171 <button>0</button>
172 <x>0</x>
173 <y>-124</y>
174 <w>22</w>
175 <h>44</h>
176 <binding>
177 <command>property-adjust</command>
178 <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
179 <step>0.5</step>
180 <min>-5</min>
181 <max>5</max>
182 <wrap>false</wrap>
183 </binding>
184 </action>
185
186 <action>
187 <name>coarse raise</name>
188 <button>1</button>
189 <x>0</x>
190 <y>-124</y>
191 <w>22</w>
192 <h>44</h>
193 <binding>
194 <command>property-adjust</command>
195 <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
196 <step>5</step>
197 <min>-5</min>
198 <max>5</max>
199 <wrap>false</wrap>
200 </binding>
201 </action>
202
203 </actions>
204
205 </PropertyList>