Debian Codegraph @

Aircraft/Instruments-3d/primus-1000/fmc.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3 Author : Syd Adams
4 Flight Mode Control
5
6 HDG:
7 Heading Bug hold - Low Bank can be selected
8
9 NAV:
10 Arm & Capture VOR , LOC or FMS
11
12 APR : (ILS approach)
13 Arm & Capture VOR APR , LOC or BC
14 Also arm and capture GS
15
16 BC :
17 Arm & capture localizer backcourse
18 Nav also illuminates
19
20 VNAV:
21 Arm and capture VOR/DME or FMS vertical profile
22 profile entered in MFD VNAV menu
23
24 ALT:
25 Hold current Altitude or PFD preset altitude
26
27 VS:
28 Hold current vertical speed ...
29 adjustable with pitch wheel
30
31 SPD :
32 Hold current speed
33 adjustable with pitch wheel
34
35 -->
36 <PropertyList>
37
38 <path>fmc.ac</path>
39
40 <animation>
41 <type>material</type>
42 <object-name>FD.btns</object-name>
43 <emission>
44 <red>0.035</red>
45 <green>0.025</green>
46 <blue>0.015</blue>
47 <factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
48 </emission>
49 </animation>
50
51 <animation>
52 <type>select</type>
53 <object-name>FD.hdg</object-name>
54 <condition>
55 <equals>
56 <property>instrumentation/flightdirector/lnav</property>
57 <value>1</value>
58 </equals>
59 </condition>
60 </animation>
61
62 <animation>
63 <type>select</type>
64 <object-name>FD.nav</object-name>
65 <condition>
66 <greater-than>
67 <property>instrumentation/flightdirector/lnav</property>
68 <value>1</value>
69 </greater-than>
70 </condition>
71 </animation>
72
73 <animation>
74 <type>select</type>
75 <object-name>FD.apr</object-name>
76 <condition>
77 <equals>
78 <property>instrumentation/flightdirector/lnav</property>
79 <value>7</value>
80 </equals>
81 </condition>
82 </animation>
83
84 <animation>
85 <type>select</type>
86 <object-name>FD.bc</object-name>
87 <condition>
88 <property>instrumentation/nav/back-course-btn</property>
89 </condition>
90 </animation>
91
92 <animation>
93 <type>select</type>
94 <object-name>FD.vnav</object-name>
95 <condition>
96 <and>
97 <greater-than>
98 <property>instrumentation/flightdirector/vnav</property>
99 <value>0</value>
100 </greater-than>
101 <less-than>
102 <property>instrumentation/flightdirector/vnav</property>
103 <value>3</value>
104 </less-than>
105 </and>
106 </condition>
107 </animation>
108
109 <animation>
110 <type>select</type>
111 <object-name>FD.alt</object-name>
112 <condition>
113 <or>
114 <equals>
115 <property>instrumentation/flightdirector/vnav</property>
116 <value>3</value>
117 </equals>
118 <equals>
119 <property>instrumentation/flightdirector/vnav</property>
120 <value>4</value>
121 </equals>
122 </or>
123 </condition>
124 </animation>
125
126 <animation>
127 <type>select</type>
128 <object-name>FD.vs</object-name>
129 <condition>
130 <equals>
131 <property>instrumentation/flightdirector/vnav</property>
132 <value>5</value>
133 </equals>
134 </condition>
135 </animation>
136
137 <animation>
138 <type>select</type>
139 <object-name>FD.spd</object-name>
140 <condition>
141 <equals>
142 <property>instrumentation/flightdirector/spd</property>
143 <value>1</value>
144 </equals>
145 </condition>
146 </animation>
147
148
149 <!-- OSG hotspots -->
150 <animation>
151 <type>pick</type>
152 <object-name>FD.hdg</object-name>
153 <action>
154 <button>0</button>
155 <repeatable>false</repeatable>
156 <binding>
157 <command>nasal</command>
158 <script>
159 if(getprop("/instrumentation/flightdirector/lnav")!= 1){
160 setprop("/instrumentation/flightdirector/lnav",1);
161 }else{
162 setprop("/instrumentation/flightdirector/lnav",0);
163 }
164 </script>
165 </binding>
166 </action>
167 </animation>
168
169 <animation>
170 <type>pick</type>
171 <object-name>FD.nav</object-name>
172 <action>
173 <button>0</button>
174 <repeatable>false</repeatable>
175 <binding>
176 <command>nasal</command>
177 <script>
178 if(getprop("/instrumentation/flightdirector/lnav")!= 2){
179 setprop("/instrumentation/flightdirector/lnav",2);
180 }else{
181 setprop("/instrumentation/flightdirector/lnav",0);
182 }
183 </script>
184 </binding>
185 </action>
186 </animation>
187
188 <animation>
189 <type>pick</type>
190 <object-name>FD.apr</object-name>
191 <action>
192 <button>0</button>
193 <repeatable>false</repeatable>
194 <binding>
195 <command>nasal</command>
196 <script>
197 if(getprop("/instrumentation/flightdirector/lnav")!= 3){
198 setprop("/instrumentation/flightdirector/lnav",3);
199 }else{
200 setprop("/instrumentation/flightdirector/lnav",0);
201 }
202 </script>
203 </binding>
204 </action>
205 </animation>
206
207 <animation>
208 <type>pick</type>
209 <object-name>FD.bc</object-name>
210 <action>
211 <button>0</button>
212 <repeatable>false</repeatable>
213 <binding>
214 <command>nasal</command>
215 <script>
216 if(getprop("/instrumentation/flightdirector/lnav")!= 4){
217 setprop("/instrumentation/flightdirector/lnav",4);
218 }else{
219 setprop("/instrumentation/flightdirector/lnav",0);
220 }
221 </script>
222 </binding>
223 </action>
224 </animation>
225
226 <animation>
227 <type>pick</type>
228 <object-name>FD.vnav</object-name>
229 <action>
230 <button>0</button>
231 <repeatable>false</repeatable>
232 <binding>
233 <command>nasal</command>
234 <script>
235 if(getprop("/instrumentation/flightdirector/vnav")!= 7){
236 setprop("/instrumentation/flightdirector/vnav",7);
237 }else{
238 setprop("/instrumentation/flightdirector/vnav",0);
239 }
240 </script>
241 </binding>
242 </action>
243 </animation>
244
245 <animation>
246 <type>pick</type>
247 <object-name>FD.alt</object-name>
248 <action>
249 <button>0</button>
250 <repeatable>false</repeatable>
251 <binding>
252 <command>nasal</command>
253 <script>
254 if(getprop("/instrumentation/flightdirector/vnav")!= 2){
255 setprop("/instrumentation/flightdirector/vnav",2);
256 }else{
257 setprop("/instrumentation/flightdirector/vnav",0);
258 }
259 </script>
260 </binding>
261 </action>
262 </animation>
263
264 <animation>
265 <type>pick</type>
266 <object-name>FD.vs</object-name>
267 <action>
268 <button>0</button>
269 <repeatable>false</repeatable>
270 <binding>
271 <command>nasal</command>
272 <script>
273 if(getprop("/instrumentation/flightdirector/vnav")!= 3){
274 setprop("/instrumentation/flightdirector/vnav",3);
275 }else{
276 setprop("/instrumentation/flightdirector/vnav",0);
277 }
278 </script>
279 </binding>
280 </action>
281 </animation>
282
283 <animation>
284 <type>pick</type>
285 <object-name>FD.spd</object-name>
286 <action>
287 <button>0</button>
288 <repeatable>false</repeatable>
289 <binding>
290 <command>nasal</command>
291 <script>
292 if(getprop("/instrumentation/flightdirector/spd")!= 1){
293 setprop("/instrumentation/flightdirector/spd",1);
294 }else{
295 setprop("/instrumentation/flightdirector/spd",0);
296 }
297 </script>
298 </binding>
299 </action>
300 </animation>
301
302 </PropertyList>