1
0
Fork 0

Updated Aerostar....

Aligned hotspots...
Moved kfc200.nas to Instruments-3d where it belongs...
Redoing the kfc200 flightdirector with newer functions (setlisteners) ...still in progress
Updated radios to change standby frequencies instead of selected frequencies....
This commit is contained in:
sydadams 2007-03-26 03:32:24 +00:00
parent c09c7ac5c6
commit c018eb9ca4
8 changed files with 662 additions and 558 deletions

View file

@ -2,168 +2,145 @@
<PropertyList>
<path>fd-annun.ac</path>
<animation>
<type>select</type>
<object-name>FD-ON</object-name>
<condition>
<not-equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>off</value>
</not-equals>
</condition>
</animation>
<path>fd-annun.ac</path>
<animation>
<type>select</type>
<object-name>FD-ON</object-name>
<condition>
<property>/instrumentation/kfc200/fd_on</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>NAV-ON</object-name>
<condition>
<or>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>nav-arm</value>
</equals>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>nav-cpld</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>NAV-ON</object-name>
<condition>
<or>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>nav-arm</value>
</equals>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>nav-cpld</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>NAVARM-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>nav-arm</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>NAVARM-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>nav-arm</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>NAVCPLD-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>nav-cpld</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>NAVCPLD-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>nav-cpld</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>HDG-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>hdg</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>HDG-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>hdg</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>APPR-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>appr</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>GS-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmodeV</property>
<value>gs</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>APPR-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>appr</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>GA-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>ga</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>GS-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>gs</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>ALT-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmodeV</property>
<value>alt</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>GA-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>ga</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>AP-ON</object-name>
<condition>
<not>
<property>/autopilot/locks/passive-mode</property>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>ALT-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>alt</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>BC-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>bc</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>AP-ON</object-name>
<condition>
<or>
<not-equals>
<property>/autopilot/locks/heading</property>
<value></value>
</not-equals>
<not-equals>
<property>/autopilot/locks/speed</property>
<value></value>
</not-equals>
<not-equals>
<property>/autopilot/locks/speed</property>
<value></value>
</not-equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>O-ON</object-name>
<condition>
<property>/instrumentation/marker-beacon/outer</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>BC-ON</object-name>
<condition>
<equals>
<property>/instrumentation/kfc200/fdmode</property>
<value>bc</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>O-ON</object-name>
<condition>
<equals>
<property>/instrumentation/marker-beacon/outer</property>
<value>true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>M-ON</object-name>
<condition>
<equals>
<property>/instrumentation/marker-beacon/middle</property>
<value>true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>M-ON</object-name>
<condition>
<property>/instrumentation/marker-beacon/middle</property>
</condition>
</animation>
</PropertyList>

View file

@ -1,5 +1,4 @@
AC3Db
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
MATERIAL "metal" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 1 1 1 shi 32 trans 0
OBJECT world
kids 4
@ -7,7 +6,7 @@ OBJECT poly
name "PitchToggle"
texture "kfc200.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 12
0.005447 -0.000516 0.054266
0.005447 -0.000516 0.039118
@ -23,56 +22,56 @@ numvert 12
0.004439 0.017662 0.039118
numsurf 8
SURF 0x00
mat 1
mat 0
refs 4
0 0.517946064472 0.762528419495
4 0.517946064472 0.73246049881
8 0.548013985157 0.73246049881
2 0.548013985157 0.762528419495
SURF 0x00
mat 1
mat 0
refs 4
5 0.517946064472 0.762528419495
0 0.517946064472 0.73246049881
2 0.548013985157 0.73246049881
9 0.548013985157 0.762528419495
SURF 0x00
mat 1
mat 0
refs 4
1 0.517946064472 0.762528419495
6 0.517946064472 0.73246049881
10 0.548013985157 0.73246049881
3 0.548013985157 0.762528419495
SURF 0x00
mat 1
mat 0
refs 4
7 0.517946064472 0.762528419495
1 0.517946064472 0.73246049881
3 0.548013985157 0.73246049881
11 0.548013985157 0.762528419495
SURF 0x00
mat 1
mat 0
refs 4
0 0.517946064472 0.762528419495
5 0.517946064472 0.73246049881
6 0.548013985157 0.73246049881
1 0.548013985157 0.762528419495
SURF 0x00
mat 1
mat 0
refs 4
4 0.517946064472 0.762528419495
0 0.517946064472 0.73246049881
1 0.548013985157 0.73246049881
7 0.548013985157 0.762528419495
SURF 0x00
mat 1
mat 0
refs 4
7 0.517946064472 0.762528419495
11 0.517946064472 0.73246049881
8 0.548013985157 0.73246049881
4 0.548013985157 0.762528419495
SURF 0x00
mat 1
mat 0
refs 4
10 0.517946064472 0.762528419495
6 0.517946064472 0.73246049881
@ -83,229 +82,229 @@ OBJECT poly
name "APtoggle"
texture "kfc200.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 26
0.008499 0.003425 -0.052557
0.008665 0.000879 -0.052557
0.007845 -0.001536 -0.052557
0.006163 -0.003454 -0.052557
0.003875 -0.004583 -0.052557
0.00133 -0.004749 -0.052557
-0.001086 -0.003929 -0.052557
0.003037 0.008215 -0.052557
0.005452 0.007395 -0.052557
0.00737 0.005713 -0.052557
0.008499 0.003425 -0.039439
0.008665 0.000879 -0.039439
0.007845 -0.001536 -0.039439
0.006163 -0.003454 -0.039439
0.003875 -0.004583 -0.039439
0.00133 -0.004749 -0.039439
-0.001086 -0.003929 -0.039439
0.003037 0.008215 -0.039439
0.005452 0.007395 -0.039439
0.00737 0.005713 -0.039439
0.005934 0.007089 -0.052557
0.007697 0.005245 -0.052557
0.008622 0.002868 -0.052557
0.008566 0.000318 -0.052557
0.007539 -0.002018 -0.052557
0.005696 -0.003781 -0.052557
0.003318 -0.004706 -0.052557
-0.001329 0.007247 -0.052557
0.001048 0.008172 -0.052557
0.003598 0.008116 -0.052557
0.005934 0.007089 -0.039439
0.007697 0.005245 -0.039439
0.008622 0.002868 -0.039439
0.008566 0.000318 -0.039439
0.007539 -0.002018 -0.039439
0.005696 -0.003781 -0.039439
0.003318 -0.004706 -0.039439
-0.001329 0.007247 -0.039439
0.001048 0.008172 -0.039439
0.003598 0.008116 -0.039439
0.002183 0.001733 -0.052557
0.002183 0.001733 -0.039439
0.016434 -0.004455 -0.052557
0.016434 -0.004455 -0.039439
0.017199 -0.002191 -0.052557
0.017199 -0.002191 -0.039439
0.017077 0.006153 -0.052557
0.017077 0.006153 -0.039439
0.016208 0.008379 -0.052557
0.016208 0.008379 -0.039439
numsurf 31
SURF 0x00
mat 1
mat 0
refs 3
20 0.507779479027 0.760139346123
0 0.507779479027 0.725842237473
1 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
21 0.507779479027 0.760139346123
11 0.507779479027 0.725842237473
10 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
20 0.507779479027 0.760139346123
1 0.507779479027 0.725842237473
2 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
21 0.507779479027 0.760139346123
12 0.507779479027 0.725842237473
11 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
20 0.507779479027 0.760139346123
2 0.507779479027 0.725842237473
3 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
21 0.507779479027 0.760139346123
13 0.507779479027 0.725842237473
12 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
20 0.507779479027 0.760139346123
3 0.507779479027 0.725842237473
4 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
21 0.507779479027 0.760139346123
14 0.507779479027 0.725842237473
13 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
20 0.507779479027 0.760139346123
4 0.507779479027 0.725842237473
5 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
21 0.507779479027 0.760139346123
15 0.507779479027 0.725842237473
14 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
20 0.507779479027 0.760139346123
5 0.507779479027 0.725842237473
6 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
21 0.507779479027 0.760139346123
16 0.507779479027 0.725842237473
15 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
20 0.507779479027 0.760139346123
7 0.507779479027 0.725842237473
8 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
21 0.507779479027 0.760139346123
18 0.507779479027 0.725842237473
17 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
20 0.507779479027 0.760139346123
8 0.507779479027 0.725842237473
9 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
21 0.507779479027 0.760139346123
19 0.507779479027 0.725842237473
18 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
9 0.507779479027 0.760139346123
0 0.507779479027 0.725842237473
20 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 3
21 0.507779479027 0.760139346123
10 0.507779479027 0.725842237473
19 0.542076587677 0.725842237473
SURF 0x00
mat 1
mat 0
refs 4
0 0.507779479027 0.760139346123
10 0.507779479027 0.725842237473
11 0.542076587677 0.725842237473
1 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
2 0.507779479027 0.760139346123
12 0.507779479027 0.725842237473
13 0.542076587677 0.725842237473
3 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
3 0.507779479027 0.760139346123
13 0.507779479027 0.725842237473
14 0.542076587677 0.725842237473
4 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
4 0.507779479027 0.760139346123
14 0.507779479027 0.725842237473
15 0.542076587677 0.725842237473
5 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
5 0.507779479027 0.760139346123
15 0.507779479027 0.725842237473
16 0.542076587677 0.725842237473
6 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
7 0.507779479027 0.760139346123
17 0.507779479027 0.725842237473
18 0.542076587677 0.725842237473
8 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
8 0.507779479027 0.760139346123
18 0.507779479027 0.725842237473
19 0.542076587677 0.725842237473
9 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
10 0.507779479027 0.760139346123
0 0.507779479027 0.725842237473
9 0.542076587677 0.725842237473
19 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
12 0.507779479027 0.760139346123
2 0.507779479027 0.725842237473
22 0.542076587677 0.725842237473
23 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
1 0.507779479027 0.760139346123
11 0.507779479027 0.725842237473
25 0.542076587677 0.725842237473
24 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
11 0.507779479027 0.760139346123
12 0.507779479027 0.725842237473
23 0.542076587677 0.725842237473
25 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
2 0.507779479027 0.760139346123
1 0.507779479027 0.725842237473
24 0.542076587677 0.725842237473
22 0.542076587677 0.760139346123
SURF 0x00
mat 1
mat 0
refs 4
22 0.642654716969 0.748234629631
24 0.642654716969 0.728802919388
@ -316,7 +315,7 @@ OBJECT poly
name "FDmodes"
texture "kfc200.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 48
0.004439 0.017769 -0.007607
0.004439 0.005687 -0.007607
@ -368,210 +367,210 @@ numvert 48
0.004439 -0.010216 -0.027597
numsurf 30
SURF 0x00
mat 1
mat 0
refs 4
4 0.509610176086 0.782164275646
7 0.509610176086 0.749106705189
6 0.542991161346 0.749106705189
5 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
0 0.509610176086 0.782164275646
4 0.509610176086 0.749106705189
5 0.542991161346 0.749106705189
1 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
1 0.509610176086 0.782164275646
5 0.509610176086 0.749106705189
6 0.542991161346 0.749106705189
2 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
2 0.509610176086 0.782164275646
6 0.509610176086 0.749106705189
7 0.542991161346 0.749106705189
3 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
4 0.509610176086 0.782164275646
0 0.509610176086 0.749106705189
3 0.542991161346 0.749106705189
7 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
11 0.509610176086 0.782164275646
15 0.509610176086 0.749106705189
12 0.542991161346 0.749106705189
8 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
13 0.509610176086 0.782164275646
9 0.509610176086 0.749106705189
8 0.542991161346 0.749106705189
12 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
14 0.509610176086 0.782164275646
10 0.509610176086 0.749106705189
9 0.542991161346 0.749106705189
13 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
15 0.509610176086 0.782164275646
11 0.509610176086 0.749106705189
10 0.542991161346 0.749106705189
14 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
11 0.509610176086 0.782164275646
8 0.509610176086 0.749106705189
9 0.542991161346 0.749106705189
10 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
20 0.509610176086 0.782164275646
23 0.509610176086 0.749106705189
22 0.542991161346 0.749106705189
21 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
16 0.509610176086 0.782164275646
20 0.509610176086 0.749106705189
21 0.542991161346 0.749106705189
17 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
17 0.509610176086 0.782164275646
21 0.509610176086 0.749106705189
22 0.542991161346 0.749106705189
18 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
18 0.509610176086 0.782164275646
22 0.509610176086 0.749106705189
23 0.542991161346 0.749106705189
19 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
20 0.509610176086 0.782164275646
16 0.509610176086 0.749106705189
19 0.542991161346 0.749106705189
23 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
27 0.509610176086 0.782164275646
31 0.509610176086 0.749106705189
28 0.542991161346 0.749106705189
24 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
29 0.509610176086 0.782164275646
25 0.509610176086 0.749106705189
24 0.542991161346 0.749106705189
28 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
30 0.509610176086 0.782164275646
26 0.509610176086 0.749106705189
25 0.542991161346 0.749106705189
29 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
31 0.509610176086 0.782164275646
27 0.509610176086 0.749106705189
26 0.542991161346 0.749106705189
30 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
27 0.509610176086 0.782164275646
24 0.509610176086 0.749106705189
25 0.542991161346 0.749106705189
26 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
36 0.509610176086 0.782164275646
39 0.509610176086 0.749106705189
38 0.542991161346 0.749106705189
37 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
32 0.509610176086 0.782164275646
36 0.509610176086 0.749106705189
37 0.542991161346 0.749106705189
33 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
33 0.509610176086 0.782164275646
37 0.509610176086 0.749106705189
38 0.542991161346 0.749106705189
34 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
34 0.509610176086 0.782164275646
38 0.509610176086 0.749106705189
39 0.542991161346 0.749106705189
35 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
36 0.509610176086 0.782164275646
32 0.509610176086 0.749106705189
35 0.542991161346 0.749106705189
39 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
43 0.509610176086 0.782164275646
47 0.509610176086 0.749106705189
44 0.542991161346 0.749106705189
40 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
45 0.509610176086 0.782164275646
41 0.509610176086 0.749106705189
40 0.542991161346 0.749106705189
44 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
46 0.509610176086 0.782164275646
42 0.509610176086 0.749106705189
41 0.542991161346 0.749106705189
45 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
47 0.509610176086 0.782164275646
43 0.509610176086 0.749106705189
42 0.542991161346 0.749106705189
46 0.542991161346 0.782164275646
SURF 0x00
mat 1
mat 0
refs 4
43 0.509610176086 0.782164275646
40 0.509610176086 0.749106705189
@ -582,7 +581,7 @@ OBJECT poly
name "FDbase"
texture "kfc200.rgb"
texrep 1 1
crease 30
crease 30.000000
numvert 8
9.5e-05 0.029311 -0.059503
9.5e-05 -0.029344 -0.059503
@ -594,35 +593,35 @@ numvert 8
0.004367 0.029311 0.059532
numsurf 5
SURF 0x00
mat 1
mat 0
refs 4
4 0.904559373856 0.84440433979
7 0.477707833052 0.844404459
6 0.477707713842 0.634072244167
5 0.904559135437 0.634072005749
SURF 0x00
mat 1
mat 0
refs 4
0 0.407198339701 0.838163256645
4 0.407198339701 0.81044459343
5 0.434916943312 0.81044459343
1 0.434916943312 0.838163256645
SURF 0x00
mat 1
mat 0
refs 4
1 0.407198339701 0.838163256645
5 0.407198339701 0.81044459343
6 0.434916943312 0.81044459343
2 0.434916943312 0.838163256645
SURF 0x00
mat 1
mat 0
refs 4
2 0.407198339701 0.838163256645
6 0.407198339701 0.81044459343
7 0.434916943312 0.81044459343
3 0.434916943312 0.838163256645
SURF 0x00
mat 1
mat 0
refs 4
4 0.407198339701 0.838163256645
0 0.407198339701 0.81044459343

View file

@ -8,11 +8,11 @@
<animation>
<type>rotate</type>
<object-name>APtoggle</object-name>
<property>/instrumentation/kfc200/autopilot-on</property>
<property>/autopilot/locks/passive-mode</property>
<factor>40</factor>
<axis>
<x>0.0</x>
<y>-1.0</y>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>

View file

@ -0,0 +1,120 @@
#### Bendix-King KFC-200 Flight Director ####
# off - Off: v-bars hidden
# hdg - Heading: v-bars command a turn to the heading bug
# appr - Approach: bank and pitch commands capture and track LOC and GS
# bc - Reverse Localizer: bank command to caputre and track a reverse LOC
# course. GS is locked out.
# arm - Standby mode to compute capture point for nav, appr, or bc.
# cpld - Coupled: Active mode for nav, appr, or bc.
# ga - Go Around: commands wings level and missed approach attitude.
# alt - Altitude hold: commands pitch to hold altitude
# vertical trim - pitch command to adjust altitude at 500 fpm while in alt hold
# or pitch attitude at rate of 1 deg/sec when not in alt hold
# yd - Yaw Damper: system senses motion around ayw axis and moves rudder to
# oppose yaw.
fdprop = props.globals.getNode("/instrumentation/kfc200",1);
fdmode = "off";
fdmodeV = "off";
fdmode_last = "off";
nav_dist = 0.0;
last_nav_dist = 0.0;
last_nav_time = 0.0;
tth_filter = 0.0;
alt_select = 0.0;
current_alt=0.0;
alt_offset = 0.0;
kfcmode="";
ap_on = 0.0;
alt_alert = 0.0;
setlistener("/sim/signals/fdm-initialized", func {
fdprop.getChild("fd_on").setBoolValue(0);
fdprop.getChild("fdmode").setValue(fdmode);
setprop("/instrumentation/kfc200/alt-offset",alt_offset);
setprop("/instrumentation/kfc200/fdmodeV","off");
setprop("/instrumentation/kfc200/alt-alert",alt_alert);
current_alt = getprop("/instrumentation/altimer/indicated-altitude-ft");
alt_select = getprop("/autopilot/settings/target-altitude-ft");
print("KFC-200 ... OK");
});
setlistener("/instrumentation/kfc200/fd_on", func {
var fdON = cmdarg().getValue();
if(fdON){clear_ap();}
});
setlistener("/instrumentation/kfc200/fdmode", func {
fdmode = cmdarg().getValue();
if(fdmode == "off"){clear_ap();return;}
if(fdmode == "hdg"){
setprop("/autopilot/locks/heading","dg-heading-hold");
return;}
if(fdmode == "appr"){
setprop("/autopilot/locks/altitude","gs1-hold");
setprop("/autopilot/locks/heading","nav1-hold");
return;}
if(fdmode == "nav-arm"){
setprop("/autopilot/locks/heading","dg-heading-hold");
return;}
if(fdmode == "nav-cpld"){
setprop("/autopilot/locks/heading","nav1-hold");
return;}
if(fdmode == "bc"){
setprop("/autopilot/locks/heading","back-coarse");
return;}
});
setlistener("/instrumentation/kfc200/fdmodeV", func {
altmode = cmdarg().getValue();
if(altmode == "off"){
setprop("/autopilot/locks/altitude","pitch-hold");;return;}
if(altmode == "alt"){
setprop("/autopilot/locks/altitude","altitude-hold");
return;}
});
clear_ap = func {
setprop("/autopilot/settings/target-pitch-deg",getprop("orientation/pitch-deg"));
setprop("/autopilot/locks/heading","wing-leveler");
setprop("/autopilot/locks/altitude","pitch-hold");
}
update_nav = func {
var APmode = fdprop.getChild("fdmode").getValue();
if(APmode == "nav-arm"){
if(getprop("instrumentation/nav/in-range")){
var offset = getprop("instrumentation/nav/heading-needle-deflection");
if(offset < 5 or offset > -5){
fdprop.getChild("fdmode").setValue("nav-cpld");
}else{
fdprop.getChild("fdmode").setValue("nav-arm");
}
}
}
}
get_altoffset = func(){
alt_offset = 0.0;
alt_select = getprop("/autopilot/settings/target-altitude-ft");
if ( alt_select == nil or alt_select == "" ){ alt_select = 0.0;return (alt_select);}
current_alt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
if(current_alt == nil){current_alt = 0.0;}
alt_offset = (alt_select-current_alt);
setprop("/instrumentation/kfc200/alt-alert",alt_offset);
if(alt_offset > 500.0){alt_offset = 500.0;}
if(alt_offset < -500.0){alt_offset = -500.0;}
}
update = func {
get_altoffset();
update_nav();
settimer(update, 0);
}
settimer(update, 0);

View file

@ -2,302 +2,310 @@
<PropertyList>
<path>kfc200.ac</path>
<path>kfc200.ac</path>
<animation>
<type>rotate</type>
<object-name>AIring</object-name>
<object-name>AIpitch</object-name>
<property>orientation/roll-deg</property>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>0.0</z-m>
</center>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>AIring</object-name>
<object-name>AIpitch</object-name>
<property>orientation/roll-deg</property>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>0.0</z-m>
</center>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>AIpitch</object-name>
<property>orientation/pitch-deg</property>
<interpolation>
<entry>
<ind>-90.0</ind>
<dep>0.0161</dep>
</entry>
<entry>
<ind>-30.0</ind>
<dep>0.0161</dep>
</entry>
<entry>
<ind>0.0</ind>
<dep>0.0</dep>
</entry>
<entry>
<ind>30.0</ind>
<dep>-0.0171</dep>
</entry>
<entry>
<ind>90.0</ind>
<dep>-0.0171</dep>
</entry>
</interpolation>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>0.0</z-m>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>AIpitch</object-name>
<property>orientation/pitch-deg</property>
<interpolation>
<entry>
<ind>-90.0</ind><dep>0.0161</dep>
</entry>
<entry>
<ind>-30.0</ind><dep>0.0161</dep>
</entry>
<entry>
<ind>0.0</ind><dep>0.0</dep>
</entry>
<entry>
<ind>30.0</ind><dep>-0.0171</dep>
</entry>
<entry>
<ind>90.0</ind><dep>-0.0171</dep>
</entry>
</interpolation>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>0.0</z-m>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>FDbars</object-name>
<condition>
<not>
<equals>
<property>instrumentation/kfc200/fdmode</property>
<value>off</value>
</equals>
</not>
</condition>
</animation>
<animation>
<type>translate</type>
<object-name>FDbars</object-name>
<property>instrumentation/kfc200/vbar-pitch</property>
<factor>0.00056</factor>
<axis>
<x>0.0</x>
<y>0.0</y>
<z>1.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0</y-m>
<z-m>0.0</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>FDbars</object-name>
<property>instrumentation/kfc200/vbar-roll</property>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.004</x-m>
<y-m>0</y-m>
<z-m>0.0</z-m>
</center>
</animation>
<!-- COMPASS -->
<animation>
<type>rotate</type>
<object-name>kfc-hdgbug</object-name>
<property>autopilot/internal/fdm-heading-bug-error-deg</property>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>-0.099</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>kfc-crs</object-name>
<object-name>kfc-crs.001</object-name>
<object-name>To-flag</object-name>
<object-name>From-flag</object-name>
<object-name>CmpsCard</object-name>
<property>orientation/heading-magnetic-deg</property>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>-0.099</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>kfc-crs</object-name>
<object-name>kfc-crs.001</object-name>
<object-name>To-flag</object-name>
<object-name>From-flag</object-name>
<property>instrumentation/nav/radials/selected-deg</property>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>-0.099</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>kfc-crs.001</object-name>
<property>instrumentation/nav/heading-needle-deflection</property>
<interpolation>
<entry>
<ind>-10.0</ind>
<dep>-0.0193</dep>
</entry>
<entry>
<ind>0.0</ind>
<dep>0.0</dep>
</entry>
<entry>
<ind>10.0</ind>
<dep>0.0193</dep>
</entry>
</interpolation>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>-0.099</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>GSneedle</object-name>
<property>instrumentation/nav/gs-needle-deflection</property>
<interpolation>
<entry>
<ind>-9999.0</ind>
<dep>-0.0183</dep>
</entry>
<entry>
<ind>-10.0</ind>
<dep>-0.0183</dep>
</entry>
<entry>
<ind>0.0</ind>
<dep>0.0</dep>
</entry>
<entry>
<ind>10.0</ind>
<dep>0.0183</dep>
</entry>
<entry>
<ind>9999.0</ind>
<dep>0.0183</dep>
</entry>
</interpolation>
<axis>
<x>0.0</x>
<y>0.0</y>
<z>1.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>-0.104</z-m>
</center>
</animation>
<animation>
<type>select</type>
<object-name>To-flag</object-name>
<condition>
<equals>
<property>instrumentation/nav/to-flag</property>
<value>true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>From-flag</object-name>
<condition>
<equals>
<property>instrumentation/nav/from-flag</property>
<value>true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>nav-warning</object-name>
<condition>
<equals>
<property>instrumentation/nav/in-range</property>
<value>false</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>hdg-warning</object-name>
<condition>
<less-than>
<property>systems/electrical/outputs/nav</property>
<value>0.2</value>
</less-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>GSneedle</object-name>
<condition>
<and>
<less-than>
<property>instrumentation/nav/gs-distance</property>
<value>30000.0</value>
</less-than>
<equals>
<property>instrumentation/nav/has-gs</property>
<value>true</value>
</equals>
</and>
<animation>
<type>select</type>
<object-name>FDbars</object-name>
<condition>
<property>instrumentation/kfc200/fd_on</property>
</condition>
</animation>
</animation>
<animation>
<type>translate</type>
<object-name>FDbars</object-name>
<property>autopilot/settings/target-pitch-deg</property>
<factor>0.00056</factor>
<axis>
<x>0.0</x>
<y>0.0</y>
<z>1.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0</y-m>
<z-m>0.0</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>FDbars</object-name>
<property>/autopilot/internal/target-roll-deg</property>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.004</x-m>
<y-m>0</y-m>
<z-m>0.0</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>FDbars</object-name>
<property>orientation/roll-deg</property>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.004</x-m>
<y-m>0</y-m>
<z-m>0.0</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>FDbars</object-name>
<property>/orientation/pitch-deg</property>
<factor>0.00056</factor>
<axis>
<x>0.0</x>
<y>0.0</y>
<z>-1.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0</y-m>
<z-m>0.0</z-m>
</center>
</animation>
<!-- COMPASS -->
<animation>
<type>rotate</type>
<object-name>kfc-hdgbug</object-name>
<property>autopilot/internal/fdm-heading-bug-error-deg</property>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>-0.099</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>kfc-crs</object-name>
<object-name>kfc-crs.001</object-name>
<object-name>To-flag</object-name>
<object-name>From-flag</object-name>
<object-name>CmpsCard</object-name>
<property>orientation/heading-magnetic-deg</property>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>-0.099</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>kfc-crs</object-name>
<object-name>kfc-crs.001</object-name>
<object-name>To-flag</object-name>
<object-name>From-flag</object-name>
<property>instrumentation/nav/radials/selected-deg</property>
<axis>
<x>-1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>-0.099</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>kfc-crs.001</object-name>
<property>instrumentation/nav/heading-needle-deflection</property>
<interpolation>
<entry>
<ind>-10.0</ind><dep>-0.0193</dep>
</entry>
<entry>
<ind>0.0</ind><dep>0.0</dep>
</entry>
<entry>
<ind>10.0</ind><dep>0.0193</dep>
</entry>
</interpolation>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>-0.099</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>GSneedle</object-name>
<property>instrumentation/nav/gs-needle-deflection</property>
<interpolation>
<entry>
<ind>-9999.0</ind><dep>-0.0183</dep>
</entry>
<entry>
<ind>-10.0</ind><dep>-0.0183</dep>
</entry>
<entry>
<ind>0.0</ind><dep>0.0</dep>
</entry>
<entry>
<ind>10.0</ind><dep>0.0183</dep>
</entry>
<entry>
<ind>9999.0</ind><dep>0.0183</dep>
</entry>
</interpolation>
<axis>
<x>0.0</x>
<y>0.0</y>
<z>1.0</z>
</axis>
<center>
<x-m>0.0</x-m>
<y-m>0.0</y-m>
<z-m>-0.104</z-m>
</center>
</animation>
<animation>
<type>select</type>
<object-name>To-flag</object-name>
<condition>
<equals>
<property>instrumentation/nav/to-flag</property>
<value>true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>From-flag</object-name>
<condition>
<equals>
<property>instrumentation/nav/from-flag</property>
<value>true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>nav-warning</object-name>
<condition>
<equals>
<property>instrumentation/nav/in-range</property>
<value>false</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>hdg-warning</object-name>
<condition>
<less-than>
<property>systems/electrical/outputs/nav</property>
<value>0.2</value>
</less-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>GSneedle</object-name>
<condition>
<and>
<less-than>
<property>instrumentation/nav/gs-distance</property>
<value>30000.0</value>
</less-than>
<equals>
<property>instrumentation/nav/has-gs</property>
<value>true</value>
</equals>
</and>
</condition>
</animation>
</PropertyList>

View file

@ -34,7 +34,7 @@ KNS 80 Nav radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<property>instrumentation/nav/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>-0.05</step>
<min>0.000</min>
@ -53,7 +53,7 @@ KNS 80 Nav radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<property>instrumentation/nav/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>108</min>
@ -72,7 +72,7 @@ KNS 80 Nav radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<property>instrumentation/nav/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>0.05</step>
<min>0.000</min>
@ -91,7 +91,7 @@ KNS 80 Nav radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/nav/frequencies/selected-mhz</property>
<property>instrumentation/nav/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>108</min>

View file

@ -36,7 +36,7 @@ KY196 Comm radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
@ -55,7 +55,7 @@ KY196 Comm radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
@ -74,7 +74,7 @@ KY196 Comm radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
@ -93,7 +93,7 @@ KY196 Comm radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>

View file

@ -35,7 +35,7 @@ KY196 Comm2 radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
@ -54,7 +54,7 @@ KY196 Comm2 radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
@ -73,7 +73,7 @@ KY196 Comm2 radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
@ -92,7 +92,7 @@ KY196 Comm2 radio hotspots
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>