Debian Codegraph @

Aircraft/Instruments/gear-indicator.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3 A simple indicator lamp. Used here as a brake light.
4 John Check <[email protected]>
5 -->
6
7 <PropertyList>
8 <name>Gear Indicator</name>
9 <w-base>64</w-base>
10 <h-base>26</h-base>
11
12 <layers>
13 <!-- The "bulb" -->
14 <layer>
15 <name>Brake light</name>
16 <type>switch</type>
17 <layer>
18 <condition>
19 <property>/controls/gear/gear-down</property> <!-- nose brake -->
20 </condition>
21 <name>on</name>
22 <texture>
23 <path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
24 <x1>0.25</x1>
25 <y1>0.0</y1>
26 <x2>0.5</x2>
27 <y2>0.095</y2>
28 </texture>
29 <w>64</w>
30 <h>26</h>
31 </layer>
32 <layer>
33 <name>off</name>
34 <texture>
35 <path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
36 <x1>0.0</x1>
37 <y1>0.0</y1>
38 <x2>0.25</x2>
39 <y2>0.095</y2>
40 </texture>
41 <w>64</w>
42 <h>26</h>
43 </layer>
44 </layer>
45 <!-- translucent lens -->
46 <layer>
47 <name>lens</name>
48 <texture>
49 <path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
50 <x1>0.74609375</x1>
51 <y1>0.0</y1>
52 <x2>1.0</x2>
53 <y2>0.08984375</y2>
54 </texture>
55 <w>64</w>
56 <h>26</h>
57 </layer>
58 </layers>
59
60 <actions>
61 <action>
62 <desc>gear</desc>
63 <button>0</button>
64 <x>-32</x>
65 <y>-13</y>
66 <w>64</w>
67 <h>26</h>
68 <binding>
69 <command>property-toggle</command>
70 <property>/controls/gear/gear-down</property>
71 </binding>
72 </action>
73 </actions>
74
75 </PropertyList>