1
0
Fork 0

Unify line endings

This commit is contained in:
martin 2008-10-11 23:17:23 +00:00
parent 20d64b1fb1
commit 5558852110
72 changed files with 111784 additions and 111784 deletions

View file

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

View file

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

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because it is too large Load diff

View file

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

View file

@ -1,70 +1,70 @@
AC3Db 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 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 OBJECT world
kids 2 kids 2
OBJECT poly OBJECT poly
name "Needle" name "Needle"
loc 0.002501 -0.00207536 0 loc 0.002501 -0.00207536 0
crease 45.000000 crease 45.000000
numvert 9 numvert 9
0 0.0135253 -0.001537 0 0.0135253 -0.001537
0 -0.00689564 -0.001537 0 -0.00689564 -0.001537
0 -0.00689564 0.001537 0 -0.00689564 0.001537
0 0.0135253 0.001537 0 0.0135253 0.001537
0 0.016972 0.000726 0 0.016972 0.000726
0 0.016972 -0.000726 0 0.016972 -0.000726
0 0.0262528 -0.000726 0 0.0262528 -0.000726
0 0.0262528 0.000726 0 0.0262528 0.000726
0 0.0291699 0 0 0.0291699 0
numsurf 5 numsurf 5
SURF 0x0 SURF 0x0
mat 0 mat 0
refs 4 refs 4
0 0 0 0 0 0
3 0 0 3 0 0
2 0 0 2 0 0
1 0 0 1 0 0
SURF 0x0 SURF 0x0
mat 0 mat 0
refs 4 refs 4
3 0 0 3 0 0
0 0 0 0 0 0
5 0 0 5 0 0
4 0 0 4 0 0
SURF 0x0 SURF 0x0
mat 0 mat 0
refs 3 refs 3
5 0 0 5 0 0
6 0 0 6 0 0
8 0 0 8 0 0
SURF 0x0 SURF 0x0
mat 0 mat 0
refs 3 refs 3
8 0 0 8 0 0
7 0 0 7 0 0
4 0 0 4 0 0
SURF 0x0 SURF 0x0
mat 0 mat 0
refs 3 refs 3
8 0 0 8 0 0
4 0 0 4 0 0
5 0 0 5 0 0
kids 0 kids 0
OBJECT poly OBJECT poly
name "Face" name "Face"
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/asi/asi.rgb" texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/asi/asi.rgb"
crease 45.000000 crease 45.000000
numvert 4 numvert 4
0 0.04 -0.04 0 0.04 -0.04
0 -0.04 -0.04 0 -0.04 -0.04
0 -0.04 0.04 0 -0.04 0.04
0 0.04 0.04 0 0.04 0.04
numsurf 1 numsurf 1
SURF 0x0 SURF 0x0
mat 0 mat 0
refs 4 refs 4
0 0.941406 0.941406 0 0.941406 0.941406
3 0.0507812 0.941406 3 0.0507812 0.941406
2 0.0507812 0.0507812 2 0.0507812 0.0507812
1 0.941406 0.0507812 1 0.941406 0.0507812
kids 0 kids 0

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

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

View file

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

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

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

View file

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

View file

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

File diff suppressed because it is too large Load diff

View file

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

View file

@ -1,23 +1,23 @@
AC3Db 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 "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 OBJECT world
kids 1 kids 1
OBJECT poly OBJECT poly
name "RadioStack" name "RadioStack"
loc 0.000486599 0.0692169 -8.90131e-05 loc 0.000486599 0.0692169 -8.90131e-05
texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/radio_stack/panel-tex02.rgb" texture "/usr/local/FlightGear-0.9/data/Aircraft/Instruments-3d/radio_stack/panel-tex02.rgb"
crease 45.000000 crease 45.000000
numvert 4 numvert 4
0 0.0657509 -0.0804673 0 0.0657509 -0.0804673
0 0.0657509 0.0808435 0 0.0657509 0.0808435
0 -0.139838 0.0808435 0 -0.139838 0.0808435
0 -0.139838 -0.0804673 0 -0.139838 -0.0804673
numsurf 1 numsurf 1
SURF 0x20 SURF 0x20
mat 0 mat 0
refs 4 refs 4
0 0 1 0 0 1
1 1 1 1 1 1
2 1 0 2 1 0
3 0 0 3 0 0
kids 0 kids 0

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

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

View file

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

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
# liveries ========================================================= # liveries =========================================================
aircraft.livery.init("Aircraft/c172p/Models/Liveries", "sim/model/livery/name", "sim/model/liverytail/name", "sim/model/liverywing/name", "sim/model/livery/index"); 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

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

View file

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

View file

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

View file

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