Make the other sunlight shaders recognize water matId.
[fg:toms-fgdata.git] / Aircraft / A-6E / Models / p-console-left-aft.xml
1 <?xml version="1.0"?>
2 <!DOCTYPE PropertyList SYSTEM "panel.dtd">
3
4
5 <PropertyList> 
6         <name>Pilot-Console-Left-Aft</name>
7         <background>Aircraft/A-6E/Models/transparent-bg.rgb</background>
8         <w>1024</w>
9         <h>768</h>
10         <y-offset>0</y-offset>
11
12         <instruments> 
13                 <instrument> 
14                         <name>P-Console-Left-Aft</name>
15                 <w>1024</w>
16                 <h>768</h>
17                 <w-base>1024</w-base>
18                 <h-base>1024</h-base>
19                 <x>512</x>
20                         <y>384</y>  
21                         <layers> 
22                                 <layer> 
23                                         <name>background</name>
24                                         <texture> 
25                                                 <path>Aircraft/A-6E/Models/transparent-bg.rgb</path>
26                                                 <!--<path>Aircraft/A-6E/Models/hotspotgrid.rgb</path>-->
27                                                 <x1>0.0</x1>
28                                                 <y1>0.0</y1>
29                                                 <x2>1.0</x2>
30                                                 <y2>1.0</y2>
31                                         </texture>
32                                 </layer>
33                         </layers>
34                         <actions> 
35                                 <!-- ######### Light-Left-Panel ######### -->
36                                 <!-- Collision switch -->
37                                 <action> 
38                                         <name>collision-switch-up</name>
39                                         <button>0</button>
40                                         <x>-120</x>
41                                         <y>-68</y>
42                                         <w>100</w>
43                                         <h>30</h>
44                                         <binding> 
45                                                 <command>property-toggle</command>
46                                                 <property>controls/lighting/beacon</property>
47                                         </binding>
48                                 </action>
49                                 <action> 
50                                         <name>collision-switch-down</name>
51                                         <button>0</button>
52                                         <x>-120</x>
53                                         <y>-103</y>
54                                         <w>100</w>
55                                         <h>30</h>
56                                         <binding> 
57                                                 <command>property-toggle</command>
58                                                 <property>controls/lighting/beacon</property>
59                                         </binding>
60                                 </action>
61
62                                 <!-- Taxi/Probe switch -->
63                                 <action> 
64                                         <name>taxi-probe-switch-up</name>
65                                         <button>0</button>
66                                         <x>-120</x>
67                                         <y>-153</y>
68                                         <w>100</w>
69                                         <h>30</h>
70                                         <binding> 
71                                                 <command>property-toggle</command>
72                                                 <property>controls/lighting/taxi-light</property>
73                                         </binding>
74                                 </action>
75                                 <action> 
76                                         <name>taxi-probe-switch-down</name>
77                                         <button>0</button>
78                                         <x>-120</x>
79                                         <y>-187</y>
80                                         <w>100</w>
81                                         <h>30</h>
82                                         <binding> 
83                                                 <command>property-toggle</command>
84                                                 <property>controls/lighting/taxi-light</property>
85                                         </binding>
86                                 </action>
87
88                                 <!-- Pylon switch -->
89                                 <action> 
90                                         <name>pylon-switch-up</name>
91                                         <button>0</button>
92                                         <x>-120</x>
93                                         <y>-295</y>
94                                         <w>100</w>
95                                         <h>30</h>
96                                         <binding> 
97                                                 <command>nasal</command>
98                                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/pylons-lts", 1)</script>
99                                         </binding>
100                                 </action>
101                                 <action> 
102                                         <name>pylon-switch-down</name>
103                                         <button>0</button>
104                                         <x>-120</x>
105                                         <y>-330</y>
106                                         <w>100</w>
107                                         <h>30</h>
108                                         <binding> 
109                                                 <command>nasal</command>
110                                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/pylons-lts", -1)</script>
111                                         </binding>
112                                 </action>
113
114
115                                 <!-- Instruments thumbwheel -->
116                                 <action> 
117                                         <name>instruments-thumbwheel-left</name>
118                                         <button>0</button>
119                                         <x>0</x>
120                                         <y>-140</y>
121                                         <w>90</w>
122                                         <h>40</h>
123                                         <binding>
124                                                 <command>property-adjust</command>
125                                                 <property>controls/lighting/instruments-norm</property>
126                                                 <step>0.05</step>
127                                         </binding>
128                                 </action>
129                                 <action> 
130                                         <name>instruments-thumbwheel-right</name>
131                                         <button>0</button>
132                                         <x>105</x>
133                                         <y>-140</y>
134                                         <w>90</w>
135                                         <h>40</h>
136                                         <binding>
137                                                 <command>property-adjust</command>
138                                                 <property>controls/lighting/instruments-norm</property>
139                                                 <step>-0.05</step>
140                                         </binding>
141                                 </action>
142
143                                 <!-- Console thumbwheel -->
144                                 <action> 
145                                         <name>console-thumbwheel-left</name>
146                                         <button>0</button>
147                                         <x>0</x>
148                                         <y>-230</y>
149                                         <w>90</w>
150                                         <h>40</h>
151                                         <binding>
152                                                 <command>property-adjust</command>
153                                                 <property>controls/lighting/panel-norm</property>
154                                                 <step>0.05</step>
155                                         </binding>
156                                 </action>
157                                 <action> 
158                                         <name>console-thumbwheel-right</name>
159                                         <button>0</button>
160                                         <x>105</x>
161                                         <y>-230</y>
162                                         <w>90</w>
163                                         <h>40</h>
164                                         <binding>
165                                                 <command>property-adjust</command>
166                                                 <property>controls/lighting/panel-norm</property>
167                                                 <step>-0.05</step>
168                                         </binding>
169                                 </action>
170
171                                 <!-- Approach Index thumbwheel -->
172                                 <action> 
173                                         <name>approach-index-thumbwheel-left</name>
174                                         <button>0</button>
175                                         <x>0</x>
176                                         <y>-315</y>
177                                         <w>90</w>
178                                         <h>40</h>
179                                         <binding>
180                                                 <command>property-adjust</command>
181                                                 <property>sim/model/A-6E/controls/lighting/index-norm</property>
182                                                 <step>0.05</step>
183                                                 <min>0</min>
184                                                 <max>1</max>
185                                         </binding>
186                                 </action>
187                                 <action> 
188                                         <name>approach-index-thumbwheel-right</name>
189                                         <button>0</button>
190                                         <x>105</x>
191                                         <y>-315</y>
192                                         <w>90</w>
193                                         <h>40</h>
194                                         <binding>
195                                                 <command>property-adjust</command>
196                                                 <property>sim/model/A-6E/controls/lighting/index-norm</property>
197                                                 <step>-0.05</step>
198                                                 <min>0</min>
199                                                 <max>1</max>
200                                         </binding>
201                                 </action>
202
203
204                                 <!-- Tail switch -->
205                                 <action> 
206                                         <name>tail-switch-up</name>
207                                         <button>0</button>
208                                         <x>232</x>
209                                         <y>-68</y>
210                                         <w>100</w>
211                                         <h>30</h>
212                                         <binding> 
213                                                 <command>nasal</command>
214                                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/tail-lt", 1)</script>
215                                         </binding>
216                                 </action>
217                                 <action> 
218                                         <name>tail-switch-down</name>
219                                         <button>0</button>
220                                         <x>232</x>
221                                         <y>-103</y>
222                                         <w>100</w>
223                                         <h>30</h>
224                                         <binding> 
225                                                 <command>nasal</command>
226                                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/tail-lt", -1)</script>
227                                         </binding>
228                                 </action>
229
230                                 <!-- Wing switch -->
231                                 <action> 
232                                         <name>wing-switch-up</name>
233                                         <button>0</button>
234                                         <x>232</x>
235                                         <y>-141</y>
236                                         <w>100</w>
237                                         <h>30</h>
238                                         <binding> 
239                                                 <command>nasal</command>
240                                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/wings-lts", 1)</script>
241                                         </binding>
242                                 </action>
243                                 <action> 
244                                         <name>wing-switch-down</name>
245                                         <button>0</button>
246                                         <x>232</x>
247                                         <y>-176</y>
248                                         <w>100</w>
249                                         <h>30</h>
250                                         <binding> 
251                                                 <command>nasal</command>
252                                                 <script>A6Econtrols.three_pos_sw("sim/model/A-6E/controls/lighting/wings-lts", -1)</script>
253                                         </binding>
254                                 </action>
255
256                                 <!-- Formation switch -->
257                                 <action> 
258                                         <name>formation-switch-up</name>
259                                         <button>0</button>
260                                         <x>232</x>
261                                         <y>-218</y>
262                                         <w>100</w>
263                                         <h>30</h> 
264                                         <binding> 
265                                                 <command>nasal</command>
266                                                 <script>A6Econtrols.three_pos_sw_b("sim/model/A-6E/controls/lighting/formation-lts", 1)</script>
267                                         </binding>
268                                 </action>
269                                 <action> 
270                                         <name>formation-switch-down</name>
271                                         <button>0</button>
272                                         <x>232</x>
273                                         <y>-253</y>
274                                         <w>100</w>
275                                         <h>30</h>
276                                         <binding> 
277                                                 <command>nasal</command>
278                                                 <script>A6Econtrols.three_pos_sw_b("sim/model/A-6E/controls/lighting/formation-lts", -1)</script>
279                                         </binding>
280                                 </action>
281
282                                 <!-- Flood switch -->
283                                 <action> 
284                                         <name>flood-switch-up</name>
285                                         <button>0</button>
286                                         <x>232</x>
287                                         <y>-295</y>
288                                         <w>100</w>
289                                         <h>30</h>
290                                         <binding> 
291                                                 <command>nasal</command>
292                                                 <script>A6Econtrols.three_pos_sw_flood("sim/model/A-6E/controls/lighting/flood-lts", 1)</script>
293                                         </binding>
294                                 </action>
295                                 <action> 
296                                         <name>flood-switch-down</name>
297                                         <button>0</button>
298                                         <x>232</x>
299                                         <y>-330</y>
300                                         <w>100</w>
301                                         <h>30</h>
302                                         <binding> 
303                                                 <command>nasal</command>
304                                                 <script>A6Econtrols.three_pos_sw_flood("sim/model/A-6E/controls/lighting/flood-lts", -1)</script>
305                                         </binding>
306                                 </action>
307
308                         </actions> 
309
310                 </instrument>
311         </instruments>
312 </PropertyList>