1
0
Fork 0

Heiko Schulz:

A big step at bringing the default aircraft into the state it actually
deserves.

Features:
- new, accurate exterior modell, modelled with original 3-views by Cessna
- textures with shadow shading
- livery changing sytem over mp
- immatriculation over mp
- glass shader with fresnel effect
- nearly complete 3d-panel

Known Bugs:
- Radio_Stack shines through the fuselage. New 3d radio_stack has yet to be done.

To-Do:
- Suction-Instrument
- Interior with much more details and painting
- Radio_stack
- doors openable
- lights
- fully animation of the gear
- failure system by Erobo
This commit is contained in:
martin 2008-10-11 21:50:45 +00:00
parent f704f0ac0a
commit f30e034e55
75 changed files with 116120 additions and 11852 deletions

View file

@ -0,0 +1,27 @@
<?xml version="1.0"?>
<PropertyList>
<default>
<menu n="10">
<label>Cessna C172P</label>
<enabled type="bool">true</enabled>
<item>
<label>Select Livery</label>
<binding>
<command>nasal</command>
<script>aircraft.livery.dialog.toggle()</script>
</binding>
</item>
<item>
<label>Immatriculation</label>
<binding>
<command>nasal</command>
<script>c172p.immat_dialog.toggle()</script>
</binding>
</item>
</menu>
</default>
</PropertyList>

View file

@ -0,0 +1,41 @@
<?xml version="1.0"?>
<PropertyList>
<name>Immatriculation</name>
<layout>vbox</layout>
<modal>false</modal>
<draggable>true</draggable>
<group>
<layout>hbox</layout>
<text>
<label>Immatriculation</label>
</text>
</group>
<group>
<layout>hbox</layout>
<input>
<property>/sim/model/immat</property>
<type>STRING</type>
<width>100</width>
</input>
</group>
<group>
<layout>hbox</layout>
<empty><stretch>true</stretch></empty>
<button>
<legend>OK</legend>
<equal>true</equal>
<default>true</default>
<key>Esc</key>
<binding><command>dialog-apply</command></binding>
<binding><command>dialog-close</command></binding>
</button>
<empty><stretch>true</stretch></empty>
</group>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,128 @@
<?xml version="1.0"?>
<PropertyList>
<path>AI.ac</path>
<animation>
<type>material</type>
<object-name>Aircraft</object-name>
<object-name>CagedIndicator</object-name>
<object-name>Pitch</object-name>
<object-name>Roll</object-name>
<object-name>RollReference</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<name>Pitch</name>
<type>translate</type>
<object-name>Pitch</object-name>
<property>/instrumentation/attitude-indicator/indicated-pitch-deg</property>
<factor>-0.0007</factor>
<min-m>-0.01575</min-m>
<max-m>0.01575</max-m>
<axis>
<x>0.0</x>
<y>0.0</y>
<z>1.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Roll</object-name>
<property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Pitch</object-name>
<property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
<factor>-0.5</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>AdjustCCW</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
<step type="double">-0.5</step>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>AdjustCW</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
<step type="double">0.5</step>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>CageKnob</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/instrumentation/attitude-indicator/caged</property>
<value type="bool">true</value>
</binding>
</action>
</animation>
<animation>
<type>select</type>
<object-name>CagedIndicator</object-name>
<condition>
<property>/instrumentation/attitude-indicator/caged</property>
</condition>
</animation>
<animation>
<type>translate</type>
<object-name>CageKnob</object-name>
<property>/instrumentation/attitude-indicator/caged</property>
<factor>0.005</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,198 @@
<?xml version="1.0"?>
<PropertyList>
<path>Altimeter.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>Ptr10000t</object-name>
<object-name>Ptr1000t</object-name>
<object-name>Ptr100t</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<!--
<animation>
<type>material</type>
<object-name>disk</object-name>
<emission>
<red>0.45</red>
<green>0.09</green>
<blue>0.00001</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
-->
<animation>
<type>rotate</type>
<object-name>Ptr100c</object-name>
<object-name>Ptr100t</object-name>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<factor>0.36</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Ptr1000c</object-name>
<object-name>Ptr1000t</object-name>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<factor>0.036</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Ptr10000c</object-name>
<object-name>Ptr10000t</object-name>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<factor>0.0036</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- <animation>
<type>texrotate</type>
<object-name>inhg</object-name>
<property>/instrumentation/altimeter/setting-inhg</property>
<interpolation>
<entry>
<ind>27.90</ind>
<dep>0.0</dep>
</entry>
<entry>
<ind>28.0</ind>
<dep>9.35</dep>
</entry>
<entry>
<ind>28.5</ind>
<dep>59.0</dep>
</entry>
<entry>
<ind>29.0</ind>
<dep>109.0</dep>
</entry>
<entry>
<ind>29.5</ind>
<dep>159.5</dep>
</entry>
<entry>
<ind>29.9</ind>
<dep>200.0</dep>
</entry>
<entry>
<ind>30.0</ind>
<dep>210.0</dep>
</entry>
<entry>
<ind>30.5</ind>
<dep>261.0</dep>
</entry>
<entry>
<ind>31.0</ind>
<dep>310.0</dep>
</entry>
<entry>
<ind>31.4</ind>
<dep>350.0</dep>
</entry>
</interpolation>
<center>
<x>0.25</x>
<y>0.25</y>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
</animation>
-->
<!-- Altimeter -->
<animation>
<type>pick</type>
<object-name>AdjDn</object-name>
<visible>false</visible>
<action>
<name>decrease calibrate fine</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>-0.01</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>decrease calibrate coarse</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>-0.1</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>AdjUp</object-name>
<visible>false</visible>
<action>
<name>increase calibrate fine</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>0.01</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>increase calibrate coarse</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/altimeter/setting-inhg</property>
<step>0.1</step>
<min>26.0</min>
<max>33.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
</PropertyList>

View file

@ -0,0 +1,947 @@
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 "InstrumentBezel.002" rgb 0.042666 0.042666 0.042666 amb 0.5 0.5 0.5 emis 0 0 0 spec 0.123149 0.123149 0.123149 shi 32 trans 0
MATERIAL "DefaultWhite.003" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
MATERIAL "BlackPlastic.002" rgb 0.153331 0.153331 0.153331 amb 0.5 0.5 0.5 emis 0 0 0 spec 0.186866 0.186866 0.186866 shi 32 trans 0
MATERIAL "WhitePointer" rgb 1 1 1 amb 0.5 0.5 0.5 emis 0 0 0 spec 0.579617 0.579617 0.579617 shi 32 trans 0
OBJECT world
kids 7
OBJECT poly
name "Bezel"
data 10
Circle.018
crease 30.000000
numvert 64
0 0.014389 -0.014389
0 0.011305 -0.016919
0 0.007787 -0.018799
0 0.00397 -0.019958
0 0 -0.020348
0 -0.00397 -0.019958
0 -0.007787 -0.018799
0 -0.011305 -0.016919
0 -0.014388 -0.014389
0 -0.016919 -0.011305
0 -0.018799 -0.007787
0 -0.019957 -0.00397
0 -0.020348 0
0 -0.019957 0.00397
0 -0.018799 0.007787
0 -0.016919 0.011305
0 -0.014388 0.014388
0 -0.011305 0.016919
0 -0.007787 0.018799
0 -0.00397 0.019957
0 0 0.020348
0 0.00397 0.019957
0 0.007787 0.018799
0 0.011305 0.016919
0 0.014389 0.014388
0 0.016919 0.011305
0 0.018799 0.007787
0 0.019958 0.00397
0 0.020348 0
0 0.019957 -0.00397
0 0.018799 -0.007787
0 0.016919 -0.011305
-0.002856 0.012949 -0.012949
-0.002856 0.010174 -0.015227
-0.002856 0.007008 -0.01692
-0.002856 0.003573 -0.017961
-0.002856 0 -0.018313
-0.002856 -0.003573 -0.017961
-0.002856 -0.007008 -0.01692
-0.002856 -0.010174 -0.015227
-0.002856 -0.012949 -0.012949
-0.002856 -0.015227 -0.010175
-0.002856 -0.016919 -0.007008
-0.002856 -0.017961 -0.003573
-0.002856 -0.018313 0
-0.002856 -0.017961 0.003573
-0.002856 -0.016919 0.007008
-0.002856 -0.015227 0.010174
-0.002856 -0.012949 0.012949
-0.002856 -0.010174 0.015227
-0.002856 -0.007008 0.016919
-0.002856 -0.003573 0.017961
-0.002856 0 0.018313
-0.002856 0.003573 0.017961
-0.002856 0.007008 0.016919
-0.002856 0.010175 0.015227
-0.002856 0.012949 0.012949
-0.002856 0.015227 0.010174
-0.002856 0.01692 0.007008
-0.002856 0.017961 0.003573
-0.002856 0.018313 0
-0.002856 0.017961 -0.003573
-0.002856 0.01692 -0.007008
-0.002856 0.015227 -0.010175
numsurf 32
SURF 0x10
mat 1
refs 4
1 0.0 0.0
0 0.0 0.0
32 0.0 0.0
33 0.0 0.0
SURF 0x10
mat 1
refs 4
2 0.0 0.0
1 0.0 0.0
33 0.0 0.0
34 0.0 0.0
SURF 0x10
mat 1
refs 4
3 0.0 0.0
2 0.0 0.0
34 0.0 0.0
35 0.0 0.0
SURF 0x10
mat 1
refs 4
4 0.0 0.0
3 0.0 0.0
35 0.0 0.0
36 0.0 0.0
SURF 0x10
mat 1
refs 4
5 0.0 0.0
4 0.0 0.0
36 0.0 0.0
37 0.0 0.0
SURF 0x10
mat 1
refs 4
6 0.0 0.0
5 0.0 0.0
37 0.0 0.0
38 0.0 0.0
SURF 0x10
mat 1
refs 4
7 0.0 0.0
6 0.0 0.0
38 0.0 0.0
39 0.0 0.0
SURF 0x10
mat 1
refs 4
8 0.0 0.0
7 0.0 0.0
39 0.0 0.0
40 0.0 0.0
SURF 0x10
mat 1
refs 4
9 0.0 0.0
8 0.0 0.0
40 0.0 0.0
41 0.0 0.0
SURF 0x10
mat 1
refs 4
10 0.0 0.0
9 0.0 0.0
41 0.0 0.0
42 0.0 0.0
SURF 0x10
mat 1
refs 4
11 0.0 0.0
10 0.0 0.0
42 0.0 0.0
43 0.0 0.0
SURF 0x10
mat 1
refs 4
12 0.0 0.0
11 0.0 0.0
43 0.0 0.0
44 0.0 0.0
SURF 0x10
mat 1
refs 4
13 0.0 0.0
12 0.0 0.0
44 0.0 0.0
45 0.0 0.0
SURF 0x10
mat 1
refs 4
14 0.0 0.0
13 0.0 0.0
45 0.0 0.0
46 0.0 0.0
SURF 0x10
mat 1
refs 4
15 0.0 0.0
14 0.0 0.0
46 0.0 0.0
47 0.0 0.0
SURF 0x10
mat 1
refs 4
16 0.0 0.0
15 0.0 0.0
47 0.0 0.0
48 0.0 0.0
SURF 0x10
mat 1
refs 4
17 0.0 0.0
16 0.0 0.0
48 0.0 0.0
49 0.0 0.0
SURF 0x10
mat 1
refs 4
18 0.0 0.0
17 0.0 0.0
49 0.0 0.0
50 0.0 0.0
SURF 0x10
mat 1
refs 4
19 0.0 0.0
18 0.0 0.0
50 0.0 0.0
51 0.0 0.0
SURF 0x10
mat 1
refs 4
20 0.0 0.0
19 0.0 0.0
51 0.0 0.0
52 0.0 0.0
SURF 0x10
mat 1
refs 4
21 0.0 0.0
20 0.0 0.0
52 0.0 0.0
53 0.0 0.0
SURF 0x10
mat 1
refs 4
22 0.0 0.0
21 0.0 0.0
53 0.0 0.0
54 0.0 0.0
SURF 0x10
mat 1
refs 4
23 0.0 0.0
22 0.0 0.0
54 0.0 0.0
55 0.0 0.0
SURF 0x10
mat 1
refs 4
24 0.0 0.0
23 0.0 0.0
55 0.0 0.0
56 0.0 0.0
SURF 0x10
mat 1
refs 4
25 0.0 0.0
24 0.0 0.0
56 0.0 0.0
57 0.0 0.0
SURF 0x10
mat 1
refs 4
26 0.0 0.0
25 0.0 0.0
57 0.0 0.0
58 0.0 0.0
SURF 0x10
mat 1
refs 4
27 0.0 0.0
26 0.0 0.0
58 0.0 0.0
59 0.0 0.0
SURF 0x10
mat 1
refs 4
28 0.0 0.0
27 0.0 0.0
59 0.0 0.0
60 0.0 0.0
SURF 0x10
mat 1
refs 4
29 0.0 0.0
28 0.0 0.0
60 0.0 0.0
61 0.0 0.0
SURF 0x10
mat 1
refs 4
30 0.0 0.0
29 0.0 0.0
61 0.0 0.0
62 0.0 0.0
SURF 0x10
mat 1
refs 4
31 0.0 0.0
30 0.0 0.0
62 0.0 0.0
63 0.0 0.0
SURF 0x10
mat 1
refs 4
32 0.0 0.0
0 0.0 0.0
31 0.0 0.0
63 0.0 0.0
kids 0
OBJECT poly
name "Case"
data 10
Circle.019
crease 30.000000
numvert 64
-0.002856 0.012949 -0.012949
-0.002856 0.010174 -0.015227
-0.002856 0.007008 -0.01692
-0.002856 0.003573 -0.017961
-0.002856 0 -0.018313
-0.002856 -0.003573 -0.017961
-0.002856 -0.007008 -0.01692
-0.002856 -0.010174 -0.015227
-0.002856 -0.012949 -0.012949
-0.002856 -0.015227 -0.010175
-0.002856 -0.016919 -0.007008
-0.002856 -0.017961 -0.003573
-0.002856 -0.018313 0
-0.002856 -0.017961 0.003573
-0.002856 -0.016919 0.007008
-0.002856 -0.015227 0.010174
-0.002856 -0.012949 0.012949
-0.002856 -0.010174 0.015227
-0.002856 -0.007008 0.016919
-0.002856 -0.003573 0.017961
-0.002856 0 0.018313
-0.002856 0.003573 0.017961
-0.002856 0.007008 0.016919
-0.002856 0.010175 0.015227
-0.002856 0.012949 0.012949
-0.002856 0.015227 0.010174
-0.002856 0.01692 0.007008
-0.002856 0.017961 0.003573
-0.002856 0.018313 0
-0.002856 0.017961 -0.003573
-0.002856 0.01692 -0.007008
-0.002856 0.015227 -0.010175
-0.00714 0.012949 -0.012949
-0.00714 0.010174 -0.015227
-0.00714 0.007008 -0.01692
-0.00714 0.003573 -0.017961
-0.00714 0 -0.018313
-0.00714 -0.003573 -0.017961
-0.00714 -0.007008 -0.01692
-0.00714 -0.010174 -0.015227
-0.00714 -0.012949 -0.012949
-0.00714 -0.015227 -0.010175
-0.00714 -0.016919 -0.007008
-0.00714 -0.017961 -0.003573
-0.00714 -0.018313 0
-0.00714 -0.017961 0.003573
-0.00714 -0.016919 0.007008
-0.00714 -0.015227 0.010174
-0.00714 -0.012949 0.012949
-0.00714 -0.010174 0.015227
-0.00714 -0.007008 0.016919
-0.00714 -0.003573 0.017961
-0.00714 0 0.018313
-0.00714 0.003573 0.017961
-0.00714 0.007008 0.016919
-0.00714 0.010175 0.015227
-0.00714 0.012949 0.012949
-0.00714 0.015227 0.010174
-0.00714 0.01692 0.007008
-0.00714 0.017961 0.003573
-0.00714 0.018313 0
-0.00714 0.017961 -0.003573
-0.00714 0.01692 -0.007008
-0.00714 0.015227 -0.010175
numsurf 32
SURF 0x10
mat 1
refs 4
1 0.0 0.0
0 0.0 0.0
32 0.0 0.0
33 0.0 0.0
SURF 0x10
mat 1
refs 4
2 0.0 0.0
1 0.0 0.0
33 0.0 0.0
34 0.0 0.0
SURF 0x10
mat 1
refs 4
3 0.0 0.0
2 0.0 0.0
34 0.0 0.0
35 0.0 0.0
SURF 0x10
mat 1
refs 4
4 0.0 0.0
3 0.0 0.0
35 0.0 0.0
36 0.0 0.0
SURF 0x10
mat 1
refs 4
5 0.0 0.0
4 0.0 0.0
36 0.0 0.0
37 0.0 0.0
SURF 0x10
mat 1
refs 4
6 0.0 0.0
5 0.0 0.0
37 0.0 0.0
38 0.0 0.0
SURF 0x10
mat 1
refs 4
7 0.0 0.0
6 0.0 0.0
38 0.0 0.0
39 0.0 0.0
SURF 0x10
mat 1
refs 4
8 0.0 0.0
7 0.0 0.0
39 0.0 0.0
40 0.0 0.0
SURF 0x10
mat 1
refs 4
9 0.0 0.0
8 0.0 0.0
40 0.0 0.0
41 0.0 0.0
SURF 0x10
mat 1
refs 4
10 0.0 0.0
9 0.0 0.0
41 0.0 0.0
42 0.0 0.0
SURF 0x10
mat 1
refs 4
11 0.0 0.0
10 0.0 0.0
42 0.0 0.0
43 0.0 0.0
SURF 0x10
mat 1
refs 4
12 0.0 0.0
11 0.0 0.0
43 0.0 0.0
44 0.0 0.0
SURF 0x10
mat 1
refs 4
13 0.0 0.0
12 0.0 0.0
44 0.0 0.0
45 0.0 0.0
SURF 0x10
mat 1
refs 4
14 0.0 0.0
13 0.0 0.0
45 0.0 0.0
46 0.0 0.0
SURF 0x10
mat 1
refs 4
15 0.0 0.0
14 0.0 0.0
46 0.0 0.0
47 0.0 0.0
SURF 0x10
mat 1
refs 4
16 0.0 0.0
15 0.0 0.0
47 0.0 0.0
48 0.0 0.0
SURF 0x10
mat 1
refs 4
17 0.0 0.0
16 0.0 0.0
48 0.0 0.0
49 0.0 0.0
SURF 0x10
mat 1
refs 4
18 0.0 0.0
17 0.0 0.0
49 0.0 0.0
50 0.0 0.0
SURF 0x10
mat 1
refs 4
19 0.0 0.0
18 0.0 0.0
50 0.0 0.0
51 0.0 0.0
SURF 0x10
mat 1
refs 4
20 0.0 0.0
19 0.0 0.0
51 0.0 0.0
52 0.0 0.0
SURF 0x10
mat 1
refs 4
21 0.0 0.0
20 0.0 0.0
52 0.0 0.0
53 0.0 0.0
SURF 0x10
mat 1
refs 4
22 0.0 0.0
21 0.0 0.0
53 0.0 0.0
54 0.0 0.0
SURF 0x10
mat 1
refs 4
23 0.0 0.0
22 0.0 0.0
54 0.0 0.0
55 0.0 0.0
SURF 0x10
mat 1
refs 4
24 0.0 0.0
23 0.0 0.0
55 0.0 0.0
56 0.0 0.0
SURF 0x10
mat 1
refs 4
25 0.0 0.0
24 0.0 0.0
56 0.0 0.0
57 0.0 0.0
SURF 0x10
mat 1
refs 4
26 0.0 0.0
25 0.0 0.0
57 0.0 0.0
58 0.0 0.0
SURF 0x10
mat 1
refs 4
27 0.0 0.0
26 0.0 0.0
58 0.0 0.0
59 0.0 0.0
SURF 0x10
mat 1
refs 4
28 0.0 0.0
27 0.0 0.0
59 0.0 0.0
60 0.0 0.0
SURF 0x10
mat 1
refs 4
29 0.0 0.0
28 0.0 0.0
60 0.0 0.0
61 0.0 0.0
SURF 0x10
mat 1
refs 4
30 0.0 0.0
29 0.0 0.0
61 0.0 0.0
62 0.0 0.0
SURF 0x10
mat 1
refs 4
31 0.0 0.0
30 0.0 0.0
62 0.0 0.0
63 0.0 0.0
SURF 0x10
mat 1
refs 4
0 0.0 0.0
31 0.0 0.0
63 0.0 0.0
32 0.0 0.0
kids 0
OBJECT poly
name "Face"
data 10
Circle.020
texture "BatteryGauge.rgb"
texrep 1 1
crease 30.000000
numvert 33
-0.00714 0.012949 -0.012949
-0.00714 0.010174 -0.015227
-0.00714 0.007008 -0.01692
-0.00714 0.003573 -0.017961
-0.00714 0 -0.018313
-0.00714 -0.003573 -0.017961
-0.00714 -0.007008 -0.01692
-0.00714 -0.010174 -0.015227
-0.00714 -0.012949 -0.012949
-0.00714 -0.015227 -0.010175
-0.00714 -0.016919 -0.007008
-0.00714 -0.017961 -0.003573
-0.00714 -0.018313 0
-0.00714 -0.017961 0.003573
-0.00714 -0.016919 0.007008
-0.00714 -0.015227 0.010174
-0.00714 -0.012949 0.012949
-0.00714 -0.010174 0.015227
-0.00714 -0.007008 0.016919
-0.00714 -0.003573 0.017961
-0.00714 0 0.018313
-0.00714 0.003573 0.017961
-0.00714 0.007008 0.016919
-0.00714 0.010175 0.015227
-0.00714 0.012949 0.012949
-0.00714 0.015227 0.010174
-0.00714 0.01692 0.007008
-0.00714 0.017961 0.003573
-0.00714 0.018313 0
-0.00714 0.017961 -0.003573
-0.00714 0.01692 -0.007008
-0.00714 0.015227 -0.010175
-0.00714 0 0
numsurf 32
SURF 0x00
mat 2
refs 3
1 0.899101793766 0.766666650772
0 0.839405894279 0.839405894279
32 0.5 0.5
SURF 0x00
mat 2
refs 3
2 0.943471431732 0.683691263199
1 0.899101793766 0.766666650772
32 0.5 0.5
SURF 0x00
mat 2
refs 3
3 0.970774292946 0.593642115593
2 0.943471431732 0.683691263199
32 0.5 0.5
SURF 0x00
mat 2
refs 3
4 0.980000019073 0.5
3 0.970774292946 0.593642115593
32 0.5 0.5
SURF 0x00
mat 2
refs 3
5 0.970774292946 0.406357884407
4 0.980000019073 0.5
32 0.5 0.5
SURF 0x00
mat 2
refs 3
6 0.943471431732 0.316308736801
5 0.970774292946 0.406357884407
32 0.5 0.5
SURF 0x00
mat 2
refs 3
7 0.899101793766 0.233333319426
6 0.943471431732 0.316308736801
32 0.5 0.5
SURF 0x00
mat 2
refs 3
8 0.839405894279 0.160594105721
7 0.899101793766 0.233333319426
32 0.5 0.5
SURF 0x00
mat 2
refs 3
9 0.766685366631 0.100898206234
8 0.839405894279 0.160594105721
32 0.5 0.5
SURF 0x00
mat 2
refs 3
10 0.683691263199 0.0565473437309
9 0.766685366631 0.100898206234
32 0.5 0.5
SURF 0x00
mat 2
refs 3
11 0.593642115593 0.0292257070541
10 0.683691263199 0.0565473437309
32 0.5 0.5
SURF 0x00
mat 2
refs 3
12 0.5 0.0199999809265
11 0.593642115593 0.0292257070541
32 0.5 0.5
SURF 0x00
mat 2
refs 3
13 0.406357884407 0.0292257070541
12 0.5 0.0199999809265
32 0.5 0.5
SURF 0x00
mat 2
refs 3
14 0.316308736801 0.0565473735332
13 0.406357884407 0.0292257070541
32 0.5 0.5
SURF 0x00
mat 2
refs 3
15 0.233333319426 0.100898236036
14 0.316308736801 0.0565473735332
32 0.5 0.5
SURF 0x00
mat 2
refs 3
16 0.160594135523 0.160594135523
15 0.233333319426 0.100898236036
32 0.5 0.5
SURF 0x00
mat 2
refs 3
17 0.100898236036 0.23333337903
16 0.160594135523 0.160594135523
32 0.5 0.5
SURF 0x00
mat 2
refs 3
18 0.0565473437309 0.316308796406
17 0.100898236036 0.23333337903
32 0.5 0.5
SURF 0x00
mat 2
refs 3
19 0.0292257070541 0.406357914209
18 0.0565473437309 0.316308796406
32 0.5 0.5
SURF 0x00
mat 2
refs 3
20 0.0199999809265 0.5
19 0.0292257070541 0.406357914209
32 0.5 0.5
SURF 0x00
mat 2
refs 3
21 0.0292257070541 0.593642115593
20 0.0199999809265 0.5
32 0.5 0.5
SURF 0x00
mat 2
refs 3
22 0.0565473735332 0.683691263199
21 0.0292257070541 0.593642115593
32 0.5 0.5
SURF 0x00
mat 2
refs 3
23 0.100898265839 0.76668548584
22 0.0565473735332 0.683691263199
32 0.5 0.5
SURF 0x00
mat 2
refs 3
24 0.160594165325 0.839405894279
23 0.100898265839 0.76668548584
32 0.5 0.5
SURF 0x00
mat 2
refs 3
25 0.23333337903 0.899101793766
24 0.160594165325 0.839405894279
32 0.5 0.5
SURF 0x00
mat 2
refs 3
26 0.316308796406 0.943471312523
25 0.23333337903 0.899101793766
32 0.5 0.5
SURF 0x00
mat 2
refs 3
27 0.406357914209 0.970774292946
26 0.316308796406 0.943471312523
32 0.5 0.5
SURF 0x00
mat 2
refs 3
28 0.500000059605 0.980000019073
27 0.406357914209 0.970774292946
32 0.5 0.5
SURF 0x00
mat 2
refs 3
29 0.593642115593 0.970774292946
28 0.500000059605 0.980000019073
32 0.5 0.5
SURF 0x00
mat 2
refs 3
30 0.683691263199 0.943471312523
29 0.593642115593 0.970774292946
32 0.5 0.5
SURF 0x00
mat 2
refs 3
31 0.766685366631 0.899101793766
30 0.683691263199 0.943471312523
32 0.5 0.5
SURF 0x00
mat 2
refs 3
0 0.839405894279 0.839405894279
31 0.766685366631 0.899101793766
32 0.5 0.5
kids 0
OBJECT poly
name "PtrL"
data 9
Plane.009
crease 30.000000
numvert 6
-0.004998 -0.000725 0.009283
-0.004998 -0.000707 0.017851
-0.004998 0.000721 0.017848
-0.004998 0.000703 0.00928
-0.008568 -0.000707 0.017851
-0.008568 0.000721 0.017848
numsurf 2
SURF 0x00
mat 3
refs 4
0 0.0 0.0
3 0.0 0.0
2 0.0 0.0
1 0.0 0.0
SURF 0x00
mat 3
refs 4
1 0.0 0.0
2 0.0 0.0
5 0.0 0.0
4 0.0 0.0
kids 0
OBJECT poly
name "PtrR"
data 9
Plane.012
crease 30.000000
numvert 6
-0.004998 -0.002635 -0.009973
-0.004998 0.002824 -0.016575
-0.004998 0.001724 -0.017486
-0.004998 -0.003735 -0.010882
-0.008568 0.002824 -0.016575
-0.008568 0.001724 -0.017486
numsurf 2
SURF 0x00
mat 3
refs 4
0 0.0 0.0
3 0.0 0.0
2 0.0 0.0
1 0.0 0.0
SURF 0x00
mat 3
refs 4
1 0.0 0.0
2 0.0 0.0
5 0.0 0.0
4 0.0 0.0
kids 0
OBJECT poly
name "PtrTipL"
data 9
Plane.010
crease 30.000000
numvert 6
-0.004998 -0.000734 0.004999
-0.004998 -0.000725 0.009283
-0.004998 0.000703 0.00928
-0.004998 0.000695 0.004996
-0.004998 -2.4e-005 0.002856
-0.004998 -2.4e-005 0.002856
numsurf 2
SURF 0x00
mat 4
refs 4
0 0.0 0.0
3 0.0 0.0
2 0.0 0.0
1 0.0 0.0
SURF 0x00
mat 4
refs 4
3 0.0 0.0
0 0.0 0.0
4 0.0 0.0
5 0.0 0.0
kids 0
OBJECT poly
name "PtrTipR"
data 9
Plane.011
crease 30.000000
numvert 6
-0.004998 -0.005364 -0.006671
-0.004998 -0.002635 -0.009973
-0.004998 -0.003735 -0.010882
-0.004998 -0.006465 -0.007582
-0.004998 -0.00728 -0.005475
-0.004998 -0.00728 -0.005475
numsurf 2
SURF 0x00
mat 4
refs 4
0 0.0 0.0
3 0.0 0.0
2 0.0 0.0
1 0.0 0.0
SURF 0x00
mat 4
refs 4
3 0.0 0.0
0 0.0 0.0
4 0.0 0.0
5 0.0 0.0
kids 0

View file

@ -0,0 +1,65 @@
<?xml version="1.0"?>
<PropertyList>
<path>BatteryGauge.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>PtrTipL</object-name>
<object-name>PtrTipR</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>PtrL</object-name>
<object-name>PtrTipL</object-name>
<property>systems/electrical/amps</property>
<interpolation>
<entry><ind>-40</ind><dep>-45</dep></entry>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>40</ind><dep>45</dep></entry>
</interpolation>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>-0.02</y-m>
<z-m>0</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>PtrR</object-name>
<object-name>PtrTipR</object-name>
<property>systems/electrical/volts</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>20</ind><dep>27</dep></entry>
<entry><ind>30</ind><dep>55</dep></entry>
<entry><ind>40</ind><dep>85</dep></entry>
</interpolation>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0.02</y-m>
<z-m>0</z-m>
</center>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,172 @@
# set the timer for the selected function
var UPDATE_PERIOD = 0;
KMA26_timer = func {
settimer(KMA26Update, UPDATE_PERIOD);
}
# =============================== end timer stuff ===========================================
KMA26Update = func {
var volts = props.globals.getNode("/systems/electrical/outputs/audio-marker").getValue();
var dim = 1.0;
var primaryradio = props.globals.getNode("/instrumentation/kma26/primaryradio").getValue();
var lampnorm=0.0;
# ======== Radio Selector Buttons ========
if ( getprop("/instrumentation/kma26/com1sel") or primaryradio==1 )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/com1lampnorm",lampnorm);
} else {
setprop("/instrumentation/kma26/com1lampnorm",0.0);
}
if ( getprop("/instrumentation/kma26/com2sel") or primaryradio==2 )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/com2lampnorm",lampnorm);
} else {
setprop("/instrumentation/kma26/com2lampnorm",0.0);
}
if ( getprop("/instrumentation/kma26/com3sel") or primaryradio==3 )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/com3lampnorm",lampnorm);
setprop("/sim/sound/atc-chatter",1);
} else {
setprop("/instrumentation/kma26/com3lampnorm",0.0);
setprop("/sim/sound/atc-chatter",0);
}
if ( getprop("/instrumentation/kma26/nav1sel") )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/nav1lampnorm",lampnorm);
} else {
setprop("/instrumentation/kma26/nav1lampnorm",0.0);
}
if ( getprop("/instrumentation/kma26/nav2sel") )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/nav2lampnorm",lampnorm);
} else {
setprop("/instrumentation/kma26/nav2lampnorm",0.0);
}
if ( getprop("/instrumentation/kma26/mkrsel") )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/mkrlampnorm",lampnorm);
setprop("/instrumentation/marker-beacon/audio-btn",1);
} else {
setprop("/instrumentation/kma26/mkrlampnorm",0.0);
setprop("/instrumentation/marker-beacon/audio-btn",0);
}
if ( getprop("/instrumentation/kma26/dmesel") )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/dmelampnorm",lampnorm);
} else {
setprop("/instrumentation/kma26/dmelampnorm",0.0);
}
if ( getprop("/instrumentation/kma26/adfsel") )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/adflampnorm",lampnorm);
} else {
setprop("/instrumentation/kma26/adflampnorm",0.0);
}
if ( getprop("/instrumentation/kma26/auxsel") )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/auxlampnorm",lampnorm);
} else {
setprop("/instrumentation/kma26/auxlampnorm",0.0);
}
if ( getprop("/instrumentation/kma26/monisel") )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/monilampnorm",lampnorm);
} else {
setprop("/instrumentation/kma26/monilampnorm",0.0);
}
# ======== Marker Lights ========
if ( getprop("/instrumentation/marker-beacon/outer") )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/omkrlampnorm",lampnorm);
} else {
setprop("/instrumentation/kma26/omkrlampnorm",0.0);
}
if ( getprop("/instrumentation/marker-beacon/middle") )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/mmkrlampnorm",lampnorm);
} else {
setprop("/instrumentation/kma26/mmkrlampnorm",0.0);
}
if ( getprop("/instrumentation/marker-beacon/inner") )
{
lampnorm = volts * dim * 0.041666;
setprop("/instrumentation/kma26/imkrlampnorm",lampnorm);
} else {
setprop("/instrumentation/kma26/imkrlampnorm",0.0);
}
KMA26_timer();
}
####################### Initialise ##############################################
initialize = func {
### Initialise KMA26 ###
props.globals.getNode("/instrumentation/kma26/com1sel", 1).setBoolValue(0);
props.globals.getNode("/instrumentation/kma26/com2sel", 1).setBoolValue(0);
props.globals.getNode("/instrumentation/kma26/com3sel", 1).setBoolValue(0);
props.globals.getNode("/instrumentation/kma26/nav1sel", 1).setBoolValue(0);
props.globals.getNode("/instrumentation/kma26/nav2sel", 1).setBoolValue(0);
props.globals.getNode("/instrumentation/kma26/mkrsel", 1).setBoolValue(0);
props.globals.getNode("/instrumentation/kma26/adfsel", 1).setBoolValue(0);
props.globals.getNode("/instrumentation/kma26/dmesel", 1).setBoolValue(0);
props.globals.getNode("/instrumentation/kma26/auxsel", 1).setBoolValue(0);
props.globals.getNode("/instrumentation/kma26/monisel", 1).setBoolValue(0);
props.globals.getNode("/instrumentation/kma26/com1lampnorm", 1).setDoubleValue(0);
props.globals.getNode("/instrumentation/kma26/com2lampnorm", 1).setDoubleValue(0);
props.globals.getNode("/instrumentation/kma26/com3lampnorm", 1).setDoubleValue(0);
props.globals.getNode("/instrumentation/kma26/nav1lampnorm", 1).setDoubleValue(0);
props.globals.getNode("/instrumentation/kma26/nav2lampnorm", 1).setDoubleValue(0);
props.globals.getNode("/instrumentation/kma26/mkrlampnorm", 1).setDoubleValue(0);
props.globals.getNode("/instrumentation/kma26/adflampnorm", 1).setDoubleValue(0);
props.globals.getNode("/instrumentation/kma26/dmelampnorm", 1).setDoubleValue(0);
props.globals.getNode("/instrumentation/kma26/auxlampnorm", 1).setDoubleValue(0);
props.globals.getNode("/instrumentation/kma26/monilampnorm", 1).setDoubleValue(0);
props.globals.getNode("/instrumentation/kma26/primaryradio", 1).setIntValue(2);
KMA26Update();
# Finished Initialising
print ("KMA26 : initialised");
var initialized = 1;
} #end func
######################### Fire it up ############################################
setlistener("/sim/signals/electrical-initialized",initialize);

View file

@ -0,0 +1,565 @@
<?xml version="1.0"?>
<PropertyList>
<path>KMA26.ac</path>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>MkrMute</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>Com1B</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/instrumentation/kma26/com1sel</property>
<value type="bool">true</value>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>Com1L</object-name>
<emission>
<red>0.2</red>
<green>1.0</green>
<blue>0.2</blue>
<factor-prop>/instrumentation/kma26/com1lampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>Com2B</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/instrumentation/kma26/com2sel</property>
<value type="bool">true</value>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>Com2L</object-name>
<emission>
<red>0.2</red>
<green>1.0</green>
<blue>0.2</blue>
<factor-prop>/instrumentation/kma26/com2lampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>Com3B</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/instrumentation/kma26/com3sel</property>
<value type="bool">true</value>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>Com3L</object-name>
<emission>
<red>0.2</red>
<green>1.0</green>
<blue>0.2</blue>
<factor-prop>/instrumentation/kma26/com3lampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>Nav1B</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/instrumentation/kma26/nav1sel</property>
<value type="bool">true</value>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>Nav1L</object-name>
<emission>
<red>0.2</red>
<green>1.0</green>
<blue>0.2</blue>
<factor-prop>/instrumentation/kma26/nav1lampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>Nav2B</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/instrumentation/kma26/nav2sel</property>
<value type="bool">true</value>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>Nav2L</object-name>
<emission>
<red>0.2</red>
<green>1.0</green>
<blue>0.2</blue>
<factor-prop>/instrumentation/kma26/nav2lampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>MkrB</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/instrumentation/kma26/mkrsel</property>
<value type="bool">true</value>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>MkrL</object-name>
<emission>
<red>0.2</red>
<green>1.0</green>
<blue>0.2</blue>
<factor-prop>/instrumentation/kma26/mkrlampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>AdfB</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/instrumentation/kma26/adfsel</property>
<value type="bool">true</value>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>AdfL</object-name>
<emission>
<red>0.2</red>
<green>1.0</green>
<blue>0.2</blue>
<factor-prop>/instrumentation/kma26/adflampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>DmeB</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/instrumentation/kma26/dmesel</property>
<value type="bool">true</value>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>DmeL</object-name>
<emission>
<red>0.2</red>
<green>1.0</green>
<blue>0.2</blue>
<factor-prop>/instrumentation/kma26/dmelampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>AuxB</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/instrumentation/kma26/auxsel</property>
<value type="bool">true</value>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>AuxL</object-name>
<emission>
<red>0.2</red>
<green>1.0</green>
<blue>0.2</blue>
<factor-prop>/instrumentation/kma26/auxlampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>pick</type>
<visible>true</visible>
<object-name>MoniB</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/instrumentation/kma26/monisel</property>
<value type="bool">true</value>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>MoniL</object-name>
<emission>
<red>0.2</red>
<green>1.0</green>
<blue>0.2</blue>
<factor-prop>/instrumentation/kma26/monilampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>Switch1</object-name>
<property>instrumentation/kma26/sens</property>
<factor>15</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
<center>
<x-m>0.01</x-m>
<y-m>0</y-m>
<z-m>0.0245</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>SensHi</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kma26/sens</property>
<value type="double">1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>SensLo</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kma26/sens</property>
<value type="double">0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>SensTest</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kma26/sens</property>
<value type="double">-1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/instrumentation/kma26/sens</property>
<value type="double">0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>Switch2</object-name>
<property>instrumentation/kma26/crewsel</property>
<factor>15</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
<center>
<x-m>0.01</x-m>
<y-m>0</y-m>
<z-m>0.009</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>SelPilot</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kma26/crewsel</property>
<value type="double">1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>SelCrew</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kma26/crewsel</property>
<value type="double">0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>SelAll</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/kma26/crewsel</property>
<value type="double">-1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>LeftOuterDn</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>LeftOuterUp</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>LeftInnerDn</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>LeftInnerUp</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>OuterKnob2</object-name>
<property>/instrumentation/kma26/primaryradio</property>
<factor>25</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0.0575</y-m>
<z-m>0.015</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>RightOuterDn</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/kma26/primaryradio</property>
<step type="int">-1</step>
<min>0</min>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>RightOuterUp</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/kma26/primaryradio</property>
<step type="int">1</step>
<max>4</max>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>RightInnerDn</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<visible>false</visible>
<object-name>RightInnerUp</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>OuterLamp</object-name>
<emission>
<red>0.9</red>
<green>0.9</green>
<blue>0.9</blue>
<factor-prop>/instrumentation/kma26/omkrlampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>MiddleLamp</object-name>
<emission>
<red>0.9</red>
<green>0.9</green>
<blue>0.9</blue>
<factor-prop>/instrumentation/kma26/mmkrlampnorm</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>InnerLamp</object-name>
<emission>
<red>0.9</red>
<green>0.9</green>
<blue>0.9</blue>
<factor-prop>/instrumentation/kma26/imkrlampnorm</factor-prop>
</emission>
</animation>
</PropertyList>

View file

@ -0,0 +1,39 @@
<click>
<name>KMA26HiSens</name>
<path>Sounds/click.wav</path>
<condition>
<equals>
<property>instrumentation/kma26/sens</property>
<value>1</value>
</equals>
</condition>
<volume>
<factor>0.5</factor>
</volume>
</click>
<click>
<name>KMA26LoSens</name>
<path>Sounds/click.wav</path>
<condition>
<equals>
<property>instrumentation/kma26/sens</property>
<value>0</value>
</equals>
</condition>
<volume>
<factor>0.5</factor>
</volume>
</click>
<click>
<name>KMA26SensTest</name>
<path>Sounds/click.wav</path>
<condition>
<equals>
<property>instrumentation/kma26/sens</property>
<value>-1</value>
</equals>
</condition>
<volume>
<factor>0.5</factor>
</volume>
</click>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<PropertyList>
<path>MagneticCompass.ac</path>
<animation>
<type>material</type>
<object-name>Ball</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>Ball</object-name>
<property>instrumentation/magnetic-compass/indicated-heading-deg</property>
<center>
<x-m>-0.022</x-m>
<y-m>0.00</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>0.0</x>
<y>0.0</y>
<z>1.0</z>
</axis>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,41 @@
<?xml version="1.0"?>
<PropertyList>
<path>RPM.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>PointerTip</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>PointerCentre</object-name>
<object-name>PointerTip</object-name>
<property>engines/engine[0]/rpm</property>
<interpolation>
<entry><ind>0</ind><dep>15</dep></entry>
<entry><ind>3000</ind><dep>257</dep></entry>
</interpolation>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,54 @@
<?xml version="1.0"?>
<PropertyList>
<path>Turn.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>PtrTip</object-name>
<object-name>BallEnclosure</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>PtrCtr</object-name>
<object-name>PtrTip</object-name>
<property>/instrumentation/turn-indicator/indicated-turn-rate</property>
<factor>20.0</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Ball</object-name>
<property>/instrumentation/slip-skid-ball/indicated-slip-skid</property>
<factor>21</factor>
<min-deg>-19</min-deg>
<max-deg>19</max-deg>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.05</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,47 @@
<?xml version="1.0"?>
<PropertyList>
<path>VSI.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>PointerTip</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>PointerCentre</object-name>
<object-name>PointerTip</object-name>
<property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
<interpolation>
<entry><ind>-2000</ind><dep>-172</dep></entry>
<entry><ind>-1500</ind><dep>-130</dep></entry>
<entry><ind>-1000</ind><dep>-79</dep></entry>
<entry><ind>-500</ind><dep>-33</dep></entry>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>500</ind><dep>33</dep></entry>
<entry><ind>1000</ind><dep>79</dep></entry>
<entry><ind>1500</ind><dep>130</dep></entry>
<entry><ind>2000</ind><dep>172</dep></entry>
</interpolation>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
</animation>
</PropertyList>

View file

@ -0,0 +1,70 @@
AC3Db
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0.15 0.15 0.15 spec 0.5 0.5 0.5 shi 64 trans 0
OBJECT world
kids 2
OBJECT poly
name "Needle"
loc 0.002501 -0.00207536 0
crease 45.000000
numvert 9
0 0.0135253 -0.001537
0 -0.00689564 -0.001537
0 -0.00689564 0.001537
0 0.0135253 0.001537
0 0.016972 0.000726
0 0.016972 -0.000726
0 0.0262528 -0.000726
0 0.0262528 0.000726
0 0.0291699 0
numsurf 5
SURF 0x0
mat 0
refs 4
0 0 0
3 0 0
2 0 0
1 0 0
SURF 0x0
mat 0
refs 4
3 0 0
0 0 0
5 0 0
4 0 0
SURF 0x0
mat 0
refs 3
5 0 0
6 0 0
8 0 0
SURF 0x0
mat 0
refs 3
8 0 0
7 0 0
4 0 0
SURF 0x0
mat 0
refs 3
8 0 0
4 0 0
5 0 0
kids 0
OBJECT poly
name "Face"
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/asi/asi.rgb"
crease 45.000000
numvert 4
0 0.04 -0.04
0 -0.04 -0.04
0 -0.04 0.04
0 0.04 0.04
numsurf 1
SURF 0x0
mat 0
refs 4
0 0.941406 0.941406
3 0.0507812 0.941406
2 0.0507812 0.0507812
1 0.941406 0.0507812
kids 0

View file

@ -0,0 +1,44 @@
<?xml version="1.0"?>
<PropertyList>
<name>ASI</name>
<path>asi.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>Needle</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>Needle</object-name>
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
<interpolation>
<entry><ind> 10</ind><dep> 3</dep></entry>
<entry><ind> 40</ind><dep> 38</dep></entry>
<entry><ind> 60</ind><dep> 85</dep></entry>
<entry><ind> 80</ind><dep> 146</dep></entry>
<entry><ind> 100</ind><dep> 198</dep></entry>
<entry><ind> 120</ind><dep> 236</dep></entry>
<entry><ind> 140</ind><dep> 274</dep></entry>
<entry><ind> 160</ind><dep> 313</dep></entry>
<entry><ind> 190</ind><dep> 353</dep></entry>
</interpolation>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -0,0 +1,115 @@
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 "Material.001" rgb 1 1 1 amb 0.5 0.5 0.5 emis 0.15 0.15 0.15 spec 1 1 1 shi 72 trans 0
OBJECT world
kids 3
OBJECT poly
name "Face"
data 8
Mesh.005
texture "fuel-oil.rgb"
texrep 1 1
crease 30.000000
numvert 6
0 -0.009802 0.031235
0 0.009802 0.031235
0 0.009802 -0.03347
0 -0.009802 -0.03347
0 -0.009802 -4.6e-005
0 0.009802 7.1e-005
numsurf 2
SURF 0x00
mat 1
refs 4
0 0.00390625 0.2265625
4 0.193539649248 0.226562485099
5 0.192815095186 0.765625059605
1 0.00390625 0.765625
SURF 0x00
mat 1
refs 4
4 0.791512787342 0.226562529802
3 0.994140625 0.2265625
2 0.994140625 0.765625
5 0.790821909904 0.765625059605
kids 0
OBJECT poly
name "LeftFuelNeedle"
data 8
Mesh.004
crease 30.000000
numvert 7
0.001239 0.002861 0.015565
0.001239 -0.018203 0.015565
0.001239 -0.018203 0.016893
0.001239 0.002861 0.016893
0.001239 -0.007671 0.016893
0.001239 -0.007671 0.015565
0.001239 -0.018203 0.016229
numsurf 4
SURF 0x00
mat 1
refs 4
0 0.0 0.0
3 0.0 0.0
4 0.0 0.0
5 0.0 0.0
SURF 0x00
mat 1
refs 3
6 0.0 0.0
5 0.0 0.0
4 0.0 0.0
SURF 0x00
mat 1
refs 3
2 0.0 0.0
6 0.0 0.0
4 0.0 0.0
SURF 0x00
mat 1
refs 3
6 0.0 0.0
1 0.0 0.0
5 0.0 0.0
kids 0
OBJECT poly
name "RightFuelNeedle"
data 8
Mesh.001
crease 30.000000
numvert 7
0.001239 0.002861 -0.015565
0.001239 -0.018203 -0.015565
0.001239 -0.018203 -0.016893
0.001239 0.002861 -0.016893
0.001239 -0.007671 -0.016893
0.001239 -0.007671 -0.015565
0.001239 -0.018203 -0.016229
numsurf 4
SURF 0x00
mat 1
refs 4
0 0.0 0.0
5 0.0 0.0
4 0.0 0.0
3 0.0 0.0
SURF 0x00
mat 1
refs 3
4 0.0 0.0
5 0.0 0.0
6 0.0 0.0
SURF 0x00
mat 1
refs 3
4 0.0 0.0
6 0.0 0.0
2 0.0 0.0
SURF 0x00
mat 1
refs 3
5 0.0 0.0
1 0.0 0.0
6 0.0 0.0
kids 0

View file

@ -0,0 +1,108 @@
<?xml version="1.0"?>
<PropertyList>
<path>c172fuel.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>LeftFuelNeedle</object-name>
<object-name>RightFuelNeedle</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>LeftFuelNeedle</object-name>
<property>/consumables/fuel/tank[0]/level-gal_us</property>
<interpolation>
<entry>
<ind>0</ind>
<dep>-29</dep>
</entry>
<entry>
<ind>5</ind>
<dep>-18</dep>
</entry>
<entry>
<ind>10</ind>
<dep>-7</dep>
</entry>
<entry>
<ind>15</ind>
<dep>5</dep>
</entry>
<entry>
<ind>20</ind>
<dep>16</dep>
</entry>
<entry>
<ind>24</ind>
<dep>27</dep>
</entry>
</interpolation>
<center>
<x-m>0.001</x-m>
<y-m>-0.016</y-m>
<z-m>-0.018</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RightFuelNeedle</object-name>
<property>/consumables/fuel/tank[1]/level-gal_us</property>
<interpolation>
<entry>
<ind>0</ind>
<dep>-29</dep>
</entry>
<entry>
<ind>5</ind>
<dep>-18</dep>
</entry>
<entry>
<ind>10</ind>
<dep>-7</dep>
</entry>
<entry>
<ind>15</ind>
<dep>5</dep>
</entry>
<entry>
<ind>20</ind>
<dep>16</dep>
</entry>
<entry>
<ind>24</ind>
<dep>27</dep>
</entry>
</interpolation>
<center>
<x-m>0.001</x-m>
<y-m>0.016</y-m>
<z-m>-0.018</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -0,0 +1,103 @@
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 "Material.001" rgb 1 1 1 amb 0.5 0.5 0.5 emis 0.15 0.15 0.15 spec 1 1 1 shi 72 trans 0
OBJECT world
kids 3
OBJECT poly
name "Face"
data 8
Mesh.005
texture "fuel-oil.rgb"
texrep 1 1
crease 30.000000
numvert 6
0 -0.009779 0.033505
0 0.009779 0.033374
0 -0.009779 -5.1e-005
0 0.009779 -5e-006
0 -0.009779 -0.033271
0 0.009779 -0.032917
numsurf 2
SURF 0x00
mat 1
refs 4
0 0.189988359809 0.2265625
2 0.394032120705 0.2265625
3 0.394032120705 0.765625
1 0.190780520439 0.765625
SURF 0x00
mat 1
refs 4
2 0.591079771519 0.226562514901
4 0.793088853359 0.226562514901
5 0.790941417217 0.765625
3 0.590524494648 0.765625
kids 0
OBJECT poly
name "OilPressNeedle"
data 8
Mesh.001
crease 30.000000
numvert 6
0.001236 0.002855 -0.017719
0.001236 -0.018162 -0.017719
0.001236 -0.018162 -0.016394
0.001236 0.002855 -0.016394
0.001236 -0.007653 -0.016394
0.001236 -0.007653 -0.017719
numsurf 2
SURF 0x00
mat 1
refs 4
0 0.0 0.0
3 0.0 0.0
4 0.0 0.0
5 0.0 0.0
SURF 0x00
mat 1
refs 4
1 0.0 0.0
5 0.0 0.0
4 0.0 0.0
2 0.0 0.0
kids 0
OBJECT poly
name "OilTempNeedle"
data 8
Mesh.003
crease 30.000000
numvert 7
0.001236 0.002855 0.014881
0.001236 -0.018162 0.014881
0.001236 -0.018162 0.016206
0.001236 0.002855 0.016206
0.001236 -0.007653 0.016206
0.001236 -0.007653 0.014881
0.001236 -0.018162 0.015543
numsurf 4
SURF 0x00
mat 1
refs 4
0 0.0 0.0
3 0.0 0.0
4 0.0 0.0
5 0.0 0.0
SURF 0x00
mat 1
refs 3
6 0.0 0.0
5 0.0 0.0
4 0.0 0.0
SURF 0x00
mat 1
refs 3
2 0.0 0.0
6 0.0 0.0
4 0.0 0.0
SURF 0x00
mat 1
refs 3
6 0.0 0.0
1 0.0 0.0
5 0.0 0.0
kids 0

View file

@ -0,0 +1,98 @@
<?xml version="1.0"?>
<PropertyList>
<path>c172oil.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>OilTempNeedle</object-name>
<object-name>OilPressNeedle</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>OilTempNeedle</object-name>
<property>/engines/engine[0]/oil-temperature-degf</property>
<interpolation>
<entry>
<ind>0</ind>
<dep>-36</dep>
</entry>
<entry>
<ind>75</ind>
<dep>-34</dep>
</entry>
<entry>
<ind>180</ind>
<dep>4</dep>
</entry>
<entry>
<ind>260</ind>
<dep>29</dep>
</entry>
</interpolation>
<center>
<x-m>0.001</x-m>
<y-m>-0.016</y-m>
<z-m>-0.018</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>OilPressNeedle</object-name>
<property>/engines/engine[0]/oil-pressure-psi</property>
<interpolation>
<entry>
<ind>0</ind>
<dep>-29</dep>
</entry>
<entry>
<ind>25</ind>
<dep>-21</dep>
</entry>
<entry>
<ind>60</ind>
<dep>3</dep>
</entry>
<entry>
<ind>90</ind>
<dep>22</dep>
</entry>
<entry>
<ind>120</ind>
<dep>30</dep>
</entry>
</interpolation>
<center>
<x-m>0.001</x-m>
<y-m>0.016</y-m>
<z-m>-0.018</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -0,0 +1,93 @@
AC3Db
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 72 trans 0
OBJECT world
kids 4
OBJECT poly
name "MinuteHand"
numvert 5
0.001119 0.023237 0
0.001119 0.001066 -0.000697
0.001119 0.001066 0.000698
0.001119 0.009934 0.001043
0.001119 0.009934 -0.001043
numsurf 2
SURF 0x00
mat 0
refs 3
0 0.0 0.0
3 0.0 0.0
4 0.0 0.0
SURF 0x00
mat 0
refs 4
1 0.0 0.0
4 0.0 0.0
3 0.0 0.0
2 0.0 0.0
kids 0
OBJECT poly
name "HourHand"
numvert 5
0.000639 0.015039 -3.6e-05
0.000639 0.001074 -0.000704
0.000639 0.001074 0.000691
0.000639 0.011129 0.001247
0.000639 0.011129 -0.001319
numsurf 2
SURF 0x00
mat 0
refs 3
0 0.0 0.0
3 0.0 0.0
4 0.0 0.0
SURF 0x00
mat 0
refs 4
1 0.0 0.0
4 0.0 0.0
3 0.0 0.0
2 0.0 0.0
kids 0
OBJECT poly
name "Face"
texture "/home/m/fgfs/Base/Aircraft/bo105/Instruments/clock/clock.rgb"
texrep 1 1
numvert 4
0 0.026 -0.026
0 -0.026 -0.026
0 -0.026 0.026
0 0.026 0.026
numsurf 1
SURF 0x00
mat 0
refs 4
0 1.0 1.0
3 0.0 1.0
2 0.0 0.0
1 1.0 0.0
kids 0
OBJECT poly
name "SecondHand"
numvert 6
0.001545 0.023124 -0.000413
0.001545 0.001081 -0.000369
0.001545 0.001066 0.000334
0.001545 0.02311 0.00029
0.001545 0.006682 0.000348
0.001545 0.006697 -0.000354
numsurf 2
SURF 0x00
mat 0
refs 4
0 0.0 0.0
3 0.0 0.0
4 0.0 0.0
5 0.0 0.0
SURF 0x00
mat 0
refs 4
1 0.0 0.0
5 0.0 0.0
4 0.0 0.0
2 0.0 0.0
kids 0

View file

@ -0,0 +1,45 @@
<?xml version="1.0"?>
<PropertyList>
<path>clock.ac</path>
<animation>
<type>rotate</type>
<object-name>SecondHand</object-name>
<property>/sim/time/utc/day-seconds</property>
<factor>6</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>MinuteHand</object-name>
<property>/sim/time/utc/day-seconds</property>
<factor>0.1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>HourHand</object-name>
<property>/sim/time/utc/day-seconds</property>
<factor>0.008333</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -0,0 +1,575 @@
AC3Db
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 10 trans 0
MATERIAL "ac3dmat6" rgb 0 1 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 10 trans 1
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0.15 0.15 0.15 spec 0.5 0.5 0.5 shi 64 trans 0
OBJECT world
kids 9
OBJECT poly
name "Face"
loc 0.000119331 0 0
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/hi/hi01.rgb"
crease 45.000000
numvert 6
-0.001458 0.04 -0.04
-0.001458 -0.04 -0.04
-0.001458 -0.04 0.04
-0.001458 0.04 0.04
-0.001458 0 0.04
-0.001458 0 -0.04
numsurf 2
SURF 0x0
mat 2
refs 4
0 0.935547 0.935547
3 0.0566406 0.935547
4 0.0566406 0.496094
5 0.935547 0.496094
SURF 0x0
mat 2
refs 4
4 0.0566406 0.496094
2 0.0566406 0.0566406
1 0.935547 0.0566406
5 0.935547 0.496094
kids 0
OBJECT poly
name "Front"
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/hi/hi02.rgb"
crease 45.000000
numvert 6
0 0.04 -0.04
0 -0.04 -0.04
0 -0.04 0.04
0 0.04 0.04
0 0 0.04
0 0 -0.04
numsurf 2
SURF 0x0
mat 2
refs 4
0 0.994141 0.994141
3 -0.00195312 0.994141
4 -0.00195312 0.496094
5 0.994141 0.496094
SURF 0x0
mat 2
refs 4
4 -0.00195312 0.496094
2 -0.00195312 -0.00195312
1 0.994141 -0.00195312
5 0.994141 0.496094
kids 0
OBJECT poly
name "OBS-Knob"
loc 0 -0.0297401 0.0293165
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/hi/knob.rgb"
crease 101.000000
numvert 20
0.01 9.31323e-09 0
0 0 0
0 -0.00396058 0.00479285
0 -0.00606796 0.00108645
0 -0.00533607 -0.00312831
0 -0.00210738 -0.0058793
0 0.00210739 -0.0058793
0 0.00533608 -0.00312831
0 0.00606796 0.00108645
0 0.00396058 0.00479285
0 0 0.00625662
0.01 -0.00396058 0.00479285
0.01 9.31323e-09 0.00625662
0.01 -0.00606796 0.00108645
0.01 -0.00533607 -0.00312831
0.01 -0.00210737 -0.0058793
0.01 0.00210739 -0.0058793
0.01 0.00533608 -0.00312831
0.01 0.00606797 0.00108645
0.01 0.00396059 0.00479285
numsurf 27
SURF 0x10
mat 0
refs 3
1 0.484454 0.5
10 1 0.5
2 0.879385 0.173648
SURF 0x10
mat 0
refs 3
1 0.484454 0.5
2 0.879385 0.173648
3 0.573978 0
SURF 0x10
mat 0
refs 3
1 0.484454 0.5
3 0.573978 0
4 0.226682 0.0603074
SURF 0x10
mat 0
refs 3
1 0.484454 0.5
4 0.226682 0.0603074
5 0 0.326352
SURF 0x10
mat 0
refs 3
1 0.484454 0.5
5 0 0.326352
6 0 0.673648
SURF 0x10
mat 0
refs 3
1 0.484454 0.5
6 0 0.673648
7 0.226682 0.939693
SURF 0x10
mat 0
refs 3
1 0.484454 0.5
7 0.226682 0.939693
8 0.573978 1
SURF 0x10
mat 0
refs 3
1 0.484454 0.5
8 0.573978 1
9 0.879385 0.826352
SURF 0x10
mat 0
refs 3
1 0.484454 0.5
9 0.879385 0.826352
10 1 0.5
SURF 0x10
mat 0
refs 4
11 0 0
12 0 0
10 0 0
2 0 0
SURF 0x10
mat 0
refs 4
13 0 0
11 0 0
2 0 0
3 0 0
SURF 0x10
mat 0
refs 4
14 0 0
13 0 0
3 0 0
4 0 0
SURF 0x10
mat 0
refs 4
15 0 0
14 0 0
4 0 0
5 0 0
SURF 0x10
mat 0
refs 4
16 0 0
15 0 0
5 0 0
6 0 0
SURF 0x10
mat 0
refs 4
17 0 0
16 0 0
6 0 0
7 0 0
SURF 0x10
mat 0
refs 4
18 0 0
17 0 0
7 0 0
8 0 0
SURF 0x10
mat 0
refs 4
19 0 0
18 0 0
8 0 0
9 0 0
SURF 0x10
mat 0
refs 4
12 0 0
19 0 0
9 0 0
10 0 0
SURF 0x10
mat 0
refs 3
0 0.484454 0.5
12 1 0.5
11 0.879385 0.173648
SURF 0x10
mat 0
refs 3
0 0.484454 0.5
11 0.879385 0.173648
13 0.573978 0
SURF 0x10
mat 0
refs 3
0 0.484454 0.5
13 0.573978 0
14 0.226682 0.0603074
SURF 0x10
mat 0
refs 3
0 0.484454 0.5
14 0.226682 0.0603074
15 0 0.326352
SURF 0x10
mat 0
refs 3
0 0.484454 0.5
15 0 0.326352
16 0 0.673648
SURF 0x10
mat 0
refs 3
0 0.484454 0.5
16 0 0.673648
17 0.226682 0.939693
SURF 0x10
mat 0
refs 3
0 0.484454 0.5
17 0.226682 0.939693
18 0.573978 1
SURF 0x10
mat 0
refs 3
0 0.484454 0.5
18 0.573978 1
19 0.879385 0.826352
SURF 0x10
mat 0
refs 3
0 0.484454 0.5
19 0.879385 0.826352
12 1 0.5
kids 0
OBJECT poly
name "Hdg-Knob"
loc 0 -0.0300775 -0.0298089
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/hi/knob.rgb"
crease 101.000000
numvert 20
0.01 0.00396059 0.00479285
0.01 0.00606797 0.00108645
0.01 0.00533608 -0.00312831
0.01 0.00210739 -0.0058793
0.01 -0.00210737 -0.0058793
0.01 -0.00533607 -0.00312831
0.01 -0.00606796 0.00108645
0.01 1.11759e-08 0.00625662
0.01 -0.00396058 0.00479285
0 0 0.00625662
0 0.00396058 0.00479285
0 0.00606796 0.00108645
0 0.00533608 -0.00312831
0 0.00210739 -0.0058793
0 -0.00210738 -0.0058793
0 -0.00533607 -0.00312831
0 -0.00606796 0.00108645
0 -0.00396058 0.00479285
0 0 0
0.01 1.11759e-08 0
numsurf 27
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
0 0.879385 0.826352
7 1 0.5
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
1 0.573978 1
0 0.879385 0.826352
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
2 0.226682 0.939693
1 0.573978 1
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
3 0 0.673648
2 0.226682 0.939693
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
4 0 0.326352
3 0 0.673648
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
5 0.226682 0.0603074
4 0 0.326352
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
6 0.573978 0
5 0.226682 0.0603074
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
8 0.879385 0.173648
6 0.573978 0
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
7 1 0.5
8 0.879385 0.173648
SURF 0x10
mat 0
refs 4
7 0 0
0 0 0
10 0 0
9 0 0
SURF 0x10
mat 0
refs 4
0 0 0
1 0 0
11 0 0
10 0 0
SURF 0x10
mat 0
refs 4
1 0 0
2 0 0
12 0 0
11 0 0
SURF 0x10
mat 0
refs 4
2 0 0
3 0 0
13 0 0
12 0 0
SURF 0x10
mat 0
refs 4
3 0 0
4 0 0
14 0 0
13 0 0
SURF 0x10
mat 0
refs 4
4 0 0
5 0 0
15 0 0
14 0 0
SURF 0x10
mat 0
refs 4
5 0 0
6 0 0
16 0 0
15 0 0
SURF 0x10
mat 0
refs 4
6 0 0
8 0 0
17 0 0
16 0 0
SURF 0x10
mat 0
refs 4
8 0 0
7 0 0
9 0 0
17 0 0
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
10 0.879385 0.826352
9 1 0.5
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
11 0.573978 1
10 0.879385 0.826352
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
12 0.226682 0.939693
11 0.573978 1
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
13 0 0.673648
12 0.226682 0.939693
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
14 0 0.326352
13 0 0.673648
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
15 0.226682 0.0603074
14 0 0.326352
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
16 0.573978 0
15 0.226682 0.0603074
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
17 0.879385 0.173648
16 0.573978 0
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
9 1 0.5
17 0.879385 0.173648
kids 0
OBJECT poly
name "HdgBug"
loc 0.00155131 0 0
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/hi/hi03.rgb"
crease 45.000000
numvert 6
-0.0011 0 -0.04
-0.0011 0 0.04
-0.0011 0.04 0.04
-0.0011 -0.04 0.04
-0.0011 -0.04 -0.04
-0.0011 0.04 -0.04
numsurf 2
SURF 0x0
mat 2
refs 4
1 0.0520455 0.498392
3 0.0520455 0.0589381
4 0.930952 0.0589381
0 0.930952 0.498392
SURF 0x0
mat 2
refs 4
5 0.930952 0.937845
2 0.0520455 0.937845
1 0.0520455 0.498392
0 0.930952 0.498392
kids 0
OBJECT group
name "clicks"
loc 0.00569378 -0.00756817 0.00125835
kids 1
OBJECT poly
name "click-bug-R"
loc -1.86265e-09 -0.022778 -0.0612388
crease 180.000000
numvert 4
0 -0.00702053 0.0226521
0 -0.00702053 0.0302027
0 0.00702053 0.0226521
0 0.00702053 0.0302027
numsurf 1
SURF 0x30
mat 1
refs 4
3 0 1
1 0 0
0 0.125 0
2 0.125 1
kids 0
OBJECT group
name "clicks"
loc 0.00569378 -0.00756817 0.00125835
kids 1
OBJECT poly
name "click-bug-L"
loc -1.86265e-09 -0.022778 -0.0533867
crease 180.000000
numvert 4
0 0.00702053 0.0302027
0 0.00702053 0.0226521
0 -0.00702053 0.0302027
0 -0.00702053 0.0226521
numsurf 1
SURF 0x30
mat 1
refs 4
0 0 1
2 0 0
3 0.125 0
1 0.125 1
kids 0
OBJECT group
name "clicks"
loc 0.00569378 -0.00756817 0.00125835
kids 1
OBJECT poly
name "click-offset-L"
loc -1.86265e-09 -0.0223161 0.00573575
crease 180.000000
numvert 4
0 -0.00702053 0.0226521
0 -0.00702053 0.0302027
0 0.00702053 0.0226521
0 0.00702053 0.0302027
numsurf 1
SURF 0x30
mat 1
refs 4
3 0 1
1 0 0
0 0.125 0
2 0.125 1
kids 0
OBJECT group
name "clicks"
loc 0.00569378 -0.00756817 0.00125835
kids 1
OBJECT poly
name "click-offset-R"
loc -1.86265e-09 -0.0223161 -0.00211644
crease 180.000000
numvert 4
0 0.00702053 0.0302027
0 0.00702053 0.0226521
0 -0.00702053 0.0302027
0 -0.00702053 0.0226521
numsurf 1
SURF 0x30
mat 1
refs 4
0 0 1
2 0 0
3 0.125 0
1 0.125 1
kids 0

View file

@ -0,0 +1,198 @@
<?xml version="1.0"?>
<PropertyList>
<path>hi.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>Front</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>OBS-Knob</object-name>
<object-name>Hdg-Knob</object-name>
<emission>
<red>0.45</red>
<green>0.09</green>
<blue>0.00001</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>Face</object-name>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>HdgBug</object-name>
<property>/instrumentation/heading-indicator/indicated-heading-deg</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>HdgBug</object-name>
<property>/autopilot/settings/heading-bug-deg</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Heading Bug control -->
<animation>
<type>pick</type>
<object-name>click-bug-L</object-name>
<visible>false</visible>
<action>
<name>small decrease</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>-1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large decrease</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>-5</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>click-bug-R</object-name>
<visible>false</visible>
<action>
<name>small increase</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large increase</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>5</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<!-- Heading Offset -->
<animation>
<type>pick</type>
<object-name>click-offset-L</object-name>
<visible>false</visible>
<action>
<name>small decrease</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/heading-indicator/offset-deg</property>
<step>-1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large decrease</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/heading-indicator/offset-deg</property>
<step>-5</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>click-offset-R</object-name>
<visible>false</visible>
<action>
<name>small increase</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/heading-indicator/offset-deg</property>
<step>1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large increase</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/heading-indicator/offset-deg</property>
<step>5</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
</PropertyList>

View file

@ -0,0 +1,915 @@
<?xml version="1.0"?>
<!--
_______________________________________________________________________________
KAP140 Two Axis with Altitude Preselect autopilot instrument.
3D version started 2007 by Ron Jensen, wino@jentronics.com.
Based on 2D version started 2004 by Roy Vegard Ovesen, rvovesen@tiscali.no.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's animations and actions.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>KAP140TwoAxisAlt</name>
<path>kap140.ac</path>
<!-- Annunciators -->
<animation>
<type>select</type>
<object-name>pitch-axis-fail</object-name>
<name>Pitch Axis Failure</name>
<condition>
<property>/autopilot/KAP140/annunciators/pitchfail</property>
<value type="bool">true</value>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>roll-axis-fail</object-name>
<name>Roll Axis Failure</name>
<condition>
<property>/autopilot/KAP140/annunciators/rollfail</property>
<value type="bool">true</value>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>ap-ann</object-name>
<name>AP Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/ap/state</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>rol-ann</object-name>
<name>ROL Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/rol</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>hdg-ann</object-name>
<name>HDG Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/hdg/state</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>nav-ann</object-name>
<name>NAV Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/nav</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>nav-arm-ann</object-name>
<name>NAV ARM Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/nav-arm</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>apr-ann</object-name>
<name>APR Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/apr</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>apr-arm-ann</object-name>
<name>APR-ARM Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/apr-arm</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>rev-ann</object-name>
<name>REV Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/rev</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>rev-arm-ann</object-name>
<name>REV-ARM Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/rev-arm</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>vs-ann</object-name>
<name>VS Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/vs</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>alt-ann</object-name>
<name>ALT Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/alt</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>alt-arm-ann</object-name>
<name>ALT-ARM Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/alt-arm</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>alert-ann</object-name>
<name>ALERT Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/alt-alert/state</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>gs-ann</object-name>
<name>GS Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/gs</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>gs-arm-ann</object-name>
<name>GS-ARM Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/gs-arm</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>pt-ann</object-name>
<name>Pitch trim annunciator</name>
<condition>
<or>
<and>
<equals>
<property>/autopilot/KAP140/annunciators/pt-up</property>
<value type="bool">true</value>
</equals>
</and>
<and>
<equals>
<property>/autopilot/KAP140/annunciators/pt-dn</property>
<value type="bool">true</value>
</equals>
</and>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>pt-up-ann</object-name>
<name>Pitch trim up annunciator</name>
<condition>
<and>
<equals>
<property>/autopilot/KAP140/annunciators/pt-up</property>
<value type="bool">true</value>
</equals>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>pt-down-ann</object-name>
<name>Pitch trim down annunciator</name>
<condition>
<and>
<equals>
<property>/autopilot/KAP140/annunciators/pt-dn</property>
<value type="bool">true</value>
</equals>
</and>
</condition>
</animation>
<!-- vs-setting -->
<animation>
<type>select</type>
<object-name>fpm-ann</object-name>
<name>FPM Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/vs-number</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>vs-minus</object-name>
<object-name>vs-digits-minus</object-name>
<condition>
<and>
<equals>
<property>/autopilot/KAP140/annunciators/vs-number</property>
<value type="bool">true</value>
</equals>
<greater-than>
<value>0</value>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>vs-digits</object-name>
<condition>
<and>
<equals>
<property>/autopilot/KAP140/annunciators/vs-number</property>
<value type="bool">true</value>
</equals>
<less-than>
<value>0</value>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
</less-than>
</and>
</condition>
</animation>
<animation>
<type>textranslate</type>
<object-name>vs-digit5</object-name>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<condition>
<less-than>
<value>0</value>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
</less-than>
</condition>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<factor>-5800</factor>
<step>0.000017241379</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>vs-digit4</object-name>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<condition>
<less-than>
<value>0</value>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
</less-than>
</condition>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<factor>-580</factor>
<step>0.00017241379</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>vs-digit3</object-name>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<condition>
<less-than>
<value>0</value>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
</less-than>
</condition>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<factor>-58</factor>
<step>0.0017241379</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>vs-digit2</object-name>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<condition>
<less-than>
<value>0</value>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
</less-than>
</condition>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<factor>-5.8</factor>
<step>0.017241379</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>vs-digit5-minus</object-name>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<condition>
<greater-than>
<value>0</value>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
</greater-than>
</condition>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<factor>5800</factor>
<step>0.000017241379</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>vs-digit4-minus</object-name>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<condition>
<greater-than>
<value>0</value>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
</greater-than>
</condition>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<factor>580</factor>
<step>0.00017241379</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>vs-digit3-minus</object-name>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<condition>
<greater-than>
<value>0</value>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
</greater-than>
</condition>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<factor>58</factor>
<step>0.0017241379</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>vs-digit2-minus</object-name>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<condition>
<greater-than>
<value>0</value>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
</greater-than>
</condition>
<property>/autopilot/KAP140/settings/target-pressure-rate</property>
<factor>5.8</factor>
<step>0.017241379</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- alt-setting -->
<animation>
<type>select</type>
<object-name>alt-digits</object-name>
<object-name>ft-ann</object-name>
<name>FT Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/alt-number</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>textranslate</type>
<object-name>alt-digit1</object-name>
<property>/autopilot/KAP140/settings/target-alt-ft</property>
<factor>0.00001</factor>
<step>10000</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>alt-digit2</object-name>
<property>/autopilot/KAP140/settings/target-alt-ft</property>
<factor>0.0001</factor>
<step>1000</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>alt-digit3</object-name>
<property>/autopilot/KAP140/settings/target-alt-ft</property>
<factor>0.001</factor>
<step>100</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>alt-digit4</object-name>
<property>/autopilot/KAP140/settings/target-alt-ft</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>alt-digit5</object-name>
<property>/autopilot/KAP140/settings/target-alt-ft</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- baro-setting-hpa -->
<animation>
<type>select</type>
<object-name>hpa-digits</object-name>
<object-name>hpa-ann</object-name>
<name>hPa Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/bs-hpa-number</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>textranslate</type>
<object-name>hpa-digit2</object-name>
<property>/autopilot/KAP140/settings/baro-setting-hpa</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>hpa-digit3</object-name>
<property>/autopilot/KAP140/settings/baro-setting-hpa</property>
<factor>1</factor>
<step>0.1</step>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>hpa-digit3</object-name>
<property>/autopilot/KAP140/settings/baro-setting-hpa</property>
<factor>10</factor>
<step>0.01</step>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>hpa-digit4</object-name>
<property>/autopilot/KAP140/settings/baro-setting-hpa</property>
<factor>100</factor>
<step>0.001</step>
<bias>0.0005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!--
<name>Baro Setting hPa number</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/bs-hpa-number</property>
<value type="bool">true</value>
</equals>
</condition>
<chunk>
<type>number-value</type>
<property>/autopilot/KAP140/settings/baro-setting-hpa</property>
<scale>1</scale>
<format>%01.3f</format>
</chunk>
-->
<!-- baro-setting-inhg -->
<animation>
<type>select</type>
<object-name>inhg-digits</object-name>
<object-name>hg-ann</object-name>
<object-name>in-ann</object-name>
<name>IN HG Anunciator</name>
<condition>
<equals>
<property>/autopilot/KAP140/annunciators/bs-inhg-number</property>
<value type="bool">true</value>
</equals>
</condition>
</animation>
<animation>
<type>textranslate</type>
<object-name>inhg-digit2</object-name>
<property>/autopilot/KAP140/settings/baro-setting-inhg</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>inhg-digit3</object-name>
<property>/autopilot/KAP140/settings/baro-setting-inhg</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>inhg-digit4</object-name>
<property>/autopilot/KAP140/settings/baro-setting-inhg</property>
<factor>1</factor>
<step>0.1</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>inhg-digit5</object-name>
<property>/autopilot/KAP140/settings/baro-setting-inhg</property>
<factor>10</factor>
<step>0.01</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Actions -->
<animation>
<type>pick</type>
<object-name>ap-btn</object-name>
<action>
<name>AP Button</name>
<button>0</button>
<binding>
<command>nasal</command>
<script>
kap140.apButton();
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>hdg-btn</object-name>
<action>
<name>HDG Button</name>
<button>0</button>
<binding>
<command>nasal</command>
<script>
kap140.hdgButton();
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>nav-btn</object-name>
<action>
<name>NAV Button</name>
<button>0</button>
<binding>
<command>nasal</command>
<script>
kap140.navButton();
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>apr-btn</object-name>
<action>
<name>APR Button</name>
<button>0</button>
<binding>
<command>nasal</command>
<script>
kap140.aprButton();
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>alt-btn</object-name>
<action>
<name>ALT Button</name>
<button>0</button>
<binding>
<command>nasal</command>
<script>
kap140.altButton();
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>rev-btn</object-name>
<action>
<name>REV Button</name>
<button>0</button>
<binding>
<command>nasal</command>
<script>
kap140.revButton();
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>dn-btn</object-name>
<action>
<name>DN Button</name>
<button>0</button>
<binding>
<command>nasal</command>
<script>
kap140.downButton();
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>up-btn</object-name>
<action>
<name>UP Button</name>
<button>0</button>
<binding>
<command>nasal</command>
<script>
kap140.upButton();
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>arm-btn</object-name>
<action>
<name>ARM Button</name>
<button>0</button>
<binding>
<command>nasal</command>
<script>
kap140.armButton();
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>baro-btn</object-name>
<action>
<name>BARO Button</name>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
kap140.baroButtonPress();
</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>
kap140.baroButtonRelease();
</script>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>knob-inner</object-name>
<action>
<name>Knob small down</name>
<button>3</button>
<binding>
<command>nasal</command>
<script>kap140.knobSmallDown();</script>
</binding>
</action>
<action>
<name>Knob small up</name>
<button>4</button>
<binding>
<command>nasal</command>
<script>kap140.knobSmallUp();</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>knob-outer</object-name>
<action>
<name>Knob large down</name>
<button>3</button>
<binding>
<command>nasal</command>
<script>kap140.knobLargeDown();</script>
</binding>
</action>
<action>
<name>Knob large up</name>
<button>4</button>
<binding>
<command>nasal</command>
<script>kap140.knobLargeUp();</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>knob-left</object-name>
<action>
<name>Knob small down</name>
<button>0</button>
<binding>
<command>nasal</command>
<script>kap140.knobSmallDown();</script>
</binding>
</action>
<action>
<name>Knob large down</name>
<button>1</button>
<binding>
<command>nasal</command>
<script>kap140.knobLargeDown();</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>knob-right</object-name>
<action>
<name>Knob small up</name>
<button>0</button>
<binding>
<command>nasal</command>
<script>kap140.knobSmallUp();</script>
</binding>
</action>
<action>
<name>Knob large up</name>
<button>1</button>
<binding>
<command>nasal</command>
<script>kap140.knobLargeUp();</script>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>knob-outer</object-name>
<object-name>knob-inner</object-name>
<object-name>base</object-name>
<object-name>buttons</object-name>
<emission>
<red>0.75</red>
<green>0.25</green>
<blue>0.10</blue>
<factor-prop>/controls/lighting/panel-norm</factor-prop>
</emission>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,49 @@
<?xml version="1.0"?>
<!-- KI 227-00
ADF Heading Indicator -manually rotated compass card
Syd Adams
-->
<PropertyList>
<path>ki227.ac</path>
<animation>
<type>material</type>
<object-name>KI227card</object-name>
<object-name>KI227.needle</object-name>
<object-name>KI227.knob</object-name>
<object-name>KI227.face</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227card</object-name>
<property>/instrumentation/kr-87/inputs/rotation-deg</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227.needle</object-name>
<property>/instrumentation/kr-87/outputs/needle-deg</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -0,0 +1,49 @@
<?xml version="1.0"?>
<!-- KI 227-01
ADF Heading Indicator -HSI driven compass card
Syd Adams
-->
<PropertyList>
<path>ki227.ac</path>
<animation>
<type>material</type>
<object-name>KI227card</object-name>
<object-name>KI227.needle</object-name>
<object-name>KI227.knob</object-name>
<object-name>KI227.face</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227card</object-name>
<property>instrumentation/heading-indicator/indicated-heading-deg</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227.needle</object-name>
<property>/instrumentation/kr-87/outputs/needle-deg</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,274 @@
<?xml version="1.0"?>
<!--
KR 87 ADF radio hotspots
-->
<PropertyList>
<name>kr87 adf hotspots</name>
<w-base>160</w-base>
<h-base>36</h-base>
<w>160</w>
<h>34</h>
<actions>
<!-- ************************ ADF *****************-->
<!--
<action>
<name>bezel outline</name>
<button>0</button>
<x>-80</x>
<y>-17</y>
<w>160</w>
<h>34</h>
</action>
-->
<action>
<name>adf frequency decrease small</name>
<button>0</button>
<x>50</x>
<y>-10</y>
<w>13</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<step>-1</step>
<min>100</min>
<max>1300</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>adf frequency decrease large</name>
<button>1</button>
<x>50</x>
<y>-10</y>
<w>13</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<step>-100</step>
<min>100</min>
<max>1300</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>adf frequency increase small</name>
<button>0</button>
<x>63</x>
<y>-10</y>
<w>13</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<step>1</step>
<min>100</min>
<max>1300</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>adf frequency increase large</name>
<button>1</button>
<x>63</x>
<y>-10</y>
<w>13</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<step>100</step>
<min>100</min>
<max>1300</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>adf volume increase</name>
<button>0</button>
<x>38</x>
<y>-11</y>
<w>7</w>
<h>10</h>
<condition>
<property>instrumentation/kr-87/inputs/power-btn</property>
</condition>
<binding>
<command>property-adjust</command>
<property>instrumentation/kr-87/inputs/volume</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>adf power on</name>
<button>0</button>
<x>38</x>
<y>-11</y>
<w>7</w>
<h>10</h>
<condition>
<not>
<property>instrumentation/kr-87/inputs/power-btn</property>
</not>
</condition>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/power-btn</property>
<value>true</value>
</binding>
</action>
<action>
<name>adf volume decrease</name>
<button>0</button>
<x>31</x>
<y>-11</y>
<w>7</w>
<h>10</h>
<condition>
<greater-than>
<property>instrumentation/kr-87/inputs/volume</property>
<value>0.0</value>
</greater-than>
</condition>
<binding>
<command>property-adjust</command>
<property>instrumentation/kr-87/inputs/volume</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>adf power off</name>
<button>0</button>
<x>31</x>
<y>-11</y>
<w>7</w>
<h>10</h>
<condition>
<equals>
<property>instrumentation/kr-87/inputs/volume</property>
<value>0</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/power-btn</property>
<value>false</value>
</binding>
</action>
<action>
<name>adf button</name>
<button>0</button>
<x>-52</x>
<y>-13</y>
<w>10</w>
<h>5</h>
<binding>
<command>property-toggle</command>
<property>instrumentation/kr-87/inputs/adf-btn</property>
</binding>
</action>
<!-- Button actions -->
<action>
<name>bfo button</name>
<button>0</button>
<x>-37</x>
<y>-13</y>
<w>10</w>
<h>5</h>
<binding>
<command>property-toggle</command>
<property>instrumentation/kr-87/inputs/bfo-btn</property>
</binding>
</action>
<action>
<name>frq button</name>
<button>0</button>
<x>-22</x>
<y>-13</y>
<w>10</w>
<h>5</h>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/frq-btn</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/frq-btn</property>
<value>0</value>
</binding>
</mod-up>
</action>
<action>
<name>flt button</name>
<button>0</button>
<x>-6</x>
<y>-13</y>
<w>10</w>
<h>5</h>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/flt-et-btn</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/flt-et-btn</property>
<value>0</value>
</binding>
</mod-up>
</action>
<action>
<name>set button</name>
<button>0</button>
<x>9</x>
<y>-13</y>
<w>10</w>
<h>5</h>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/set-rst-btn</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/set-rst-btn</property>
<value>0</value>
</binding>
</mod-up>
</action>
</actions>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,309 @@
<?xml version="1.0"?>
<!--
KR-87
Bendix/King ADF Reciever
Syd Adams
-->
<PropertyList>
<path>kr87.ac</path>
<animation>
<type>material</type>
<object-name>KR87.adf</object-name>
<object-name>KR87.bfo</object-name>
<object-name>KR87.frq</object-name>
<object-name>KR87.flt</object-name>
<object-name>KR87.set</object-name>
<object-name>KR87.volume</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<name>in-use-leds</name>
<object-name>freq.001</object-name>
<object-name>freq.002</object-name>
<object-name>freq.003</object-name>
<object-name>freq.004</object-name>
</animation>
<animation>
<name>standby-leds</name>
<object-name>stby.001</object-name>
<object-name>stby.002</object-name>
<object-name>stby.003</object-name>
<object-name>stby.004</object-name>
</animation>
<animation>
<type>select</type>
<object-name>in-use-leds</object-name>
<object-name>standby-leds</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>freq.001</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
<greater-than>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<value>999</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>stby.001</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<or>
<greater-than>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<value>999</value>
</greater-than>
<equals>
<property>instrumentation/kr-87/modes/stby</property>
<value>1</value>
</equals>
</or>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>stby</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<greater-than>
<property>instrumentation/kr-87/modes/stby</property>
<value>0</value>
</greater-than>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>KR87.volume</object-name>
<property>instrumentation/kr-87/inputs/volume</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1.0</ind><dep>300</dep></entry>
</interpolation>
<center>
<x-m>0.00</x-m>
<y-m>0.038</y-m>
<z-m>-0.006</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>KR87.adf</object-name>
<property>instrumentation/kr-87/annunciators/adf</property>
<factor>0.001</factor>
<center>
<x-m>0.00</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>
<!-- FREQUENCIES -->
<animation>
<type>textranslate</type>
<object-name>freq.001</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.0001</factor>
<step>1000</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.002</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.001</factor>
<step>100</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.003</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.004</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Standby -->
<animation>
<type>textranslate</type>
<object-name>stby.001</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.0001</factor>
<step>1000</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.002</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.001</factor>
<step>100</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.003</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.004</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>ant.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/ant</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>adf.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/adf</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>bfo.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/bfo</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>et.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/et</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>flt.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/flt</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>frq.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/frq</property>
</condition>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,716 @@
<?xml version="1.0" ?>
<PropertyList>
<params>
<comm-serviceable>instrumentation/comm[0]/serviceable</comm-serviceable>
<nav-serviceable>instrumentation/nav[0]/serviceable</nav-serviceable>
<power>instrumentation/nav[0]/power-btn</power>
<comm-frq-swp>instrumentation/comm[0]/frq-swap-btn</comm-frq-swp>
<comm-frq-selected>instrumentation/comm[0]/frequencies/selected-khz</comm-frq-selected>
<comm-frq-standby>instrumentation/comm[0]/frequencies/standby-khz</comm-frq-standby>
<comm-frq-mhz-standby>instrumentation/comm[0]/frequencies/standby-mhz</comm-frq-mhz-standby>
<comm-frq-mhz-selected>instrumentation/comm[0]/frequencies/selected-mhz</comm-frq-mhz-selected>
<comm-volume>instrumentation/comm[0]/volume</comm-volume>
<comm-test>instrumentation/comm[0]/test-btn</comm-test>
<nav-frq-swp>instrumentation/nav[0]/frq-swap-btn</nav-frq-swp>
<nav-frq-selected>instrumentation/nav[0]/frequencies/selected-khz</nav-frq-selected>
<nav-frq-standby>instrumentation/nav[0]/frequencies/standby-khz</nav-frq-standby>
<nav-frq-mhz-standby>instrumentation/nav[0]/frequencies/standby-mhz</nav-frq-mhz-standby>
<nav-frq-mhz-selected>instrumentation/nav[0]/frequencies/selected-mhz</nav-frq-mhz-selected>
<nav-volume>instrumentation/nav[0]/volume</nav-volume>
<nav-audio>instrumentation/nav[0]/audio-btn</nav-audio>
</params>
<path>kx165tso.ac</path>
<animation>
<type>select</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<property alias="../../../params/comm-serviceable"/>
<property alias="../../../params/nav-serviceable"/>
<property alias="../../../params/power"/>
</condition>
</animation>
<!-- comm part -->
<animation>
<type>material</type>
<object-name>CommToggle</object-name>
<object-name>NavToggle</object-name>
<emission>
<red-prop>sim/model/instrument-lighting/emission/red</red-prop>
<green-prop>sim/model/instrument-lighting/emission/green</green-prop>
<blue-prop>sim/model/instrument-lighting/emission/blue</blue-prop>
<factor-prop>controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>translate</type>
<object-name>CommToggle</object-name>
<property alias="../../params/comm-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse1M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby1M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- NAV part -->
<animation>
<type>translate</type>
<object-name>NavToggle</object-name>
<property alias="../../params/nav-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse1M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby1M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- knobs and buttons -->
<animation>
<type>rotate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188947</x-m>
<y-m>-0.0620002</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-test"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CommKHz</object-name>
<property alias="../../params/comm-frq-standby"/>
<factor>-1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>-0.022</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavKHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188946</x-m>
<y-m>0.0180001</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-audio"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- actions -->
<animation>
<type>pick</type>
<object-name>CommVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>-0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>-1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>-0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>-1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/comm-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/comm-frq-mhz-selected"/>
<property alias="../../../../params/comm-frq-mhz-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/comm-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/nav-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/nav-frq-mhz-selected"/>
<property alias="../../../../params/nav-frq-mhz-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/nav-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>noshadow</type>
</animation>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>10</max-m>
</animation>
</PropertyList>

View file

@ -0,0 +1,716 @@
<?xml version="1.0" ?>
<PropertyList>
<params>
<comm-serviceable>instrumentation/comm[1]/serviceable</comm-serviceable>
<nav-serviceable>instrumentation/nav[1]/serviceable</nav-serviceable>
<power>instrumentation/nav[1]/power-btn</power>
<comm-frq-swp>instrumentation/comm[1]/frq-swap-btn</comm-frq-swp>
<comm-frq-selected>instrumentation/comm[1]/frequencies/selected-khz</comm-frq-selected>
<comm-frq-standby>instrumentation/comm[1]/frequencies/standby-khz</comm-frq-standby>
<comm-frq-mhz-standby>instrumentation/comm[1]/frequencies/standby-mhz</comm-frq-mhz-standby>
<comm-frq-mhz-selected>instrumentation/comm[1]/frequencies/selected-mhz</comm-frq-mhz-selected>
<comm-volume>instrumentation/comm[1]/volume</comm-volume>
<comm-test>instrumentation/comm[1]/test-btn</comm-test>
<nav-frq-swp>instrumentation/nav[1]/frq-swap-btn</nav-frq-swp>
<nav-frq-selected>instrumentation/nav[1]/frequencies/selected-khz</nav-frq-selected>
<nav-frq-standby>instrumentation/nav[1]/frequencies/standby-khz</nav-frq-standby>
<nav-frq-mhz-standby>instrumentation/nav[1]/frequencies/standby-mhz</nav-frq-mhz-standby>
<nav-frq-mhz-selected>instrumentation/nav[1]/frequencies/selected-mhz</nav-frq-mhz-selected>
<nav-volume>instrumentation/nav[1]/volume</nav-volume>
<nav-audio>instrumentation/nav[1]/audio-btn</nav-audio>
</params>
<path>kx165tso.ac</path>
<animation>
<type>select</type>
<object-name>CommUse</object-name>
<object-name>CommStby</object-name>
<object-name>NavUse</object-name>
<object-name>NavStby</object-name>
<condition>
<property alias="../../../params/comm-serviceable"/>
<property alias="../../../params/nav-serviceable"/>
<property alias="../../../params/power"/>
</condition>
</animation>
<!-- comm part -->
<animation>
<type>material</type>
<object-name>CommToggle</object-name>
<object-name>NavToggle</object-name>
<emission>
<red-prop>sim/model/instrument-lighting/emission/red</red-prop>
<green-prop>sim/model/instrument-lighting/emission/green</green-prop>
<blue-prop>sim/model/instrument-lighting/emission/blue</blue-prop>
<factor-prop>controls/lighting/instruments-norm</factor-prop>
</emission>
</animation>
<animation>
<type>translate</type>
<object-name>CommToggle</object-name>
<property alias="../../params/comm-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse1M</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse100K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommUse10K</object-name>
<property alias="../../params/comm-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby1M</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby100K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>CommStby10K</object-name>
<property alias="../../params/comm-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- NAV part -->
<animation>
<type>translate</type>
<object-name>NavToggle</object-name>
<property alias="../../params/nav-frq-swp"/>
<factor>-0.004</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse1M</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse100K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavUse10K</object-name>
<property alias="../../params/nav-frq-selected"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>100000</step>
<factor>0.000001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>10000</step>
<factor>0.00001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby1M</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>1000</step>
<factor>0.0001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby100K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>NavStby10K</object-name>
<property alias="../../params/nav-frq-standby"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- knobs and buttons -->
<animation>
<type>rotate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188947</x-m>
<y-m>-0.0620002</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>CommVolume</object-name>
<property alias="../../params/comm-test"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>CommKHz</object-name>
<property alias="../../params/comm-frq-standby"/>
<factor>-1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>-0.022</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavKHz</object-name>
<property alias="../../params/nav-frq-standby"/>
<factor>-1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0320882</x-m>
<y-m>0.058</y-m>
<z-m>-0.012</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-volume"/>
<factor>-270</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
<center>
<x-m>0.0188946</x-m>
<y-m>0.0180001</y-m>
<z-m>-0.0139999</z-m>
</center>
</animation>
<animation>
<type>translate</type>
<object-name>NavVolume</object-name>
<property alias="../../params/nav-audio"/>
<factor>0.002</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- actions -->
<animation>
<type>pick</type>
<object-name>CommVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>-0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>0.025</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>-1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-frq-mhz-standby"/>
<step>1</step>
<min>118.0</min>
<max>140.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>-0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>0.025</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickLeft</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>-1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavFreqPickRight</object-name>
<visible>false</visible>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-frq-mhz-standby"/>
<step>1</step>
<min>108.0</min>
<max>118.0</max>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavVolumePickLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-volume"/>
<step>-0.1</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>CommToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/comm-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/comm-frq-mhz-selected"/>
<property alias="../../../../params/comm-frq-mhz-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/comm-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NavToggle</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property alias="../../../../params/nav-frq-swp"/>
<value type="int">1</value>
</binding>
<binding>
<command>property-swap</command>
<property alias="../../../../params/nav-frq-mhz-selected"/>
<property alias="../../../../params/nav-frq-mhz-standby"/>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property alias="../../../../../params/nav-frq-swp"/>
<value type="int">0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>noshadow</type>
</animation>
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>10</max-m>
</animation>
</PropertyList>

View file

@ -0,0 +1,28 @@
#### King KY-196 Comm Transciever ####
#### Syd Adams ####
####
####Must be included in the Set file to run the KY-196 radio
####
KY196 = props.globals.getNode("/instrumentation/ky-196",1);
FDM_ON = 0;
setlistener("/sim/signals/fdm-initialized", func {
KY196.getNode("comm-num",1).setIntValue(0);
KY196.getNode("volume-adjust",1).setDoubleValue(0);
FDM_ON = 1;
print("KY-196 Comm System ... OK");
});
setlistener("/instrumentation/ky-196/volume-adjust", func {
if(FDM_ON == 0){return;}
var setting = cmdarg().getValue();
cmdarg().setDoubleValue(0);
comm_num = KY196.getNode("comm-num").getValue();
var commNode = props.globals.getNode("instrumentation/comm[" ~ comm_num ~"]");
var vol = commNode.getNode("volume").getValue() + setting;
if(vol > 1.0){vol = 1.0;}
if(vol < 0.0){vol = 0.0;commNode.getNode("serviceable").setBoolValue(0);}
if(vol > 0.0){commNode.getNode("serviceable").setBoolValue(1);}
commNode.getNode("volume").setDoubleValue(vol);
});

View file

@ -0,0 +1,159 @@
<?xml version="1.0"?>
<!--
KY196 Comm radio PLIB hotspots
-->
<PropertyList>
<name>comm1 hotspots</name>
<w-base>160</w-base>
<h-base>36</h-base>
<w>160</w>
<h>36</h>
<layers>
</layers>
<actions>
<!--
<action>
<name>bezel outline</name>
<button>0</button>
<x>-80</x>
<y>-18</y>
<w>160</w>
<h>36</h>
</action>
-->
<action>
<name>com frequency decrease (decimal part)</name>
<button>0</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com frequency decrease (integer part)</name>
<button>1</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com frequency increase (decimal part)</name>
<button>0</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com frequency increase (integer part)</name>
<button>1</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com volume increase</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>0</value>
</binding>
</action>
<action>
<name>com volume decrease</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>-0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>0</value>
</binding>
</action>
<action>
<name>swap com1 frequencies</name>
<button>0</button>
<x>-30</x>
<y>-14</y>
<w>12</w>
<h>6</h>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,349 @@
<?xml version="1.0"?>
<PropertyList>
<path>ky196.ac</path>
<animation>
<type>material</type>
<object-name>KY196.swap</object-name>
<object-name>KY196.volume</object-name>
<object-name>KY196.knob</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<name>comm1-leds</name>
<object-name>freq.101</object-name>
<object-name>freq.102</object-name>
<object-name>freq.103</object-name>
<object-name>freq.104</object-name>
<object-name>freq.105</object-name>
<object-name>stby.101</object-name>
<object-name>stby.102</object-name>
<object-name>stby.103</object-name>
<object-name>stby.104</object-name>
<object-name>stby.105</object-name>
<object-name>KY196.dec</object-name>
<object-name>KY196.swap</object-name>
</animation>
<animation>
<type>select</type>
<object-name>comm1-leds</object-name>
<condition>
<and>
<equals>
<property>instrumentation/comm/serviceable</property>
<value>true</value>
</equals>
<greater-than>
<property>systems/electrical/outputs/comm[0]</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>KY196.volume</object-name>
<property>instrumentation/comm/volume</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1.0</ind><dep>300</dep></entry>
</interpolation>
<center>
<x-m>0.004</x-m>
<y-m>0.036</y-m>
<z-m>-0.006</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- FREQUENCY -->
<animation>
<type>textranslate</type>
<object-name>freq.101</object-name>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.102</object-name>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.103</object-name>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.104</object-name>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<factor>1.0</factor>
<step>0.1</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.105</object-name>
<property>instrumentation/comm/frequencies/selected-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- STANDBY -->
<animation>
<type>textranslate</type>
<object-name>stby.101</object-name>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.102</object-name>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.103</object-name>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.104</object-name>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<factor>1.0</factor>
<step>0.1</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.105</object-name>
<property>instrumentation/comm/frequencies/standby-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- OSG Hotspots -->
<animation>
<type>pick</type>
<object-name>KY196.swap</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Vol.down</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>-0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Vol.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>0</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.down</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.down</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.up</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
</PropertyList>

View file

@ -0,0 +1,158 @@
<?xml version="1.0"?>
<!--
KY196 Comm2 radio PLIB hotspots
Syd Adams
-->
<PropertyList>
<name>comm2 hotspots</name>
<w-base>160</w-base>
<h-base>36</h-base>
<w>160</w>
<h>36</h>
<actions>
<!--
<action>
<name>bezel outline</name>
<button>0</button>
<x>-80</x>
<y>-18</y>
<w>160</w>
<h>36</h>
</action>
-->
<action>
<name>com2 frequency decrease (decimal part)</name>
<button>0</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency decrease (integer part)</name>
<button>1</button>
<x>56</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency increase (decimal part)</name>
<button>0</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 frequency increase (integer part)</name>
<button>1</button>
<x>68</x>
<y>-8</y>
<w>12</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>com2 volume increase</name>
<button>0</button>
<x>40</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>1</value>
</binding>
</action>
<action>
<name>com volume decrease</name>
<button>0</button>
<x>34</x>
<y>-10</y>
<w>6</w>
<h>8</h>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>-0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>1</value>
</binding>
</action>
<action>
<name>swap com2 frequencies</name>
<button>0</button>
<x>-30</x>
<y>-14</y>
<w>12</w>
<h>6</h>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,349 @@
<?xml version="1.0"?>
<PropertyList>
<path>ky196.ac</path>
<animation>
<type>material</type>
<object-name>KY196.swap</object-name>
<object-name>KY196.volume</object-name>
<object-name>KY196.knob</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<name>comm1-leds</name>
<object-name>freq.101</object-name>
<object-name>freq.102</object-name>
<object-name>freq.103</object-name>
<object-name>freq.104</object-name>
<object-name>freq.105</object-name>
<object-name>stby.101</object-name>
<object-name>stby.102</object-name>
<object-name>stby.103</object-name>
<object-name>stby.104</object-name>
<object-name>stby.105</object-name>
<object-name>KY196.dec</object-name>
<object-name>KY196.swap</object-name>
</animation>
<animation>
<type>select</type>
<object-name>comm1-leds</object-name>
<condition>
<and>
<equals>
<property>instrumentation/comm[1]/serviceable</property>
<value>true</value>
</equals>
<greater-than>
<property>systems/electrical/outputs/comm[1]</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>KY196.volume</object-name>
<property>instrumentation/comm[1]/volume</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1.0</ind><dep>300</dep></entry>
</interpolation>
<center>
<x-m>0.004</x-m>
<y-m>0.036</y-m>
<z-m>-0.006</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- FREQUENCY -->
<animation>
<type>textranslate</type>
<object-name>freq.101</object-name>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.102</object-name>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.103</object-name>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.104</object-name>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<factor>1.0</factor>
<step>0.1</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.105</object-name>
<property>instrumentation/comm[1]/frequencies/selected-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- STANDBY -->
<animation>
<type>textranslate</type>
<object-name>stby.101</object-name>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<factor>0.001</factor>
<step>100</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.102</object-name>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<factor>0.01</factor>
<step>10</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.103</object-name>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<factor>0.1</factor>
<step>1</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.104</object-name>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<factor>1.0</factor>
<step>0.1</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.105</object-name>
<property>instrumentation/comm[1]/frequencies/standby-mhz</property>
<factor>10.0</factor>
<step>0.01</step>
<bias>0.005</bias>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- OSG Hotspots -->
<animation>
<type>pick</type>
<object-name>KY196.swap</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-swap</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Vol.down</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>-0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Vol.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/volume-adjust</property>
<value>0.05</value>
</binding>
<binding>
<command>property-assign</command>
<property>instrumentation/ky-196/comm-num</property>
<value>1</value>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.down</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>-0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.down</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>-1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.up</object-name>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>decimal</mask>
<step>0.025</step>
<min>0.000</min>
<max>1.000</max>
<resolution>0.025</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>Freq.up</object-name>
<action>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/comm[1]/frequencies/standby-mhz</property>
<mask>integer</mask>
<step>1</step>
<min>118</min>
<max>136</max>
<resolution>1</resolution>
<wrap>true</wrap>
</binding>
</action>
</animation>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,739 @@
AC3Db
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 10 trans 0
MATERIAL "ac3dmat6" rgb 0 1 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 10 trans 1
MATERIAL "ac3dmat13" rgb 0.533 0.533 0.533 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 128 trans 0
OBJECT world
kids 6
OBJECT poly
name "magsw"
loc 0.000157679 -0.000165235 -7.60364e-05
texture "mag_switch.rgb"
crease 45.000000
numvert 4
0 0.0249262 -0.0224353
-3.72529e-09 0.0249262 0.0254597
0 -0.0229099 0.0254597
3.72529e-09 -0.0229099 -0.0224353
numsurf 1
SURF 0x20
mat 0
refs 4
0 1 1
1 0 1
2 0 0
3 1 0
kids 0
OBJECT poly
name "key"
loc 0.0153587 -0.00244115 -0.00120589
crease 45.000000
numvert 32
-0.0130396 0.00629044 0.00605398
-0.00955094 0.00800882 0.0107752
-0.0044108 0.00907083 0.013693
0.001492 0.00929285 0.014303
0.00713683 0.00863649 0.0124997
0.0115476 0.00721524 0.00859484
0.0139617 0.00527484 0.00326365
0.0139617 0.00315082 -0.00257207
0.0115476 0.00121042 -0.00790326
0.00713683 -0.000210834 -0.0118081
0.001492 -0.000867194 -0.0136115
-0.0044108 -0.000645174 -0.0130015
-0.00955094 0.000416839 -0.0100836
-0.0142737 0.00421283 0.000345794
-0.0130396 0.00213522 -0.00536241
-0.0142737 0.00100813 0.0015122
-0.0130396 0.00308575 0.00722039
-0.00955094 0.00480413 0.0119416
-0.0044108 0.00586614 0.0148594
0.001492 0.00608816 0.0154694
0.00713683 0.0054318 0.0136661
0.0115476 0.00401055 0.00976125
0.0139617 0.00207015 0.00443006
0.0139617 -5.3874e-05 -0.00140566
0.0115476 -0.00199427 -0.00673684
0.00713683 -0.00341552 -0.0106417
0.001492 -0.00407188 -0.012445
-0.0044108 -0.00384986 -0.011835
-0.00955094 -0.00278785 -0.0089172
-0.0130396 -0.00106947 -0.004196
0 0.00100814 0.0015122
0 0.00421283 0.000345794
numsurf 45
SURF 0x30
mat 2
refs 3
13 1 0.5
0 0.956295 0.704489
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
0 0.956295 0.704489
1 0.832738 0.873619
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
1 0.832738 0.873619
2 0.650692 0.978148
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
2 0.650692 0.978148
3 0.441635 1
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
3 0.441635 1
4 0.241715 0.935398
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
4 0.241715 0.935398
5 0.0854995 0.795511
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
5 0.0854995 0.795511
6 0 0.604528
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
6 0 0.604528
7 0 0.395472
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
7 0 0.395472
8 0.0854995 0.204489
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
8 0.0854995 0.204489
9 0.241715 0.0646022
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
9 0.241715 0.0646022
10 0.441635 0
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
10 0.441635 0
11 0.650692 0.0218524
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
11 0.650692 0.0218524
12 0.832738 0.126381
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
12 0.832738 0.126381
14 0.956295 0.295511
31 0.494477 0.5
SURF 0x30
mat 2
refs 3
14 0.956295 0.295511
13 1 0.5
31 0.494477 0.5
SURF 0x30
mat 2
refs 4
15 0 0
16 0 0
0 0 0
13 0 0
SURF 0x30
mat 2
refs 4
16 0 0
17 0 0
1 0 0
0 0 0
SURF 0x30
mat 2
refs 4
17 0 0
18 0 0
2 0 0
1 0 0
SURF 0x30
mat 2
refs 4
18 0 0
19 0 0
3 0 0
2 0 0
SURF 0x30
mat 2
refs 4
19 0 0
20 0 0
4 0 0
3 0 0
SURF 0x30
mat 2
refs 4
20 0 0
21 0 0
5 0 0
4 0 0
SURF 0x30
mat 2
refs 4
21 0 0
22 0 0
6 0 0
5 0 0
SURF 0x30
mat 2
refs 4
22 0 0
23 0 0
7 0 0
6 0 0
SURF 0x30
mat 2
refs 4
23 0 0
24 0 0
8 0 0
7 0 0
SURF 0x30
mat 2
refs 4
24 0 0
25 0 0
9 0 0
8 0 0
SURF 0x30
mat 2
refs 4
25 0 0
26 0 0
10 0 0
9 0 0
SURF 0x30
mat 2
refs 4
26 0 0
27 0 0
11 0 0
10 0 0
SURF 0x30
mat 2
refs 4
27 0 0
28 0 0
12 0 0
11 0 0
SURF 0x30
mat 2
refs 4
28 0 0
29 0 0
14 0 0
12 0 0
SURF 0x30
mat 2
refs 4
29 0 0
15 0 0
13 0 0
14 0 0
SURF 0x30
mat 2
refs 3
15 1 0.5
16 0.956295 0.704489
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
16 0.956295 0.704489
17 0.832738 0.873619
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
17 0.832738 0.873619
18 0.650692 0.978148
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
18 0.650692 0.978148
19 0.441635 1
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
19 0.441635 1
20 0.241715 0.935398
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
20 0.241715 0.935398
21 0.0854995 0.795511
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
21 0.0854995 0.795511
22 0 0.604528
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
22 0 0.604528
23 0 0.395472
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
23 0 0.395472
24 0.0854995 0.204489
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
24 0.0854995 0.204489
25 0.241715 0.0646022
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
25 0.241715 0.0646022
26 0.441635 0
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
26 0.441635 0
27 0.650692 0.0218524
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
27 0.650692 0.0218524
28 0.832738 0.126381
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
28 0.832738 0.126381
29 0.956295 0.295511
30 0.494477 0.5
SURF 0x30
mat 2
refs 3
29 0.956295 0.295511
15 1 0.5
30 0.494477 0.5
kids 0
OBJECT poly
name "start"
loc 0.0153587 0.000670004 0.00244825
crease 45.000000
numvert 32
0 -0.00180695 -0.00382131
0 0.000805539 -0.00162917
-0.0130396 -0.0030991 0.00302419
-0.00955094 -0.00632859 0.00687295
-0.0044108 -0.00832448 0.00925158
0.001492 -0.00874174 0.00974885
0.00713683 -0.00750822 0.00827878
0.0115476 -0.00483714 0.00509551
0.0139617 -0.0011904 0.000749484
0.0139617 0.00280147 -0.00400783
0.0115476 0.00644822 -0.00835386
0.00713683 0.00911929 -0.0115371
0.001492 0.0103528 -0.0130072
-0.0044108 0.00993555 -0.0125099
-0.00955094 0.00793967 -0.0101313
-0.0130396 0.00471017 -0.00628253
-0.0142737 0.00080554 -0.00162917
-0.0130396 -0.00571159 0.000832052
-0.0142737 -0.00180695 -0.00382131
-0.00955094 -0.00894107 0.00468081
-0.0044108 -0.010937 0.00705949
0.001492 -0.0113543 0.00755676
0.00713683 -0.0101207 0.00608664
0.0115476 -0.00744963 0.00290338
0.0139617 -0.00380288 -0.00144265
0.0139617 0.000188989 -0.00619997
0.0115476 0.00383573 -0.010546
0.00713683 0.00650682 -0.0137293
0.001492 0.00774034 -0.0151993
-0.0044108 0.00732307 -0.0147021
-0.00955094 0.00532717 -0.0123234
-0.0130396 0.00209768 -0.00847467
numsurf 45
SURF 0x30
mat 2
refs 3
2 0.956295 0.295511
16 1 0.5
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
3 0.832738 0.126381
2 0.956295 0.295511
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
4 0.650692 0.0218524
3 0.832738 0.126381
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
5 0.441635 0
4 0.650692 0.0218524
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
6 0.241715 0.0646022
5 0.441635 0
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
7 0.0854995 0.204489
6 0.241715 0.0646022
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
8 0 0.395472
7 0.0854995 0.204489
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
9 0 0.604528
8 0 0.395472
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
10 0.0854995 0.795511
9 0 0.604528
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
11 0.241715 0.935398
10 0.0854995 0.795511
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
12 0.441635 1
11 0.241715 0.935398
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
13 0.650692 0.978148
12 0.441635 1
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
14 0.832738 0.873619
13 0.650692 0.978148
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
15 0.956295 0.704489
14 0.832738 0.873619
1 0.494477 0.5
SURF 0x30
mat 2
refs 3
16 1 0.5
15 0.956295 0.704489
1 0.494477 0.5
SURF 0x30
mat 2
refs 4
2 0 0
16 0 0
18 0 0
17 0 0
SURF 0x30
mat 2
refs 4
3 0 0
2 0 0
17 0 0
19 0 0
SURF 0x30
mat 2
refs 4
4 0 0
3 0 0
19 0 0
20 0 0
SURF 0x30
mat 2
refs 4
5 0 0
4 0 0
20 0 0
21 0 0
SURF 0x30
mat 2
refs 4
6 0 0
5 0 0
21 0 0
22 0 0
SURF 0x30
mat 2
refs 4
7 0 0
6 0 0
22 0 0
23 0 0
SURF 0x30
mat 2
refs 4
8 0 0
7 0 0
23 0 0
24 0 0
SURF 0x30
mat 2
refs 4
9 0 0
8 0 0
24 0 0
25 0 0
SURF 0x30
mat 2
refs 4
10 0 0
9 0 0
25 0 0
26 0 0
SURF 0x30
mat 2
refs 4
11 0 0
10 0 0
26 0 0
27 0 0
SURF 0x30
mat 2
refs 4
12 0 0
11 0 0
27 0 0
28 0 0
SURF 0x30
mat 2
refs 4
13 0 0
12 0 0
28 0 0
29 0 0
SURF 0x30
mat 2
refs 4
14 0 0
13 0 0
29 0 0
30 0 0
SURF 0x30
mat 2
refs 4
15 0 0
14 0 0
30 0 0
31 0 0
SURF 0x30
mat 2
refs 4
16 0 0
15 0 0
31 0 0
18 0 0
SURF 0x30
mat 2
refs 3
17 0.956295 0.295511
18 1 0.5
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
19 0.832738 0.126381
17 0.956295 0.295511
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
20 0.650692 0.0218524
19 0.832738 0.126381
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
21 0.441635 0
20 0.650692 0.0218524
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
22 0.241715 0.0646022
21 0.441635 0
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
23 0.0854995 0.204489
22 0.241715 0.0646022
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
24 0 0.395472
23 0.0854995 0.204489
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
25 0 0.604528
24 0 0.395472
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
26 0.0854995 0.795511
25 0 0.604528
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
27 0.241715 0.935398
26 0.0854995 0.795511
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
28 0.441635 1
27 0.241715 0.935398
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
29 0.650692 0.978148
28 0.441635 1
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
30 0.832738 0.873619
29 0.650692 0.978148
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
31 0.956295 0.704489
30 0.832738 0.873619
0 0.494477 0.5
SURF 0x30
mat 2
refs 3
18 1 0.5
31 0.956295 0.704489
0 0.494477 0.5
kids 0
OBJECT group
name "clicks"
loc 0.00569378 -0.00756817 0.00125835
kids 1
OBJECT poly
name "click-S"
loc -1.86265e-09 0.00716951 -0.0440341
crease 180.000000
numvert 4
0 -0.014961 0.0280603
0 -0.014961 0.0374137
0 0.014961 0.0280603
0 0.014961 0.0374137
numsurf 1
SURF 0x10
mat 1
refs 4
3 0 1
1 0 0
0 0.125 0
2 0.125 1
kids 0
OBJECT group
name "clicks"
loc 0.00569378 -0.00756817 0.00125835
kids 1
OBJECT poly
name "click-R"
loc -1.86265e-09 0.00716951 -0.0343163
crease 180.000000
numvert 4
0 0.014961 0.0374137
0 0.014961 0.0280603
0 -0.014961 0.0374137
0 -0.014961 0.0280603
numsurf 1
SURF 0x10
mat 1
refs 4
0 0 1
2 0 0
3 0.125 0
1 0.125 1
kids 0
OBJECT group
name "clicks"
loc 0.00569378 -0.00756817 0.00125835
kids 1
OBJECT poly
name "click-L"
loc -1.86265e-09 0.00716951 -0.0245894
crease 180.000000
numvert 4
0 -0.014961 0.0280603
0 -0.014961 0.0374137
0 0.014961 0.0280603
0 0.014961 0.0374137
numsurf 1
SURF 0x10
mat 1
refs 4
3 0 1
1 0 0
0 0.125 0
2 0.125 1
kids 0

View file

@ -0,0 +1,115 @@
<?xml version="1.0"?>
<PropertyList>
<path>mag_switch.ac</path>
<animation>
<type>material</type>
<object-name>key</object-name>
<object-name>start</object-name>
<object-name>magsw</object-name>
<emission>
<red>0.075</red>
<green>0.015</green>
<blue>0.00001</blue>
<factor-prop>/sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<!-- magneto switch -->
<animation>
<type>pick</type>
<object-name>click-L</object-name>
<visible>false</visible>
<action>
<name>decrease mags</name>
<button>0</button>
<binding>
<command>property-adjust</command>
<property>/controls/engines/engine/magnetos</property>
<step>-1</step>
<min>0</min>
<max>3</max>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>click-R</object-name>
<visible>false</visible>
<action>
<name>increase mags</name>
<button>0</button>
<binding>
<command>property-adjust</command>
<property>/controls/engines/engine/magnetos</property>
<step>1</step>
<min>0</min>
<max>3</max>
</binding>
</action>
</animation>
<!-- Starter -->
<animation>
<type>pick</type>
<object-name>click-S</object-name>
<visible>false</visible>
<action>
<name>starter</name>
<button>0</button>
<binding>
<command>property-assign</command>
<property>/controls/engines/engine/starter</property>
<value >true</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/engines/engine/starter</property>
<value>false</value>
</binding>
</mod-up>
</action>
</animation>
<!-- key animations -->
<animation>
<name>mags-key</name>
<type>rotate</type>
<object-name>key</object-name>
<property>/controls/engines/engine/magnetos</property>
<factor>30</factor>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>key</object-name>
<condition>
<not>
<property>/controls/switches/starter</property>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>start</object-name>
<condition>
<property>/controls/switches/starter</property>
</condition>
</animation>
</PropertyList>

View file

@ -0,0 +1,23 @@
AC3Db
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 10 trans 0
OBJECT world
kids 1
OBJECT poly
name "RadioStack"
loc 0.000486599 0.0692169 -8.90131e-05
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/radio_stack/panel-tex02.rgb"
crease 45.000000
numvert 4
0 0.0657509 -0.0804673
0 0.0657509 0.0808435
0 -0.139838 0.0808435
0 -0.139838 -0.0804673
numsurf 1
SURF 0x20
mat 0
refs 4
0 0 1
1 1 1
2 1 0
3 0 0
kids 0

View file

@ -0,0 +1,76 @@
<?xml version="1.0"?>
<!DOCTYPE PropertyList SYSTEM "panel.dtd">
<PropertyList>
<name>Radio-Panel</name>
<background>Aircraft/pa24-250/Models/radio_stack/transparent-bg.rgb</background>
<w>512</w>
<h>1024</h>
<instruments>
<!-- radio stack -->
<instrument include="../../../Instruments/dme.xml">
<name>DME Display</name>
<x>120</x>
<y>470</y>
<w>200</w>
<h>100</h> -->
</instrument>
<instrument include="../../../Instruments/markerbeacon.xml">
<name>Marker Beacon Indicators</name>
<x>64</x>
<y>1000</y>
<w>100</w>
<h>50</h>
</instrument>
<instrument include="../../../Instruments/adf-radio.xml">
<name>ADF Radio</name>
<x>256</x>
<y>900</y>
<w>512</w>
<h>150</h>
</instrument>
<instrument include="../../../Instruments/navcom-kx155.xml">
<name>NavCom 1 Radio</name>
<x>256</x>
<y>750</y>
<w>512</w>
<h>150</h>
</instrument>
<instrument include="../../../Instruments/navcom-kx155.xml">
<name>NavCom 2 Radio</name>
<params>
<comm-freq-selected-prop>/instrumentation/comm[1]/frequencies/selected-mhz</comm-freq-selected-prop>
<comm-freq-standby-prop>/instrumentation/comm[1]/frequencies/standby-mhz</comm-freq-standby-prop>
<nav-freq-selected-prop>/instrumentation/nav[1]/frequencies/selected-mhz</nav-freq-selected-prop>
<nav-freq-standby-prop>/instrumentation/nav[1]/frequencies/standby-mhz</nav-freq-standby-prop>
<nav-morse-id-volume-prop>/instrumentation/nav[1]/volume</nav-morse-id-volume-prop>
<nav-morse-ident-toggle-prop>/instrumentation/nav[1]/ident</nav-morse-ident-toggle-prop>
<nav-com-pwr-volts-prop>/systems/electrical/outputs/nav[1]</nav-com-pwr-volts-prop>
</params>
<x>256</x>
<y>600</y>
<w>512</w>
<h>150</h>
</instrument>
<!--
<instrument include="../../../Instruments/KAP140TwoAxisAlt.xml">
<name>KAP140 Autopilot</name>
<x>256</x>
<y>340</y>
<w>512</w>
<h>150</h>
</instrument> -->
<!-- end radio stack -->
</instruments>
</PropertyList>

View file

@ -0,0 +1,25 @@
<?xml version="1.0" ?>
<PropertyList>
<path>RadioStack.ac</path>
<panel>
<path>Aircraft/pa24-250/Models/radio_stack/radio-panel.xml</path>
<bottom-left>
<x-m>0.0015</x-m>
<y-m>-0.08</y-m>
<z-m>-0.135</z-m>
</bottom-left>
<bottom-right>
<x-m>0.0015</x-m>
<y-m>0.08</y-m>
<z-m>-0.135</z-m>
</bottom-right>
<top-left>
<x-m>0.0015</x-m>
<y-m>-0.08</y-m>
<z-m>0.135</z-m>
</top-left>
</panel>
</PropertyList>

View file

@ -0,0 +1,54 @@
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 "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0.15 0.15 0.15 spec 0.5 0.5 0.5 shi 64 trans 0
OBJECT world
kids 2
OBJECT poly
name "Face"
data 8
Mesh.001
texture "vac-face.rgb"
texrep 1 1
crease 45.000000
numvert 4
0 0.01012 -0.01012
0 -0.01012 -0.01012
0 -0.01012 0.01012
0 0.01012 0.01012
numsurf 1
SURF 0x00
mat 1
refs 4
0 0.9375 0.992187976837
3 0.0078125 0.992187976837
2 0.0078125 0.015625
1 0.9375 0.015625
kids 0
OBJECT poly
name "VacNeedle"
data 4
Mesh
crease 45.000000
numvert 6
0.00059 0.007795 -0.000271
0.00059 -0.002593 -0.000271
0.00059 -0.002593 0.000272
0.00059 0.007795 0.000272
0.00059 0.002601 0.000272
0.00059 0.002601 -0.000271
numsurf 2
SURF 0x00
mat 1
refs 4
0 0.0 0.0
3 0.0 0.0
4 0.0 0.0
5 0.0 0.0
SURF 0x00
mat 1
refs 4
1 0.0 0.0
5 0.0 0.0
4 0.0 0.0
2 0.0 0.0
kids 0

View file

@ -0,0 +1,45 @@
<?xml version="1.0"?>
<PropertyList>
<path>vac.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>VacNeedle</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>VacNeedle</object-name>
<property>/systems/vacuum/suction-inhg</property>
<interpolation>
<entry><ind> 0.0</ind><dep>-165 </dep></entry>
<entry><ind> 1.0</ind><dep>-132</dep></entry>
<entry><ind> 2.0</ind><dep>-99</dep></entry>
<entry><ind> 3.0</ind><dep> -66 </dep></entry>
<entry><ind> 4.0</ind><dep> -33 </dep></entry>
<entry><ind> 5.0</ind><dep> 0 </dep></entry>
<entry><ind> 6.0</ind><dep> 33 </dep></entry>
<entry><ind> 7.00</ind><dep> 66 </dep></entry>
<entry><ind> 8.0</ind><dep> 99 </dep></entry>
<entry><ind> 9.0</ind><dep> 132 </dep></entry>
<entry><ind> 8.0</ind><dep> 165 </dep></entry>
</interpolation>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -0,0 +1,439 @@
AC3Db
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 10 trans 0
MATERIAL "ac3dmat6" rgb 0 1 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 10 trans 1
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0.15 0.15 0.15 spec 0.5 0.5 0.5 shi 64 trans 0
OBJECT world
kids 11
OBJECT poly
name "Face"
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/vor/vor02.rgb"
crease 45.000000
numvert 6
-0.004518 0.04 -0.04
-0.004518 -0.04 -0.04
-0.004518 -0.04 0.04
-0.004518 0.04 0.04
-0.004518 0 0.04
-0.004518 0 -0.04
numsurf 2
SURF 0x0
mat 2
refs 4
0 0.966797 0.958984
3 0.00976562 0.958984
4 0.00976562 0.480469
5 0.966797 0.480469
SURF 0x0
mat 2
refs 4
1 0.966797 0
5 0.966797 0.480469
4 0.00976562 0.480469
2 0.00976562 0
kids 0
OBJECT poly
name "Front"
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/vor/vor03.rgb"
crease 45.000000
numvert 6
0 0.04 -0.04
0 -0.04 -0.04
0 -0.04 0.04
0 0.04 0.04
0 0 0.04
0 0 -0.04
numsurf 2
SURF 0x0
mat 2
refs 4
0 0.998047 1
3 0 1
4 0 0.5
5 0.998047 0.5
SURF 0x0
mat 2
refs 4
1 0.998047 0
5 0.998047 0.5
4 0 0.5
2 0 0
kids 0
OBJECT poly
name "Ring"
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/vor/vor01.rgb"
crease 45.000000
numvert 6
-0.001596 0.04 -0.04
-0.001596 -0.04 -0.04
-0.001596 -0.04 0.04
-0.001596 0.04 0.04
-0.001596 0 0.04
-0.001596 0 -0.04
numsurf 2
SURF 0x0
mat 2
refs 4
0 0.998047 1
3 0 1
4 0 0.5
5 0.998047 0.5
SURF 0x0
mat 2
refs 4
1 0.998047 0
5 0.998047 0.5
4 0 0.5
2 0 0
kids 0
OBJECT poly
name "GlidescopeNeedle"
crease 45.000000
numvert 6
-0.003005 -0.000532 0.004932
-0.003005 -0.000532 0.029784
-0.003005 0.000533 0.004932
-0.003005 -0.000532 -0.019774
-0.003005 0.000533 -0.019774
-0.003005 0.000533 0.029784
numsurf 2
SURF 0x0
mat 2
refs 4
0 0 0
3 0 0
4 0 0
2 0 0
SURF 0x0
mat 2
refs 4
0 0 0
2 0 0
5 0 0
1 0 0
kids 0
OBJECT poly
name "LocalizerNeedle"
crease 45.000000
numvert 6
-0.003005 -0.019816 0.000532
-0.003005 0.029784 0.000532
-0.003005 -0.019816 -0.000532
-0.003005 0.029784 -0.000532
-0.003005 0.004974 0.000532
-0.003005 0.004974 -0.000532
numsurf 2
SURF 0x0
mat 2
refs 4
0 0 0
2 0 0
5 0 0
4 0 0
SURF 0x0
mat 2
refs 4
1 0 0
4 0 0
5 0 0
3 0 0
kids 0
OBJECT poly
name "TO"
loc -0.00674026 0.0040441 -0.0124104
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/vor/TO-FR.rgb"
crease 45.000000
numvert 4
0 -0.00271994 -0.00739644
0 -0.00271994 0.00739644
0 0.00271994 0.00739644
0 0.00271994 -0.00739644
numsurf 1
SURF 0x20
mat 0
refs 4
3 0.609375 0.922173
2 0.125 0.922173
1 0.125 0.658523
0 0.609375 0.658523
kids 0
OBJECT poly
name "NAV"
loc -0.0063754 0.0042357 -0.0122067
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/vor/TO-FR.rgb"
crease 45.000000
numvert 4
0 0.00239354 -0.00417537
0 0.00239354 0.00417537
0 -0.00239354 0.00417537
0 -0.00239354 -0.00417537
numsurf 1
SURF 0x20
mat 0
refs 4
0 0.619696 0.618841
1 0.179834 0.618841
2 0.179834 0.376675
3 0.619696 0.376675
kids 0
OBJECT poly
name "FR"
loc -0.00589943 0.00404461 -0.0128874
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/vor/TO-FR.rgb"
crease 45.000000
numvert 4
0 -0.00299626 -0.00718548
0 -0.00299626 0.00718548
0 0.00299626 0.00718548
0 0.00299626 -0.00718548
numsurf 1
SURF 0x20
mat 0
refs 4
3 0.65189 0.306457
2 0.150411 0.306457
1 0.150411 0.0462088
0 0.65189 0.0462088
kids 0
OBJECT poly
name "disk"
loc 0 -0.0292413 0.0272215
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/vor/knob.rgb"
crease 101.000000
numvert 20
0.01 0.00396059 0.00479285
0.01 0.00606797 0.00108645
0.01 0.00533608 -0.00312831
0.01 0.00210739 -0.0058793
0.01 -0.00210737 -0.0058793
0.01 -0.00533607 -0.00312831
0.01 -0.00606796 0.00108645
0.01 9.31323e-09 0.00625662
0.01 -0.00396058 0.00479285
0 0 0.00625662
0 0.00396058 0.00479285
0 0.00606796 0.00108645
0 0.00533608 -0.00312831
0 0.00210739 -0.0058793
0 -0.00210738 -0.0058793
0 -0.00533607 -0.00312831
0 -0.00606796 0.00108645
0 -0.00396058 0.00479285
0 0 0
0.01 9.31323e-09 0
numsurf 27
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
0 0.879385 0.826352
7 1 0.5
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
1 0.573978 1
0 0.879385 0.826352
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
2 0.226682 0.939693
1 0.573978 1
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
3 0 0.673648
2 0.226682 0.939693
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
4 0 0.326352
3 0 0.673648
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
5 0.226682 0.0603074
4 0 0.326352
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
6 0.573978 0
5 0.226682 0.0603074
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
8 0.879385 0.173648
6 0.573978 0
SURF 0x10
mat 0
refs 3
19 0.484454 0.5
7 1 0.5
8 0.879385 0.173648
SURF 0x10
mat 0
refs 4
7 0 0
0 0 0
10 0 0
9 0 0
SURF 0x10
mat 0
refs 4
0 0 0
1 0 0
11 0 0
10 0 0
SURF 0x10
mat 0
refs 4
1 0 0
2 0 0
12 0 0
11 0 0
SURF 0x10
mat 0
refs 4
2 0 0
3 0 0
13 0 0
12 0 0
SURF 0x10
mat 0
refs 4
3 0 0
4 0 0
14 0 0
13 0 0
SURF 0x10
mat 0
refs 4
4 0 0
5 0 0
15 0 0
14 0 0
SURF 0x10
mat 0
refs 4
5 0 0
6 0 0
16 0 0
15 0 0
SURF 0x10
mat 0
refs 4
6 0 0
8 0 0
17 0 0
16 0 0
SURF 0x10
mat 0
refs 4
8 0 0
7 0 0
9 0 0
17 0 0
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
10 0.879385 0.826352
9 1 0.5
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
11 0.573978 1
10 0.879385 0.826352
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
12 0.226682 0.939693
11 0.573978 1
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
13 0 0.673648
12 0.226682 0.939693
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
14 0 0.326352
13 0 0.673648
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
15 0.226682 0.0603074
14 0 0.326352
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
16 0.573978 0
15 0.226682 0.0603074
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
17 0.879385 0.173648
16 0.573978 0
SURF 0x10
mat 0
refs 3
18 0.484454 0.5
9 1 0.5
17 0.879385 0.173648
kids 0
OBJECT group
name "clicks"
loc 0.00569378 -0.00756817 0.00125835
kids 1
OBJECT poly
name "click-R"
loc -1.86265e-09 -0.0216233 -0.00396401
crease 180.000000
numvert 4
0 -0.00702053 0.0226521
0 -0.00702053 0.0302027
0 0.00702053 0.0226521
0 0.00702053 0.0302027
numsurf 1
SURF 0x30
mat 1
refs 4
3 0 1
1 0 0
0 0.125 0
2 0.125 1
kids 0
OBJECT group
name "clicks"
loc 0.00569378 -0.00756817 0.00125835
kids 1
OBJECT poly
name "click-L"
loc -1.86265e-09 -0.0216233 0.00388818
crease 180.000000
numvert 4
0 0.00702053 0.0302027
0 0.00702053 0.0226521
0 -0.00702053 0.0302027
0 -0.00702053 0.0226521
numsurf 1
SURF 0x30
mat 1
refs 4
0 0 1
2 0 0
3 0.125 0
1 0.125 1
kids 0

View file

@ -0,0 +1,209 @@
<?xml version="1.0"?>
<PropertyList>
<params>
<nav-to-flag>/instrumentation/nav[0]/to-flag</nav-to-flag>
<nav-from-flag>/instrumentation/nav[0]/from-flag</nav-from-flag>
<nav-radial-selected>/instrumentation/nav[0]/radials/selected-deg</nav-radial-selected>
<nav-gs-needle-deflection>/instrumentation/nav[0]/gs-needle-deflection</nav-gs-needle-deflection>
<nav-heading-needle-deflection>/instrumentation/nav[0]/heading-needle-deflection</nav-heading-needle-deflection>
<nav-in-range>/instrumentation/nav[0]/in-range</nav-in-range>
</params>
<path>vor.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>GlidescopeNeedle</object-name>
<object-name>Ring</object-name>
<object-name>LocalizerNeedle</object-name>
<object-name>Front</object-name>
<object-name>TO</object-name>
<object-name>FR</object-name>
<object-name>NAV</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>disk</object-name>
<emission>
<red>0.45</red>
<green>0.09</green>
<blue>0.00001</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<name>LocalizerNeedleTransform</name>
<type>rotate</type>
<object-name>LocalizerNeedle</object-name>
<property alias="../../params/nav-heading-needle-deflection"/>
<factor>-3.2</factor>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.03</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>GlidescopeNeedle</object-name>
<condition>
<property alias="../../../params/nav-in-range"/>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>NAV</object-name>
<condition>
<not>
<property alias="../../../../params/nav-in-range"/>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>TO</object-name>
<condition>
<property alias="../../../params/nav-to-flag"/>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>FR</object-name>
<condition>
<property alias="../../../params/nav-from-flag"/>
</condition>
</animation>
<animation>
<name>GlidescopeNeedleTransform</name>
<type>rotate</type>
<object-name>GlidescopeNeedle</object-name>
<property alias="../../params/nav-gs-needle-deflection"/>
<factor>-3.2</factor>
<min-deg>-32</min-deg>
<max-deg>32</max-deg>
<center>
<x-m>0</x-m>
<y-m>-0.03</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>RingTransform</name>
<type>rotate</type>
<object-name>Ring</object-name>
<property alias="../../params/nav-radial-selected"/>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- VOR 1 Radial adjust -->
<animation>
<type>pick</type>
<object-name>click-L</object-name>
<visible>false</visible>
<action>
<name>small decrease</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/radials/selected-deg</property>
<step>-1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large decrease</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/radials/selected-deg</property>
<step>-5</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>click-R</object-name>
<visible>false</visible>
<action>
<name>small increase</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/radials/selected-deg</property>
<step>1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large increase</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/radials/selected-deg</property>
<step>5</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<name>Alpha Order Group</name>
<object-name>Face</object-name>
<object-name>LocalizerNeedleTransform</object-name>
<object-name>GlidescopeNeedleTransform</object-name>
<object-name>RingTransform</object-name>
<object-name>Front</object-name>
</animation>
</PropertyList>

View file

@ -0,0 +1,209 @@
<?xml version="1.0"?>
<PropertyList>
<params>
<nav-to-flag>/instrumentation/nav[1]/to-flag</nav-to-flag>
<nav-from-flag>/instrumentation/nav[1]/from-flag</nav-from-flag>
<nav-radial-selected>/instrumentation/nav[1]/radials/selected-deg</nav-radial-selected>
<nav-gs-needle-deflection>/instrumentation/nav[1]/gs-needle-deflection</nav-gs-needle-deflection>
<nav-heading-needle-deflection>/instrumentation/nav[1]/heading-needle-deflection</nav-heading-needle-deflection>
<nav-in-range>/instrumentation/nav[1]/in-range</nav-in-range>
</params>
<path>vor.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>GlidescopeNeedle</object-name>
<object-name>Ring</object-name>
<object-name>LocalizerNeedle</object-name>
<object-name>Front</object-name>
<object-name>TO</object-name>
<object-name>FR</object-name>
<object-name>NAV</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>disk</object-name>
<emission>
<red>0.45</red>
<green>0.09</green>
<blue>0.00001</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<name>LocalizerNeedleTransform</name>
<type>rotate</type>
<object-name>LocalizerNeedle</object-name>
<property alias="../../params/nav-heading-needle-deflection"/>
<factor>-3.2</factor>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.03</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>GlidescopeNeedle</object-name>
<condition>
<property alias="../../../params/nav-in-range"/>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>NAV</object-name>
<condition>
<not>
<property alias="../../../../params/nav-in-range"/>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>TO</object-name>
<condition>
<property alias="../../../params/nav-to-flag"/>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>FR</object-name>
<condition>
<property alias="../../../params/nav-from-flag"/>
</condition>
</animation>
<animation>
<name>GlidescopeNeedleTransform</name>
<type>rotate</type>
<object-name>GlidescopeNeedle</object-name>
<property alias="../../params/nav-gs-needle-deflection"/>
<factor>-3.2</factor>
<min-deg>-32</min-deg>
<max-deg>32</max-deg>
<center>
<x-m>0</x-m>
<y-m>-0.03</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>RingTransform</name>
<type>rotate</type>
<object-name>Ring</object-name>
<property alias="../../params/nav-radial-selected"/>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- VOR 2 Radial adjust -->
<animation>
<type>pick</type>
<object-name>click-L</object-name>
<visible>false</visible>
<action>
<name>small decrease</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav[1]/radials/selected-deg</property>
<step>-1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large decrease</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav[1]/radials/selected-deg</property>
<step>-5</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>click-R</object-name>
<visible>false</visible>
<action>
<name>small increase</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav[1]/radials/selected-deg</property>
<step>1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large increase</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav[1]/radials/selected-deg</property>
<step>5</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<name>Alpha Order Group</name>
<object-name>Face</object-name>
<object-name>LocalizerNeedleTransform</object-name>
<object-name>GlidescopeNeedleTransform</object-name>
<object-name>RingTransform</object-name>
<object-name>Front</object-name>
</animation>
</PropertyList>

View file

@ -0,0 +1,885 @@
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 "DefaultWhite.007" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
MATERIAL "DefaultWhite.012" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
OBJECT world
kids 24
OBJECT poly
name "ImatFuselageL1"
data 14
ImatFuselageL1
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
2.527452 -0.540946 0.422199
2.52933 -0.390731 0.421604
2.530981 -0.259515 0.42026
2.52651 -0.624102 0.422241
2.324173 -0.559724 0.445039
2.327952 -0.257536 0.443896
2.323401 -0.622096 0.444651
2.326164 -0.40186 0.443068
numsurf 3
SURF 0x10
mat 1
refs 4
4 0.0 0.15625
0 0.0244140625 0.203125
1 0.0244140625 0.546875
7 0.0 0.515625
SURF 0x10
mat 1
refs 4
0 0.0244140625 0.203125
4 0.0 0.15625
6 0.0 0.0
3 0.0244140625 0.0
SURF 0x10
mat 1
refs 4
2 0.0244140625 0.859375
5 0.0 0.859375
7 0.0 0.515625
1 0.0244140625 0.546875
kids 0
OBJECT poly
name "ImatFuselageL2"
data 14
ImatFuselageL2
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
2.527451 -0.540948 0.422268
2.529328 -0.390735 0.421756
2.530978 -0.25952 0.420479
2.526509 -0.624105 0.422345
2.729738 -0.625909 0.390309
2.730824 -0.522012 0.391812
2.732588 -0.379449 0.392806
2.734051 -0.26143 0.393539
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0 0.203125
5 0.0244140625 0.265625
6 0.0244140625 0.578125
1 0.0 0.546875
SURF 0x10
mat 1
refs 4
5 0.0244140625 0.265625
0 0.0 0.203125
3 0.0 0.0
4 0.0244140625 0.0
SURF 0x10
mat 1
refs 4
7 0.0244140625 0.859375
2 0.0 0.859375
1 0.0 0.546875
6 0.0244140625 0.578125
kids 0
OBJECT poly
name "ImatFuselageL3"
data 14
ImatFuselageL3
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
2.944593 -0.627954 0.362971
2.946816 -0.513305 0.364794
2.948526 -0.374668 0.366249
2.949897 -0.263513 0.367413
2.729736 -0.625913 0.390491
2.730826 -0.522009 0.391645
2.732582 -0.37946 0.393311
2.734044 -0.261442 0.394115
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0244140625 0.0
1 0.0244140625 0.265625
5 0.0 0.234375
4 0.0 0.0
SURF 0x10
mat 1
refs 4
5 0.0 0.234375
1 0.0244140625 0.265625
2 0.0244140625 0.59375
6 0.0 0.578125
SURF 0x10
mat 1
refs 4
3 0.0244140625 0.859375
7 0.0 0.859375
6 0.0 0.578125
2 0.0244140625 0.59375
kids 0
OBJECT poly
name "ImatFuselageL4"
data 14
ImatFuselageL4
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
2.944597 -0.627946 0.362576
2.946816 -0.513304 0.364771
3.162815 -0.504586 0.337231
3.164457 -0.369899 0.340189
2.948534 -0.374654 0.365577
3.165759 -0.265571 0.340104
2.949898 -0.263511 0.367315
3.16122 -0.630017 0.335403
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0 0.0
7 0.0244140625 0.0
2 0.0244140625 0.28125
1 0.0 0.265625
SURF 0x10
mat 1
refs 4
1 0.0 0.265625
2 0.0244140625 0.28125
3 0.0244140625 0.609375
4 0.0 0.59375
SURF 0x10
mat 1
refs 4
4 0.0 0.59375
3 0.0244140625 0.609375
5 0.0244140625 0.859375
6 0.0 0.859375
kids 0
OBJECT poly
name "ImatFuselageL5"
data 14
ImatFuselageL5
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
3.377349 -0.632072 0.307797
3.162814 -0.504587 0.337297
3.378805 -0.495882 0.310344
3.380408 -0.365099 0.312576
3.164465 -0.369885 0.339514
3.381621 -0.267626 0.31261
3.165761 -0.265566 0.339865
3.161216 -0.630025 0.335783
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0244140625 0.0
2 0.0244140625 0.34375
1 0.0 0.3125
7 0.0 0.0
SURF 0x10
mat 1
refs 4
1 0.0 0.3125
2 0.0244140625 0.34375
3 0.0244140625 0.625
4 0.0 0.609375
SURF 0x10
mat 1
refs 4
4 0.0 0.609375
3 0.0244140625 0.625
5 0.0244140625 0.859375
6 0.0 0.859375
kids 0
OBJECT poly
name "ImatFuselageL6"
data 14
ImatFuselageL6
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
3.377345 -0.632078 0.308064
3.378803 -0.495885 0.310512
3.380409 -0.365097 0.312495
3.381623 -0.267623 0.312502
3.597494 -0.269665 0.284384
3.596356 -0.360301 0.285121
3.594798 -0.487169 0.283069
3.593007 -0.634114 0.279847
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0 0.0
7 0.0244140625 0.0
6 0.0244140625 0.359375
1 0.0 0.3125
SURF 0x10
mat 1
refs 4
1 0.0 0.3125
6 0.0244140625 0.359375
5 0.0244140625 0.640625
2 0.0 0.625
SURF 0x10
mat 1
refs 4
2 0.0 0.625
5 0.0244140625 0.640625
4 0.0244140625 0.859375
3 0.0 0.859375
kids 0
OBJECT poly
name "ImatFuselageR1"
data 14
ImatFuselageR1
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
3.375917 -0.618818 -0.337748
3.377402 -0.482664 -0.333492
3.37903 -0.351928 -0.329034
3.380243 -0.254554 -0.324242
3.59574 -0.257882 -0.293486
3.594613 -0.348394 -0.298685
3.593032 -0.475217 -0.302882
3.591202 -0.622145 -0.306897
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0244140625 0.0
1 0.0244140625 0.3125
6 0.0 0.359375
7 0.0 0.0
SURF 0x10
mat 1
refs 4
1 0.0244140625 0.3125
2 0.0244140625 0.625
5 0.0 0.640625
6 0.0 0.359375
SURF 0x10
mat 1
refs 4
2 0.0244140625 0.625
3 0.0244140625 0.859375
4 0.0 0.859375
5 0.0 0.640625
kids 0
OBJECT poly
name "ImatFuselageR2"
data 14
ImatFuselageR2
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
3.375917 -0.618823 -0.337482
3.161771 -0.490124 -0.363444
3.377402 -0.482667 -0.333324
3.37903 -0.351926 -0.329114
3.163448 -0.355468 -0.359028
3.380243 -0.254552 -0.32435
3.164746 -0.251242 -0.354242
3.160157 -0.615495 -0.368107
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0 0.0
7 0.0244140625 0.0
1 0.0244140625 0.3125
2 0.0 0.34375
SURF 0x10
mat 1
refs 4
1 0.0244140625 0.3125
4 0.0244140625 0.609375
3 0.0 0.625
2 0.0 0.34375
SURF 0x10
mat 1
refs 4
4 0.0244140625 0.609375
6 0.0244140625 0.859375
5 0.0 0.859375
3 0.0 0.625
kids 0
OBJECT poly
name "ImatFuselageR3"
data 14
ImatFuselageR3
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
2.943896 -0.612185 -0.397546
2.94614 -0.49757 -0.394086
3.161771 -0.490125 -0.363378
3.163448 -0.355454 -0.359701
2.947865 -0.359029 -0.388064
3.164747 -0.251237 -0.35448
2.949249 -0.247928 -0.38433
3.160156 -0.615503 -0.367727
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0244140625 0.0
1 0.0244140625 0.265625
2 0.0 0.28125
7 0.0 0.0
SURF 0x10
mat 1
refs 4
1 0.0244140625 0.265625
4 0.0244140625 0.59375
3 0.0 0.609375
2 0.0 0.28125
SURF 0x10
mat 1
refs 4
4 0.0244140625 0.59375
6 0.0244140625 0.859375
5 0.0 0.859375
3 0.0 0.609375
kids 0
OBJECT poly
name "ImatFuselageR4"
data 14
ImatFuselageR4
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
2.943896 -0.612177 -0.397941
2.94614 -0.49757 -0.394108
2.947866 -0.359015 -0.388737
2.949249 -0.247926 -0.384427
2.729406 -0.608874 -0.428086
2.730509 -0.505029 -0.424126
2.732283 -0.362558 -0.418773
2.733752 -0.244628 -0.413766
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0 0.0
4 0.0244140625 0.0
5 0.0244140625 0.234375
1 0.0 0.265625
SURF 0x10
mat 1
refs 4
5 0.0244140625 0.234375
6 0.0244140625 0.578125
2 0.0 0.59375
1 0.0 0.265625
SURF 0x10
mat 1
refs 4
3 0.0 0.859375
2 0.0 0.59375
6 0.0244140625 0.578125
7 0.0244140625 0.859375
kids 0
OBJECT poly
name "ImatFuselageR5"
data 14
ImatFuselageR5
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
2.527539 -0.522561 -0.458253
2.529407 -0.372525 -0.450346
2.531038 -0.241499 -0.442611
2.5266 -0.605629 -0.462422
2.729406 -0.608878 -0.427906
2.730509 -0.505025 -0.424294
2.732283 -0.362568 -0.418267
2.733752 -0.24464 -0.41319
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0244140625 0.203125
1 0.0244140625 0.546875
6 0.0 0.578125
5 0.0 0.265625
SURF 0x10
mat 1
refs 4
3 0.0244140625 0.0
0 0.0244140625 0.203125
5 0.0 0.265625
4 0.0 0.0
SURF 0x10
mat 1
refs 4
7 0.0 0.859375
6 0.0 0.578125
1 0.0244140625 0.546875
2 0.0244140625 0.859375
kids 0
OBJECT poly
name "ImatFuselageR6"
data 14
ImatFuselageR6
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
2.527539 -0.522563 -0.458184
2.529407 -0.372528 -0.450194
2.531038 -0.241504 -0.442391
2.5266 -0.605631 -0.462319
2.324568 -0.54026 -0.484527
2.328325 -0.238433 -0.468508
2.323792 -0.602584 -0.48721
2.32653 -0.382642 -0.474785
numsurf 3
SURF 0x10
mat 1
refs 4
1 0.0 0.546875
0 0.0 0.203125
4 0.0244140625 0.15625
7 0.0244140625 0.515625
SURF 0x10
mat 1
refs 4
0 0.0 0.203125
3 0.0 0.0
6 0.0244140625 0.0
4 0.0244140625 0.15625
SURF 0x10
mat 1
refs 4
2 0.0 0.859375
1 0.0 0.546875
7 0.0244140625 0.515625
5 0.0244140625 0.859375
kids 0
OBJECT poly
name "ImatPanel1"
data 14
ImatPanel1.001
texture "immat-white.png"
texrep 1 1
crease 30.000000
numvert 4
-0.358061 0.126514 0.070355
-0.359713 0.116394 0.070122
-0.358093 0.126328 0.078683
-0.359745 0.116208 0.07845
numsurf 1
SURF 0x00
mat 2
refs 4
0 0.0224609375 0.875
2 -0.001953125 0.875
3 -0.001953125 0.171875
1 0.0224609375 0.171875
kids 0
OBJECT poly
name "ImatPanel2"
data 14
ImatPanel2.001
texture "immat-white.png"
texrep 1 1
crease 30.000000
numvert 4
-0.358061 0.126514 0.070355
-0.358029 0.1267 0.062026
-0.359713 0.116394 0.070122
-0.35968 0.11658 0.061793
numsurf 1
SURF 0x00
mat 2
refs 4
1 0.0224609375 0.875
0 -0.001953125 0.875
2 -0.001953125 0.171875
3 0.0224609375 0.171875
kids 0
OBJECT poly
name "ImatPanel3"
data 14
ImatPanel3.001
texture "immat-white.png"
texrep 1 1
crease 30.000000
numvert 4
-0.358029 0.1267 0.062026
-0.357996 0.126886 0.053698
-0.35968 0.11658 0.061793
-0.359648 0.116766 0.053465
numsurf 1
SURF 0x00
mat 2
refs 4
1 0.0224609375 0.875
0 -0.001953125 0.875
2 -0.001953125 0.171875
3 0.0224609375 0.171875
kids 0
OBJECT poly
name "ImatPanel4"
data 14
ImatPanel4.001
texture "immat-white.png"
texrep 1 1
crease 30.000000
numvert 4
-0.357996 0.126886 0.053698
-0.357964 0.127072 0.045371
-0.359648 0.116766 0.053465
-0.359615 0.116952 0.045138
numsurf 1
SURF 0x00
mat 2
refs 4
1 0.0224609375 0.875
0 -0.001953125 0.875
2 -0.001953125 0.171875
3 0.0224609375 0.171875
kids 0
OBJECT poly
name "ImatPanel5"
data 14
ImatPanel5.001
texture "immat-white.png"
texrep 1 1
crease 30.000000
numvert 4
-0.357964 0.127072 0.045371
-0.357931 0.127258 0.037043
-0.359615 0.116952 0.045138
-0.359583 0.117138 0.03681
numsurf 1
SURF 0x00
mat 2
refs 4
1 0.0224609375 0.875
0 -0.001953125 0.875
2 -0.001953125 0.171875
3 0.0224609375 0.171875
kids 0
OBJECT poly
name "ImatPanel6"
data 14
ImatPanel6.001
texture "immat-white.png"
texrep 1 1
crease 30.000000
numvert 4
-0.357931 0.127258 0.037043
-0.359583 0.117138 0.03681
-0.359551 0.117324 0.028482
-0.357899 0.127444 0.028715
numsurf 1
SURF 0x00
mat 2
refs 4
3 0.0224609375 0.875
0 -0.001953125 0.875
1 -0.001953125 0.171875
2 0.0224609375 0.171875
kids 0
OBJECT poly
name "ImatWing1"
data 13
ImatWing1.001
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 10
0.247402 0.446869 -3.463018
0.852385 0.358908 -3.462624
0.424783 0.41906 -3.463074
0.619094 0.38928 -3.462294
0.630176 0.402728 -3.793758
0.429902 0.434705 -3.794912
0.249584 0.463063 -3.794938
0.856212 0.377142 -3.79494
0.717683 0.390631 -3.793716
0.771653 0.366794 -3.461912
numsurf 4
SURF 0x10
mat 1
refs 4
0 0.0244140625 0.859375
6 0.0 0.859375
5 0.0 0.609375
2 0.0244140625 0.609375
SURF 0x10
mat 1
refs 4
4 0.0 0.328125
3 0.0244140625 0.328125
2 0.0244140625 0.609375
5 0.0 0.609375
SURF 0x10
mat 1
refs 4
4 0.0 0.328125
8 -9.6909438807e-011 0.200570315123
9 0.0244140643626 0.112943261862
3 0.0244140625 0.328125
SURF 0x10
mat 1
refs 4
8 -9.6909438807e-011 0.200570315123
7 0.0 0.0
1 0.0244140625 0.0
9 0.0244140643626 0.112943261862
kids 0
OBJECT poly
name "ImatWing2"
data 13
ImatWing2.001
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 15
0.246971 0.436014 -3.141613
0.247723 0.448695 -3.461234
0.852621 0.360233 -3.458874
0.849925 0.343723 -3.13947
0.421558 0.409617 -3.141617
0.425208 0.42151 -3.461184
0.619536 0.391825 -3.460156
0.609465 0.379412 -3.140712
0.247187 0.442911 -3.380699
0.423867 0.415504 -3.380028
0.616523 0.385426 -3.379154
0.85131 0.351786 -3.37522
0.772118 0.368101 -3.459383
0.784574 0.353423 -3.139808
0.785693 0.358702 -3.376368
numsurf 8
SURF 0x10
mat 1
refs 4
0 0.0244140625 0.859375
8 0.00615610927343 0.859374940395
9 0.00620525609702 0.609375
4 0.0244140625 0.609375
SURF 0x10
mat 1
refs 4
8 0.00615610927343 0.859374940395
1 0.0 0.859375
5 0.0 0.609375
9 0.00620525609702 0.609375
SURF 0x10
mat 1
refs 4
6 0.0 0.328125
10 0.00619640480727 0.332090675831
9 0.0062052551657 0.609375
5 0.0 0.609375
SURF 0x10
mat 1
refs 4
10 0.00619640480727 0.332090675831
7 0.0244140625 0.34375
4 0.0244140625 0.609375
9 0.0062052551657 0.609375
SURF 0x10
mat 1
refs 4
10 0.00619640480727 0.332090705633
14 0.00634451955557 0.0922362878919
13 0.0244140625 0.0934242531657
7 0.0244140625 0.34375
SURF 0x10
mat 1
refs 4
14 0.00634451955557 0.0922362878919
11 0.00640147691593 0.0
3 0.0244140625 0.0
13 0.0244140625 0.0934242531657
SURF 0x10
mat 1
refs 4
6 0.0 0.328125
12 4.45345482714e-010 0.112626776099
14 0.00634451955557 0.0922362878919
10 0.00619640480727 0.332090705633
SURF 0x10
mat 1
refs 4
12 4.45345482714e-010 0.112626776099
2 0.0 0.0
11 0.00640147691593 0.0
14 0.00634451955557 0.0922362878919
kids 0
OBJECT poly
name "ImatWing3"
data 13
ImatWing3.001
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
0.246716 0.427001 -2.821907
0.246971 0.436015 -3.141612
0.849918 0.343682 -3.139471
0.848347 0.334579 -2.819897
0.418304 0.400786 -2.821981
0.421573 0.409707 -3.141615
0.609461 0.379385 -3.140712
0.600199 0.372486 -2.821141
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0244140625 0.859375
1 0.0 0.859375
5 0.0 0.609375
4 0.0244140625 0.609375
SURF 0x10
mat 1
refs 4
6 0.0 0.34375
7 0.0244140625 0.359375
4 0.0244140625 0.609375
5 0.0 0.609375
SURF 0x10
mat 1
refs 4
7 0.0244140625 0.359375
6 0.0 0.34375
2 0.0 0.0
3 0.0244140625 0.0
kids 0
OBJECT poly
name "ImatWing4"
data 13
ImatWing4.001
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
0.246705 0.419447 -2.502169
0.246757 0.427248 -2.821902
0.848386 0.334814 -2.819892
0.847201 0.328014 -2.500264
0.41508 0.392129 -2.50234
0.41834 0.401001 -2.821975
0.600204 0.372517 -2.821141
0.590476 0.362835 -2.501634
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0244140625 0.859375
1 0.0 0.859375
5 0.0 0.609375
4 0.0244140625 0.625
SURF 0x10
mat 1
refs 4
6 0.0 0.359375
7 0.0244140625 0.375
4 0.0244140625 0.625
5 0.0 0.609375
SURF 0x10
mat 1
refs 4
7 0.0244140625 0.375
6 0.0 0.359375
2 0.0 0.0
3 0.0244140625 0.0
kids 0
OBJECT poly
name "ImatWing5"
data 13
ImatWing5.001
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
0.245823 0.406684 -2.18255
0.246711 0.419482 -2.502168
0.84719 0.327953 -2.500265
0.845141 0.315992 -2.180757
0.41163 0.382125 -2.182731
0.415104 0.392272 -2.502337
0.590523 0.363112 -2.501627
0.581199 0.355841 -2.182065
numsurf 3
SURF 0x10
mat 1
refs 4
0 0.0244140625 0.859375
1 0.0 0.859375
5 0.0 0.609375
4 0.0244140625 0.625
SURF 0x10
mat 1
refs 4
6 0.0 0.359375
7 0.0244140625 0.375
4 0.0244140625 0.625
5 0.0 0.609375
SURF 0x10
mat 1
refs 4
7 0.0244140625 0.375
6 0.0 0.359375
2 0.0 0.0
3 0.0244140625 0.0
kids 0
OBJECT poly
name "ImatWing6"
data 13
ImatWing6.001
texture "immat.png"
texrep 1 1
crease 30.000000
numvert 8
0.844091 0.310003 -1.861112
0.408903 0.376441 -1.863023
0.571842 0.348376 -1.862509
0.245901 0.399653 -1.8628
0.581262 0.356222 -2.182058
0.411721 0.382666 -2.182719
0.845233 0.316546 -2.180744
0.245995 0.40771 -2.182527
numsurf 3
SURF 0x10
mat 1
refs 4
6 0.0 0.0
0 0.0244140625 0.0
2 0.0244140625 0.390625
4 0.0 0.375
SURF 0x10
mat 1
refs 4
4 0.0 0.375
2 0.0244140625 0.390625
1 0.0244140625 0.625
5 0.0 0.625
SURF 0x10
mat 1
refs 4
5 0.0 0.625
1 0.0244140625 0.625
3 0.0244140625 0.859375
7 0.0 0.859375
kids 0

View file

@ -0,0 +1,394 @@
<?xml version="1.0"?>
<PropertyList>
<path>immat.ac</path>
<animation>
<!-- Immatriculations -->
<object-name>ImatWing1</object-name>
<object-name>ImatWing2</object-name>
<object-name>ImatWing3</object-name>
<object-name>ImatWing4</object-name>
<object-name>ImatWing5</object-name>
<object-name>ImatWing6</object-name>
<object-name>ImatFuselageL1</object-name>
<object-name>ImatFuselageL2</object-name>
<object-name>ImatFuselageL3</object-name>
<object-name>ImatFuselageL4</object-name>
<object-name>ImatFuselageL5</object-name>
<object-name>ImatFuselageL6</object-name>
<object-name>ImatFuselageR1</object-name>
<object-name>ImatFuselageR2</object-name>
<object-name>ImatFuselageR3</object-name>
<object-name>ImatFuselageR4</object-name>
<object-name>ImatFuselageR5</object-name>
<object-name>ImatFuselageR6</object-name>
<object-name>ImatPanel1</object-name>
<object-name>ImatPanel2</object-name>
<object-name>ImatPanel3</object-name>
<object-name>ImatPanel4</object-name>
<object-name>ImatPanel5</object-name>
<object-name>ImatPanel6</object-name>
</animation>
<animation>
<type>noshadow</type>
<object-name>ImatWing1</object-name>
<object-name>ImatWing2</object-name>
<object-name>ImatWing3</object-name>
<object-name>ImatWing4</object-name>
<object-name>ImatWing5</object-name>
<object-name>ImatWing6</object-name>
<object-name>ImatFuselageL1</object-name>
<object-name>ImatFuselageL2</object-name>
<object-name>ImatFuselageL3</object-name>
<object-name>ImatFuselageL4</object-name>
<object-name>ImatFuselageL5</object-name>
<object-name>ImatFuselageL6</object-name>
<object-name>ImatFuselageR1</object-name>
<object-name>ImatFuselageR2</object-name>
<object-name>ImatFuselageR3</object-name>
<object-name>ImatFuselageR4</object-name>
<object-name>ImatFuselageR5</object-name>
<object-name>ImatFuselageR6</object-name>
<object-name>ImatPanel1</object-name>
<object-name>ImatPanel2</object-name>
<object-name>ImatPanel3</object-name>
<object-name>ImatPanel4</object-name>
<object-name>ImatPanel5</object-name>
<object-name>ImatPanel6</object-name>
</animation>
<!-- Ne me demandez pas comment j'ai obtenu la formule du facteur, ce fut au feeling ;) -->
<!--
Largeur de l'image complète : 2048 pixels
Largeur d'un caractère : 50 pixels
Nombre de cases : 2048/50 = 40.96
factor : 1/40.96 = 0.0244140625
-->
<!-- Fuselage gauche -->
<animation>
<type>textranslate</type>
<object-name>ImatFuselageL1</object-name>
<property>sim/multiplay/generic/int[0]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatFuselageL2</object-name>
<property>sim/multiplay/generic/int[1]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatFuselageL3</object-name>
<property>sim/multiplay/generic/int[2]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatFuselageL4</object-name>
<property>sim/multiplay/generic/int[3]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatFuselageL5</object-name>
<property>sim/multiplay/generic/int[4]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatFuselageL6</object-name>
<property>sim/multiplay/generic/int[5]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<!-- Fuselage droit -->
<animation>
<type>textranslate</type>
<object-name>ImatFuselageR1</object-name>
<property>sim/multiplay/generic/int[0]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatFuselageR2</object-name>
<property>sim/multiplay/generic/int[1]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatFuselageR3</object-name>
<property>sim/multiplay/generic/int[2]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatFuselageR4</object-name>
<property>sim/multiplay/generic/int[3]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatFuselageR5</object-name>
<property>sim/multiplay/generic/int[4]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatFuselageR6</object-name>
<property>sim/multiplay/generic/int[5]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<!-- Dessous aile -->
<animation>
<type>textranslate</type>
<object-name>ImatWing1</object-name>
<property>sim/multiplay/generic/int[0]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatWing2</object-name>
<property>sim/multiplay/generic/int[1]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatWing3</object-name>
<property>sim/multiplay/generic/int[2]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatWing4</object-name>
<property>sim/multiplay/generic/int[3]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatWing5</object-name>
<property>sim/multiplay/generic/int[4]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatWing6</object-name>
<property>sim/multiplay/generic/int[5]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<!-- Tableau de bord -->
<animation>
<type>textranslate</type>
<object-name>ImatPanel1</object-name>
<property>sim/multiplay/generic/int[0]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatPanel2</object-name>
<property>sim/multiplay/generic/int[1]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatPanel3</object-name>
<property>sim/multiplay/generic/int[2]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatPanel4</object-name>
<property>sim/multiplay/generic/int[3]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatPanel5</object-name>
<property>sim/multiplay/generic/int[4]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>ImatPanel6</object-name>
<property>sim/multiplay/generic/int[5]</property>
<factor> 0.0244140625 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>ImatWing1</object-name>
<object-name>ImatWing2</object-name>
<object-name>ImatWing3</object-name>
<object-name>ImatWing4</object-name>
<object-name>ImatWing5</object-name>
<object-name>ImatWing6</object-name>
<object-name>ImatFuselageL1</object-name>
<object-name>ImatFuselageL2</object-name>
<object-name>ImatFuselageL3</object-name>
<object-name>ImatFuselageL4</object-name>
<object-name>ImatFuselageL5</object-name>
<object-name>ImatFuselageL6</object-name>
<object-name>ImatFuselageR1</object-name>
<object-name>ImatFuselageR2</object-name>
<object-name>ImatFuselageR3</object-name>
<object-name>ImatFuselageR4</object-name>
<object-name>ImatFuselageR5</object-name>
<object-name>ImatFuselageR6</object-name>
<object-name>ImatPanel1</object-name>
<object-name>ImatPanel2</object-name>
<object-name>ImatPanel3</object-name>
<object-name>ImatPanel4</object-name>
<object-name>ImatPanel5</object-name>
<object-name>ImatPanel6</object-name>
<condition>
<property>sim/model/c172p/immat</property>
</condition>
</animation>
</PropertyList>

View file

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">EI-MCF</name>
<index type="int">2</index>
<texture>Liveries/fuselage.eimcf.png</texture>
</livery>
<liverytail>
<name type="string">EI-MCF</name>
<index type="int">2</index>
<texture>Liveries/tail.png</texture>
</liverytail>
<liverywing>
<name type="string">EI-MCF</name>
<index type="int">2</index>
<texture>Liveries/wing.png</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>true</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
</sim>
</PropertyList>

View file

@ -0,0 +1,37 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">default</name>
<index type="int">1</index>
<texture>Liveries/fuselage2.png</texture>
</livery>
<liverytail>
<name type="string">default</name>
<index type="int">1</index>
<texture>Liveries/tail.png</texture>
</liverytail>
<liverywing>
<name type="string">default</name>
<index type="int">1</index>
<texture>Liveries/wing.png</texture>
</liverywing>
<c172p>
<immat>true</immat>
<fairing1>false</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
</sim>
</PropertyList>

View file

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<model>
<livery>
<name type="string">n301dp</name>
<index type="int">0</index>
<texture>Liveries/fuselage.n301dp.png</texture>
</livery>
<liverytail>
<name type="string">n301dp</name>
<index type="int">0</index>
<texture>Liveries/tail.png</texture>
</liverytail>
<liverywing>
<name type="string">n301dp</name>
<index type="int">0</index>
<texture>Liveries/wing.png</texture>
</liverywing>
<c172p>
<immat>false</immat>
<fairing1>true</fairing1>
<fairing2>true</fairing2>
<fairing3>true</fairing3>
</c172p>
</model>
</sim>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -4,46 +4,237 @@
<path>c172p.ac</path>
<!-- Temporarily use the 2D panel hack, until I have time to make
3D instruments -->
<nasal>
<load>
var livery_update = aircraft.livery_update.new(
"Aircraft/c172p/Models/Lveries", 10,
func { print("c172p livery update") });
</load>
<unload>
livery_update.stop();
</unload>
</nasal>
<!-- Immatriculatoin -->
<model>
<path>Aircraft/c172p/Models/Immat/immat.xml</path>
<offsets>
<x-m> 0.0 </x-m>
<y-m> 0.0 </y-m>
<z-m> 0.0 </z-m>
<roll-deg> 0.0 </roll-deg>
<pitch-deg> 0.0 </pitch-deg>
<heading-deg> 0.0 </heading-deg>
</offsets>
</model>
<panel>
<!-- <name>PanelInstruments</name> -->
<path>Aircraft/c172p/Models/c172p-2d-panel.xml</path>
<bottom-left>
<x-m>-0.37</x-m>
<y-m>-0.50</y-m>
<z-m>-0.10</z-m>
</bottom-left>
<bottom-right>
<x-m>-0.37</x-m>
<y-m> 0.50</y-m>
<z-m>-0.10</z-m>
</bottom-right>
<top-left>
<x-m>-0.37</x-m>
<y-m>-0.50</y-m>
<z-m> 0.25</z-m>
</top-left>
</panel>
<animation>
<type>shader</type>
<shader>chrome</shader>
<texture>glass_shader.png</texture>
<model>
<object-name>glas</object-name>
<object-name>leftwindow</object-name>
<object-name>rightwindow</object-name>
</animation>
<!--instrumentation-->
<model>
<name>MagCompass</name>
<path>Aircraft/Instruments-3d/mag-compass.xml</path>
<offsets>
<x-m>-0.35</x-m>
<y-m>0.00</y-m>
<z-m>0.16</z-m>
<z-m>0.18</z-m>
</offsets>
</model>
</model>
<model>
<name>AI</name>
<path>Aircraft/c172p/Instruments/AI/AI.xml</path>
<offsets>
<x-m>-0.369</x-m>
<y-m>-0.222</y-m>
<z-m>0.069</z-m>
</offsets>
</model>
<model>
<name>Altimeter</name>
<path>Aircraft/c172p/Instruments/Altimeter/Altimeter.xml</path>
<offsets>
<x-m>-0.369</x-m>
<y-m>-0.133</y-m>
<z-m>0.069</z-m>
</offsets>
</model>
<model>
<name>BatteryGauge</name>
<path>Aircraft/c172p/Instruments/BatteryGauge/BatteryGauge.xml</path>
<offsets>
<x-m>-0.367</x-m>
<y-m>-0.410</y-m>
<z-m>-0.171</z-m>
</offsets>
</model>
<model>
<name>Kap140</name>
<path>Aircraft/c172p/Instruments/kap140/KAP140TwoAxisAlt.xml</path>
<offsets>
<x-m>-0.367</x-m>
<y-m>0.116</y-m>
<z-m>-0.092</z-m>
</offsets>
</model>
<model>
<name>asi</name>
<path>Aircraft/c172p/Instruments/asi/asi.xml</path>
<offsets>
<x-m>-0.368</x-m>
<y-m>-0.311</y-m>
<z-m>0.068</z-m>
</offsets>
</model>
<model>
<name>Turn</name>
<path>Aircraft/c172p/Instruments/Turn/Turn.xml</path>
<offsets>
<x-m>-0.368</x-m>
<y-m>-0.311</y-m>
<z-m>-0.037</z-m>
</offsets>
</model>
<model>
<name>VSI</name>
<path>Aircraft/c172p/Instruments/VSI/VSI.xml</path>
<offsets>
<x-m>-0.368</x-m>
<y-m>-0.131</y-m>
<z-m>-0.036</z-m>
</offsets>
</model>
<model>
<name>RPM</name>
<path>Aircraft/c172p/Instruments/RPM/RPM.xml</path>
<offsets>
<x-m>-0.368</x-m>
<y-m>-0.311</y-m>
<z-m>-0.152</z-m>
</offsets>
</model>
<model>
<name>hi</name>
<path>Aircraft/c172p/Instruments/hi/hi.xml</path>
<offsets>
<x-m>-0.368</x-m>
<y-m>-0.222</y-m>
<z-m>-0.036</z-m>
</offsets>
</model>
<model>
<name>vor</name>
<path>Aircraft/c172p/Instruments/vor/vor.xml</path>
<offsets>
<x-m>-0.368</x-m>
<y-m>-0.041</y-m>
<z-m>0.069</z-m>
</offsets>
</model>
<model>
<name>vor2</name>
<path>Aircraft/c172p/Instruments/vor/vor2.xml</path>
<offsets>
<x-m>-0.368</x-m>
<y-m>-0.041</y-m>
<z-m>-0.036</z-m>
</offsets>
</model>
<model>
<name>adf</name>
<path>Aircraft/c172p/Instruments/kr87-adf/ki227-00.xml</path>
<offsets>
<x-m>-0.368</x-m>
<y-m>-0.041</y-m>
<z-m>-0.144</z-m>
</offsets>
</model>
<model>
<name>RadioStack</name>
<path>Aircraft/c172p/Instruments/radio_stack/radio-stack.xml</path>
<offsets>
<x-m>-0.364</x-m>
<y-m>0.113</y-m>
<z-m>-0.036</z-m>
</offsets>
</model>
<model>
<name>clock</name>
<path>Aircraft/c172p/Instruments/clock/clock.xml</path>
<offsets>
<x-m>-0.369</x-m>
<y-m>-0.389</y-m>
<z-m>0.049</z-m>
</offsets>
</model>
<model>
<name>vac</name>
<path>Aircraft/c172p/Instruments/vac/vac.xml</path>
<offsets>
<x-m>-0.369</x-m>
<y-m>-0.432</y-m>
<z-m>0.024</z-m>
</offsets>
</model>
<model>
<name>fuel</name>
<path>Aircraft/c172p/Instruments/c172FuelOilAmps/c172fuel.xml</path>
<offsets>
<x-m>-0.369</x-m>
<y-m>-0.405</y-m>
<z-m>-0.013</z-m>
</offsets>
</model>
<model>
<name>oil</name>
<path>Aircraft/c172p/Instruments/c172FuelOilAmps/c172oil.xml</path>
<offsets>
<x-m>-0.369</x-m>
<y-m>-0.405</y-m>
<z-m>-0.060</z-m>
</offsets>
</model>
<model>
<name>mag_sw</name>
<path>Aircraft/c172p/Instruments/magneto-switch/mags.xml</path>
<offsets>
<x-m>-0.369</x-m>
<y-m>-0.414</y-m>
<z-m>-0.250</z-m>
</offsets>
</model>
<!-- LOD for the model as a whole -->
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>10000</max-m>
</animation>
<!-- Controls -->
@ -127,8 +318,8 @@
<factor>-45</factor>
<center>
<x-m>-0.23</x-m>
<y-m>-0.245</y-m>
<z-m>-0.13</z-m>
<y-m>-0.219</y-m>
<z-m>-0.130</z-m>
</center>
<axis>
<x>1.0</x>
@ -500,7 +691,7 @@
<animation>
<type>rotate</type>
<object-name>LeftAileron</object-name>
<object-name>leftaileron</object-name>
<property>surface-positions/left-aileron-pos-norm</property>
<interpolation>
<entry>
@ -516,21 +707,19 @@
<dep>20</dep>
</entry>
</interpolation>
<center>
<x-m>1.1</x-m>
<y-m>-1.96</y-m>
<z-m>0.35</z-m>
</center>
<axis>
<x>0.49</x>
<y>2.65</y>
<z>-0.03</z>
<x1-m>0.862</x1-m>
<y1-m>-5.464</y1-m>
<z1-m>0.459</z1-m>
<x2-m>1.158</x2-m>
<y2-m>-2.616</y2-m>
<z2-m>0.337</z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RightAileron</object-name>
<object-name>rightaileron</object-name>
<property>surface-positions/right-aileron-pos-norm</property>
<interpolation>
<entry>
@ -546,69 +735,79 @@
<dep>-15</dep>
</entry>
</interpolation>
<center>
<x-m>1.1</x-m>
<y-m>1.96</y-m>
<z-m>0.35</z-m>
</center>
<axis>
<x>-0.49</x>
<y>2.65</y>
<z>0.03</z>
<x1-m>1.158</x1-m>
<y1-m>2.616</y1-m>
<z1-m>0.337</z1-m>
<x2-m>0.862</x2-m>
<y2-m>5.464</y2-m>
<z2-m>0.459</z2-m>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>LeftFlap</object-name>
<object-name>RightFlap</object-name>
<object-name>flaps</object-name>
<property>surface-positions/flap-pos-norm</property>
<factor>0.15</factor>
<factor>0.07</factor>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.2</z>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>LeftFlap</object-name>
<object-name>flaps</object-name>
<property>surface-positions/flap-pos-norm</property>
<factor>30</factor>
<center>
<x-m>0.76</x-m>
<x-m>1.152</x-m>
<y-m>-0.53</y-m>
<z-m>0.32</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>-0.1</z>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>RightFlap</object-name>
<property>surface-positions/flap-pos-norm</property>
<factor>30</factor>
<center>
<x-m>0.76</x-m>
<y-m>-0.53</y-m>
<z-m>0.32</z-m>
</center>
<object-name>elevatorleft</object-name>
<property>surface-positions/elevator-pos-norm</property>
<interpolation>
<entry>
<ind>-1.0</ind>
<dep>-28</dep>
</entry>
<entry>
<ind>0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1.0</ind>
<dep>23</dep>
</entry>
</interpolation>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.1</z>
<x1-m>5.088</x1-m>
<y1-m>-0.813</y1-m>
<z1-m>-0.457</z1-m>
<x2-m>5.108</x2-m>
<y2-m>-0.059</y2-m>
<z2-m>-0.513</z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>Elevators</object-name>
<object-name>ElevatorTrimTab</object-name>
<object-name>elevatorright</object-name>
<property>surface-positions/elevator-pos-norm</property>
<interpolation>
<entry>
@ -624,19 +823,19 @@
<dep>23</dep>
</entry>
</interpolation>
<center>
<x-m>4.84</x-m>
<y-m>0.0</y-m>
<z-m>-0.17</z-m>
</center>
<axis>
<x>0.0</x>
<y>1.0</y>
<z>0.0</z>
<x1-m>5.108</x1-m>
<y1-m>0.059</y1-m>
<z1-m>-0.513</z1-m>
<x2-m>5.088</x2-m>
<y2-m>0.813</y2-m>
<z2-m>-0.457</z2-m>
</axis>
</animation>
<animation>
<!--<animation>
<type>rotate</type>
<object-name>ElevatorTrimTab</object-name>
<property>controls/flight/elevator-trim</property>
@ -651,25 +850,229 @@
<y>-0.82</y>
<z>0.0</z>
</axis>
</animation>
</animation>-->
<animation>
<type>rotate</type>
<object-name>Rudder</object-name>
<object-name>rudder</object-name>
<object-name>RearNavLightOn</object-name>
<object-name>RearNavLightOff</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>17.5</factor>
<center>
<x-m>4.84</x-m>
<y-m>0.0</y-m>
<z-m>-.16</z-m>
<axis>
<x1-m>4.918</x1-m>
<y1-m>0</y1-m>
<z1-m>-0.310</z1-m>
<x2-m>5.805</x2-m>
<y2-m>-0.013</y2-m>
<z2-m>1.007</z2-m>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>fairing1</object-name>
<object-name>NoseWheel</object-name>
<object-name>NoseWheelStrut</object-name>
<object-name>Oleo</object-name>
<object-name>Axle.001</object-name>
<property>gear/gear[0]/compression-norm</property>
<factor>0.30</factor>
<axis>
<x>0.1</x>
<y>0</y>
<z>0.9</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>fairing1</object-name>
<object-name>NoseWheel</object-name>
<object-name>NoseWheelStrut</object-name>
<object-name>Oleo</object-name>
<object-name>Axle.001</object-name>
<property>surface-positions/rudder-pos-norm</property>
<factor>17.5</factor>
<axis>
<x1-m>-0.975</x1-m>
<y1-m>0</y1-m>
<z1-m>-0.6781</z1-m>
<x2-m>-1.123</x2-m>
<y2-m>0.0</y2-m>
<z2-m>-1.172</z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>fairing2</object-name>
<object-name>RightWheelStrut</object-name>
<object-name>RightWheel</object-name>
<property>gear/gear[2]/compression-norm</property>
<factor>1.9</factor>
<center>
<x-m>0.711</x-m>
<y-m>0.474</y-m>
<z-m>-0.708</z-m>
</center>
<axis>
<x>0.25</x>
<x>1.0</x>
<y>0.0</y>
<z>1.0</z>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>fairing1</object-name>
<object-name>LeftWheelStrut</object-name>
<object-name>LeftWheel</object-name>
<property>gear/gear[1]/compression-norm</property>
<factor>-1.9</factor>
<center>
<x-m>0.711</x-m>
<y-m>-0.474</y-m>
<z-m>-0.708</z-m>
</center>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>fairing1</object-name>
<condition>
<property>sim/model/c172p/fairing1</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>fairing2</object-name>
<condition>
<property>sim/model/c172p/fairing2</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>fairing3</object-name>
<condition>
<property>sim/model/c172p/fairing3</property>
</condition>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>fuselage</object-name>
<property-base>sim/model/livery/</property-base>
<texture-prop>texture</texture-prop>
<texture>fuselage2.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>leftdoor</object-name>
<property-base>sim/model/livery/</property-base>
<texture-prop>texture</texture-prop>
<texture>fuselage2.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>rightdoor</object-name>
<property-base>sim/model/livery/</property-base>
<texture-prop>texture</texture-prop>
<texture>fuselage2.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>baggagedoor</object-name>
<property-base>sim/model/livery/</property-base>
<texture-prop>texture</texture-prop>
<texture>fuselage2.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>wing</object-name>
<property-base>sim/model/liverywing/</property-base>
<texture-prop>texture</texture-prop>
<texture>wing.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>flaps</object-name>
<property-base>sim/model/liverywing/</property-base>
<texture-prop>texture</texture-prop>
<texture>wing.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>rightaileron</object-name>
<property-base>sim/model/liverywing/</property-base>
<texture-prop>texture</texture-prop>
<texture>wing.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>leftaileron</object-name>
<property-base>sim/model/liverywing/</property-base>
<texture-prop>texture</texture-prop>
<texture>wing.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>vstab</object-name>
<property-base>sim/model/liverytail/</property-base>
<texture-prop>texture</texture-prop>
<texture>tail.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>hstab</object-name>
<property-base>sim/model/liverytail/</property-base>
<texture-prop>texture</texture-prop>
<texture>tai.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>elevators</object-name>
<property-base>sim/model/liverytail/</property-base>
<texture-prop>texture</texture-prop>
<texture>tail.png</texture>
</animation>
<animation>
<type>material</type>
<!--global type="bool">true</global-->
<object-name>rudder</object-name>
<property-base>sim/model/liverytail/</property-base>
<texture-prop>texture</texture-prop>
<texture>tail.png</texture>
</animation>
</PropertyList>

View file

@ -0,0 +1,460 @@
##
# Procedural model of a Cessna 172S electrical system. Includes a
# preliminary battery charge/discharge model and realistic ammeter
# gauge modeling.
#
##
# Initialize internal values
#
battery = nil;
alternator = nil;
last_time = 0.0;
vbus_volts = 0.0;
ebus1_volts = 0.0;
ebus2_volts = 0.0;
ammeter_ave = 0.0;
##
# Initialize the electrical system
#
init_electrical = func {
print("Initializing Nasal Electrical System");
battery = BatteryClass.new();
alternator = AlternatorClass.new();
# set initial switch positions
setprop("/controls/engines/engine[0]/master-bat", 1);
setprop("/controls/engines/engine[0]/master-alt", 1);
setprop("/controls/switches/master-avionics", 1);
setprop("/systems/electrical/outputs/autopilot",0.0);
# Request that the update fuction be called next frame
settimer(update_electrical, 0);
}
##
# Battery model class.
#
BatteryClass = {};
BatteryClass.new = func {
obj = { parents : [BatteryClass],
ideal_volts : 24.0,
ideal_amps : 30.0,
amp_hours : 12.75,
charge_percent : 1.0,
charge_amps : 7.0 };
return obj;
}
##
# Passing in positive amps means the battery will be discharged.
# Negative amps indicates a battery charge.
#
BatteryClass.apply_load = func( amps, dt ) {
amphrs_used = amps * dt / 3600.0;
percent_used = amphrs_used / me.amp_hours;
me.charge_percent -= percent_used;
if ( me.charge_percent < 0.0 ) {
me.charge_percent = 0.0;
} elsif ( me.charge_percent > 1.0 ) {
me.charge_percent = 1.0;
}
# print( "battery percent = ", me.charge_percent);
return me.amp_hours * me.charge_percent;
}
##
# Return output volts based on percent charged. Currently based on a simple
# polynomal percent charge vs. volts function.
#
BatteryClass.get_output_volts = func {
x = 1.0 - me.charge_percent;
tmp = -(3.0 * x - 1.0);
factor = (tmp*tmp*tmp*tmp*tmp + 32) / 32;
return me.ideal_volts * factor;
}
##
# Return output amps available. This function is totally wrong and should be
# fixed at some point with a more sensible function based on charge percent.
# There is probably some physical limits to the number of instantaneous amps
# a battery can produce (cold cranking amps?)
#
BatteryClass.get_output_amps = func {
x = 1.0 - me.charge_percent;
tmp = -(3.0 * x - 1.0);
factor = (tmp*tmp*tmp*tmp*tmp + 32) / 32;
return me.ideal_amps * factor;
}
##
# Alternator model class.
#
AlternatorClass = {};
AlternatorClass.new = func {
obj = { parents : [AlternatorClass],
rpm_source : "/engines/engine[0]/rpm",
rpm_threshold : 800.0,
ideal_volts : 28.0,
ideal_amps : 60.0 };
setprop( obj.rpm_source, 0.0 );
return obj;
}
##
# Computes available amps and returns remaining amps after load is applied
#
AlternatorClass.apply_load = func( amps, dt ) {
# Scale alternator output for rpms < 800. For rpms >= 800
# give full output. This is just a WAG, and probably not how
# it really works but I'm keeping things "simple" to start.
rpm = getprop( me.rpm_source );
factor = rpm / me.rpm_threshold;
if ( factor > 1.0 ) {
factor = 1.0;
}
# print( "alternator amps = ", me.ideal_amps * factor );
available_amps = me.ideal_amps * factor;
return available_amps - amps;
}
##
# Return output volts based on rpm
#
AlternatorClass.get_output_volts = func {
# scale alternator output for rpms < 800. For rpms >= 800
# give full output. This is just a WAG, and probably not how
# it really works but I'm keeping things "simple" to start.
rpm = getprop( me.rpm_source );
factor = rpm / me.rpm_threshold;
if ( factor > 1.0 ) {
factor = 1.0;
}
# print( "alternator volts = ", me.ideal_volts * factor );
return me.ideal_volts * factor;
}
##
# Return output amps available based on rpm.
#
AlternatorClass.get_output_amps = func {
# scale alternator output for rpms < 800. For rpms >= 800
# give full output. This is just a WAG, and probably not how
# it really works but I'm keeping things "simple" to start.
rpm = getprop( me.rpm_source );
factor = rpm / me.rpm_threshold;
if ( factor > 1.0 ) {
factor = 1.0;
}
# print( "alternator amps = ", ideal_amps * factor );
return me.ideal_amps * factor;
}
##
# This is the main electrical system update function.
#
update_electrical = func {
time = getprop("/sim/time/elapsed-sec");
dt = time - last_time;
last_time = time;
update_virtual_bus( dt );
# Request that the update fuction be called again next frame
settimer(update_electrical, 0);
}
##
# Model the system of relays and connections that join the battery,
# alternator, starter, master/alt switches, external power supply.
#
update_virtual_bus = func( dt ) {
serviceable = getprop("/systems/electrical/serviceable");
if ( serviceable ) {
battery_volts = battery.get_output_volts();
alternator_volts = alternator.get_output_volts();
} else {
battery_volts = 0.0;
alternator_volts = 0.0;
}
external_volts = 0.0;
load = 0.0;
# switch state
master_bat = getprop("/controls/engines/engine[0]/master-bat");
master_alt = getprop("/controls/engines/engine[0]/master-alt");
# determine power source
bus_volts = 0.0;
power_source = nil;
if ( master_bat ) {
bus_volts = battery_volts;
power_source = "battery";
}
if ( master_alt and (alternator_volts > bus_volts) ) {
bus_volts = alternator_volts;
power_source = "alternator";
}
if ( external_volts > bus_volts ) {
bus_volts = external_volts;
power_source = "external";
}
# print( "virtual bus volts = ", bus_volts );
# starter motor
starter_switch = getprop("/controls/engines/engine[0]/starter");
starter_volts = 0.0;
if ( starter_switch ) {
starter_volts = bus_volts;
}
setprop("/systems/electrical/outputs/starter[0]", starter_volts);
# bus network (1. these must be called in the right order, 2. the
# bus routine itself determins where it draws power from.)
load += electrical_bus_1();
load += electrical_bus_2();
load += cross_feed_bus();
load += avionics_bus_1();
load += avionics_bus_2();
# system loads and ammeter gauge
ammeter = 0.0;
if ( bus_volts > 1.0 ) {
# normal load
load += 15.0;
# ammeter gauge
if ( power_source == "battery" ) {
ammeter = -load;
} else {
ammeter = battery.charge_amps;
}
}
# print( "ammeter = ", ammeter );
# charge/discharge the battery
if ( power_source == "battery" ) {
battery.apply_load( load, dt );
} elsif ( bus_volts > battery_volts ) {
battery.apply_load( -battery.charge_amps, dt );
}
# filter ammeter needle pos
ammeter_ave = 0.8 * ammeter_ave + 0.2 * ammeter;
# outputs
setprop("/systems/electrical/amps", ammeter_ave);
setprop("/systems/electrical/volts", bus_volts);
vbus_volts = bus_volts;
return load;
}
electrical_bus_1 = func() {
# we are fed from the "virtual" bus
bus_volts = vbus_volts;
load = 0.0;
# Cabin Lights Power
if ( getprop("/controls/circuit-breakers/cabin-lights-pwr") ) {
setprop("/systems/electrical/outputs/cabin-lights", bus_volts);
} else {
setprop("/systems/electrical/outputs/cabin-lights", 0.0);
}
# Instrument Power
setprop("/systems/electrical/outputs/instr-ignition-switch", bus_volts);
# Fuel Pump Power
if ( getprop("/controls/engines/engine[0]/fuel-pump") ) {
setprop("/systems/electrical/outputs/fuel-pump", bus_volts);
} else {
setprop("/systems/electrical/outputs/fuel-pump", 0.0);
}
# Landing Light Power
if ( getprop("/controls/switches/landing-light") ) {
setprop("/systems/electrical/outputs/landing-light", bus_volts);
} else {
setprop("/systems/electrical/outputs/landing-light", 0.0 );
}
# Beacon Power
if ( getprop("/controls/switches/flashing-beacon" ) ) {
setprop("/systems/electrical/outputs/beacon", bus_volts);
if ( bus_volts > 1.0 ) { load += 7.5; }
} else {
setprop("/systems/electrical/outputs/beacon", 0.0);
}
# Flaps Power
setprop("/systems/electrical/outputs/flaps", bus_volts);
# register bus voltage
ebus1_volts = bus_volts;
# return cumulative load
return load;
}
electrical_bus_2 = func() {
# we are fed from the "virtual" bus
bus_volts = vbus_volts;
load = 0.0;
# Turn Coordinator Power
setprop("/systems/electrical/outputs/turn-coordinator", bus_volts);
# Map Lights Power
if ( getprop("/controls/switches/nav-lights" ) ) {
setprop("/systems/electrical/outputs/map-lights", bus_volts);
if ( bus_volts > 1.0 ) { load += 7.0; }
} else {
setprop("/systems/electrical/outputs/map-lights", 0.0);
}
# Instrument Lights Power
setprop("/systems/electrical/outputs/instrument-lights", bus_volts);
# Strobe Lights Power
if ( getprop("/controls/switches/strobe-lights" ) ) {
setprop("/systems/electrical/outputs/strobe-lights", bus_volts);
} else {
setprop("/systems/electrical/outputs/strobe-lights", 0.0);
}
# Taxi Lights Power
if ( getprop("/controls/switches/taxi-lights" ) ) {
setprop("/systems/electrical/outputs/taxi-lights", bus_volts);
} else {
setprop("/systems/electrical/outputs/taxi-lights", 0.0);
}
# Pitot Heat Power
if ( getprop("/controls/switches/pitot-heat" ) ) {
setprop("/systems/electrical/outputs/pitot-heat", bus_volts);
} else {
setprop("/systems/electrical/outputs/pitot-heat", 0.0);
}
# register bus voltage
ebus2_volts = bus_volts;
# return cumulative load
return load;
}
cross_feed_bus = func() {
# we are fed from either of the electrical bus 1 or 2
if ( ebus1_volts > ebus2_volts ) {
bus_volts = ebus1_volts;
} else {
bus_volts = ebus2_volts;
}
load = 0.0;
setprop("/systems/electrical/outputs/annunciators", bus_volts);
# return cumulative load
return load;
}
avionics_bus_1 = func() {
master_av = getprop("/controls/switches/master-avionics");
# we are fed from the electrical bus 1
if ( master_av ) {
bus_volts = ebus1_volts;
} else {
bus_volts = 0.0;
}
load = 0.0;
# Avionics Fan Power
setprop("/systems/electrical/outputs/avionics-fan", bus_volts);
# GPS Power
setprop("/systems/electrical/outputs/gps", bus_volts);
# HSI Power
setprop("/systems/electrical/outputs/hsi", bus_volts);
# NavCom 1 Power
setprop("/systems/electrical/outputs/nav[0]", bus_volts);
# DME Power
setprop("/systems/electrical/outputs/dme", bus_volts);
# Audio Panel 1 Power
setprop("/systems/electrical/outputs/audio-panel[0]", bus_volts);
# return cumulative load
return load;
}
avionics_bus_2 = func() {
master_av = getprop("/controls/switches/master-avionics");
# we are fed from the electrical bus 2
if ( master_av ) {
bus_volts = ebus2_volts;
} else {
bus_volts = 0.0;
}
load = 0.0;
# NavCom 2 Power
setprop("/systems/electrical/outputs/nav[1]", bus_volts);
# Audio Panel 2 Power
setprop("/systems/electrical/outputs/audio-panel[1]", bus_volts);
# Transponder Power
setprop("/systems/electrical/outputs/transponder", bus_volts);
# Autopilot Power
setprop("/systems/electrical/outputs/autopilot", bus_volts);
# ADF Power
setprop("/systems/electrical/outputs/adf", bus_volts);
# return cumulative load
return load;
}
# Setup a timer based call to initialized the electrical system as
# soon as possible.
settimer(init_electrical, 0);

View file

@ -0,0 +1,23 @@
# =====
# Doors
# =====
Doors = {};
Doors.new = func {
obj = { parents : [Doors],
crew : aircraft.door.new("instrumentation/doors/crew", 8.0),
};
return obj;
};
Doors.crewexport = func {
me.crew.toggle();
}
# ==============
# Initialization
# ==============
# objects must be here, otherwise local to init()
doorsystem = Doors.new();

View file

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<PropertyList>
<key n="100">
<name>d</name>
<desc>Canopy</desc>
<binding>
<command>nasal</command>
<script>globals.dr400.doorsystem.crewexport();</script>
</binding>
</key>
</PropertyList>

View file

@ -0,0 +1,35 @@
# ===========================
# Immatriculation by Zakharov
# ===========================
var refresh_immat = func {
var immat = props.globals.getNode("/sim/model/immat",1).getValue();
var immat_size = size(immat);
if (immat_size != 0) immat = string.uc(immat);
for (var i = 0; i < 6; i += 1) {
if (i >= immat_size)
glyph = -1;
elsif (string.isupper(immat[i]))
glyph = immat[i] - `A`;
elsif (string.isdigit(immat[i]))
glyph = immat[i] - `0` + 26;
else
glyph = 36;
props.globals.getNode("/sim/multiplay/generic/int["~i~"]", 1).setValue(glyph+1);
}
}
var immat_dialog = gui.Dialog.new("/sim/gui/dialogs/c172p/status/dialog",
"Aircraft/c172p/Dialogs/immat.xml");
setlistener("/sim/signals/fdm-initialized", func {
if (props.globals.getNode("/sim/model/immat") == nil) {
var immat = props.globals.getNode("/sim/model/immat",1);
var callsign = props.globals.getNode("/sim/multiplay/callsign").getValue();
if (callsign != "callsign") immat.setValue(callsign);
else immat.setValue("F-GHYQ");
}
refresh_immat();
setlistener("sim/model/immat", refresh_immat, 0);
},0);

View file

@ -0,0 +1,36 @@
sbc1 = aircraft.light.new( "/sim/model/lights/sbc1", [0.5, 0.3] );
sbc1.interval = 0.1;
sbc1.switch( 1 );
sbc2 = aircraft.light.new( "/sim/model/lights/sbc2", [0.2, 0.3], "/sim/model/lights/sbc1/state" );
sbc2.interval = 0;
sbc2.switch( 1 );
setlistener( "/sim/model/lights/sbc2/state", func {
bsbc1 = sbc1.stateN.getValue();
bsbc2 = cmdarg().getBoolValue();
b = 0;
if( bsbc1 and bsbc2 and getprop( "/controls/lighting/beacon") ) {
b = 1;
} else {
b = 0;
}
setprop( "/sim/model/lights/beacon/enabled", b );
if( bsbc1 and !bsbc2 and getprop( "/controls/lighting/strobe" ) ) {
b = 1;
} else {
b = 0;
}
setprop( "/sim/model/lights/strobe/enabled", b );
});
beacon = aircraft.light.new( "/sim/model/lights/beacon", [0.05, 0.05] );
beacon.interval = 0;
strobe = aircraft.light.new( "/sim/model/lights/strobe", [0.05, 0.05] );
strobe.interval = 0;
setprop( "/instrumentation/nav[0]/ident", 0 );
setprop( "/instrumentation/nav[1]/ident", 0 );

View file

@ -0,0 +1,4 @@
# liveries =========================================================
aircraft.livery.init("Aircraft/c172p/Models/Liveries", "sim/model/livery/name", "sim/model/liverytail/name", "sim/model/liverywing/name", "sim/model/livery/index");

View file

@ -0,0 +1,137 @@
<?xml version="1.0"?>
<PropertyList>
<chase-distance-m type="double" archive="y">-30.0</chase-distance-m>
<view n="100">
<name>Passanger Seat View</name>
<internal archive="y">true</internal>
<type>lookfrom</type>
<config>
<from-model type="bool">true</from-model>
<ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
<x-offset-m archive="y"> 0.195 </x-offset-m> <!-- Right -->
<y-offset-m archive="y"> 0.555 </y-offset-m> <!-- Up -->
<z-offset-m archive="y"> -1.289 </z-offset-m> <!-- Back -->
<pitch-offset-deg>-15</pitch-offset-deg>
<default-field-of-view-deg>60</default-field-of-view-deg>
<dynamic-view type="bool">true</dynamic-view>
</config>
</view>
<view n="101">
<name>Tail Camera View</name>
<type>lookfrom</type>
<internal archive="y">true</internal>
<config>
<from-model type="bool">true</from-model>
<from-model-idx type="int">0</from-model-idx>
<ground-level-nearplane-m type="double">0.01f</ground-level-nearplane-m>
<default-field-of-view-deg type="double">30</default-field-of-view-deg>
<pitch-offset-deg>-5</pitch-offset-deg>
<x-offset-m archive="y"> 0.000 </x-offset-m> <!--Right-->
<y-offset-m archive="y"> 1.066 </y-offset-m> <!--Up-->
<z-offset-m archive="y"> 2.700 </z-offset-m> <!--Back-->
</config>
</view>
<view n="102">
<name>Passanger Rear View Left</name>
<internal archive="y">true</internal>
<type>lookfrom</type>
<config>
<from-model type="bool">true</from-model>
<ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
<x-offset-m archive="y"> -0.252 </x-offset-m> <!-- Right -->
<y-offset-m archive="y"> 0.473 </y-offset-m> <!-- Up -->
<z-offset-m archive="y"> -0.361 </z-offset-m> <!-- Back -->
<pitch-offset-deg>0</pitch-offset-deg>
<default-field-of-view-deg>60</default-field-of-view-deg>
<dynamic-view type="bool">true</dynamic-view>
</config>
</view>
<view n="103">
<name>Passanger Rear View Right</name>
<internal archive="y">true</internal>
<type>lookfrom</type>
<config>
<from-model type="bool">true</from-model>
<ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
<x-offset-m archive="y"> 0.252 </x-offset-m> <!-- Right -->
<y-offset-m archive="y"> 0.473 </y-offset-m> <!-- Up -->
<z-offset-m archive="y"> -0.361 </z-offset-m> <!-- Back -->
<pitch-offset-deg>0</pitch-offset-deg>
<default-field-of-view-deg>60</default-field-of-view-deg>
<dynamic-view type="bool">true</dynamic-view>
</config>
</view>
<view n="0">
<internal archive="y">true</internal>
<config>
<x-offset-m archive="y"> -0.195 </x-offset-m> <!-- Right -->
<y-offset-m archive="y"> 0.555 </y-offset-m> <!-- Up -->
<z-offset-m archive="y"> -1.289 </z-offset-m> <!-- Back -->
<pitch-offset-deg>-20</pitch-offset-deg>
<default-field-of-view-deg>64</default-field-of-view-deg>
</config>
</view>
<view n="1">
<config>
<target-z-offset-m archive="y" type="double">0</target-z-offset-m>
</config>
</view>
<view n="2">
<config>
<target-z-offset-m archive="y" type="double">0</target-z-offset-m>
</config>
</view>
<view n="3">
<config>
<target-z-offset-m archive="y" type="double">0</target-z-offset-m>
</config>
</view>
<view n="4">
<config>
<target-z-offset-m archive="y" type="double">0</target-z-offset-m>
</config>
</view>
<view n="5">
<config>
<target-z-offset-m archive="y" type="double">0</target-z-offset-m>
</config>
</view>
<view n="6">
<config>
<target-z-offset-m archive="y" type="double">0</target-z-offset-m>
</config>
</view>
<viewer>
<eye>
<latitude-deg type="double">0</latitude-deg>
<longitude-deg type="double">0</longitude-deg>
<altitude-ft type="double">0</altitude-ft>
<heading-deg type="double">0</heading-deg>
<pitch-deg type="double">0</pitch-deg>
<roll-deg type="double">0</roll-deg>
</eye>
<target>
<latitude-deg type="double">0</latitude-deg>
<longitude-deg type="double">0</longitude-deg>
<altitude-ft type="double">0</altitude-ft>
<heading-deg type="double">0</heading-deg>
<pitch-deg type="double">0</pitch-deg>
<roll-deg type="double">0</roll-deg>
</target>
</viewer>
</PropertyList>

View file

@ -13,6 +13,10 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<description>Cessna 172P Skyhawk (1981 model), 2D panel</description>
<startup>
<splash-texture>Aircraft/c172p/splash.png</splash-texture>
</startup>
<!-- Use a 2D instrument panel -->
<panel>
@ -32,6 +36,55 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
</config>
</view>
<model>
<path archive="y">Aircraft/c172p/Models/c172p.xml</path>
<livery>
<file type="string">n301dp</file>
<index type="int">0</index>
</livery>
<liverytail>
<file type="string">n301dp</file>
<index type="int">0</index>
</liverytail>
<liverywing>
<file type="string">n301dp</file>
<index type="int">0</index>
</liverywing>
<c172p>
<immat>true</immat>
<fairing1>true</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
<multiplay>
<chat_display>1</chat_display>
<generic>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
</generic>
</multiplay>
<menubar include="Dialogs/c172p-menu.xml"/>
</sim>
<nasal>
<c172p>
<file>Aircraft/c172p/Nasal/liveries.nas</file>
<file>Aircraft/c172p/Nasal/immat.nas</file>
</c172p>
</nasal>
</PropertyList>

View file

@ -4,6 +4,11 @@
<sim>
<description>Panel only for IFR-training (Cessna 172P)</description>
<startup>
<splash-texture>Aircraft/c172p/splash.png</splash-texture>
</startup>
<panel>
<path>Aircraft/c172/Panels/c172-610x-panel.xml</path>
<visibility archive="y">true</visibility>
@ -25,6 +30,48 @@
<instrumentation>
<path>Aircraft/c172/panel-only-instrumentation.xml</path>
</instrumentation>
<model>
<path archive="y">Aircraft/c172p/Models/c172p.xml</path>
<livery>
<file type="string">n301dp</file>
<index type="int">0</index>
</livery>
<liverytail>
<file type="string">n301dp</file>
<index type="int">0</index>
</liverytail>
<liverywing>
<file type="string">n301dp</file>
<index type="int">0</index>
</liverywing>
<c172p>
<immat>true</immat>
<fairing1>true</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
<multiplay>
<chat_display>1</chat_display>
<generic>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
</generic>
</multiplay>
<menubar include="Dialogs/c172p-menu.xml"/>
</sim>
<instrumentation>
@ -36,6 +83,13 @@
</instrumentation>
<nasal>
<c172p>
<file>Aircraft/c172p/Nasal/liveries.nas</file>
<file>Aircraft/c172p/Nasal/immat.nas</file>
</c172p>
<annunciator>
<file>Aircraft/Generic/annunciator.nas</file>
</annunciator>

View file

@ -22,6 +22,11 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<path archive="y">Aircraft/c172p/Models/c172p.xml</path>
</model>
<startup>
<splash-texture>Aircraft/c172p/splash.png</splash-texture>
</startup>
<help>
<title>Cessna 172P</title>
<line>Vx 59 KIAS</line>
@ -70,8 +75,50 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<title>Cessna 172P</title>
</help>
<model>
<path archive="y">Aircraft/c172p/Models/c172p.xml</path>
<livery>
<file type="string">n301dp</file>
<index type="int">0</index>
</livery>
<liverytail>
<file type="string">n301dp</file>
<index type="int">0</index>
</liverytail>
<liverywing>
<file type="string">n301dp</file>
<index type="int">0</index>
</liverywing>
<c172p>
<immat>true</immat>
<fairing1>true</fairing1>
<fairing2>false</fairing2>
<fairing3>false</fairing3>
</c172p>
</model>
<tutorials include="c172-tutorial.xml"/>
<multiplay>
<chat_display>1</chat_display>
<generic>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
<int type="int">0</int>
</generic>
</multiplay>
<menubar include="Dialogs/c172p-menu.xml"/>
</sim>
<!-- trim for level cruise -->
@ -125,8 +172,15 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
</engines>
<nasal>
<c172p>
<file>Aircraft/c172p/Nasal/liveries.nas</file>
<file>Aircraft/c172p/Nasal/immat.nas</file>
</c172p>
<electrical>
<file>Aircraft/c172/c172-electrical.nas</file>
<file>Aircraft/c172p/Nasal/c172-electrical.nas</file>
</electrical>
<kap140>
<file>Aircraft/Generic/kap140.nas</file>