1
0
Fork 0

From Dave Perry:

Patch goals:
1. Implement instrument and pannel lights controled by the nav-light switch.
2. Use Instruments-3d/vor which includes GS flag and filters for smooth movement of cdi and gs needles to and from parked position.
3. Adjust model and pilot view per the agreed to changes in Re: [Flightgear-devel] c172p pitch at cruise question, 12/06/2008 02:27 PM.  These changes were never committed.
This commit is contained in:
jmt 2009-11-18 20:35:40 +00:00
parent 56fc0f9076
commit 42832d3e79
60 changed files with 15843 additions and 19473 deletions

View file

@ -15,7 +15,7 @@
<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>sim/model/material/instruments/factor</factor-prop>
</emission> </emission>
</animation> </animation>
@ -23,7 +23,7 @@
<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>
@ -37,7 +37,7 @@
<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>
@ -49,7 +49,7 @@
<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>
@ -67,7 +67,7 @@
<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>
@ -82,7 +82,7 @@
<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>
@ -97,7 +97,7 @@
<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>
@ -107,14 +107,14 @@
<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>

File diff suppressed because it is too large Load diff

View file

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

View file

@ -13,7 +13,7 @@
<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>sim/model/material/instruments/factor</factor-prop>
</emission> </emission>
</animation> </animation>

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

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

View file

@ -11,7 +11,7 @@
<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>sim/model//material/instruments/factor</factor-prop>
</emission> </emission>
</animation> </animation>

View file

@ -12,7 +12,7 @@
<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>sim/model//material/instruments/factor</factor-prop>
</emission> </emission>
</animation> </animation>

View file

@ -13,7 +13,7 @@
<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>sim/model//material/instruments/factor</factor-prop>
</emission> </emission>
</animation> </animation>
@ -21,7 +21,7 @@
<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>
@ -33,7 +33,7 @@
<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>

View file

@ -12,7 +12,7 @@
<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>sim/model//material/instruments/factor</factor-prop>
</emission> </emission>
</animation> </animation>

View file

@ -13,14 +13,14 @@
<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>

View file

@ -13,14 +13,14 @@
<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>
@ -64,7 +64,7 @@
<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>

View file

@ -13,7 +13,7 @@
<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>
@ -21,7 +21,7 @@
<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>
@ -56,7 +56,7 @@
<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>

View file

@ -4,10 +4,24 @@
<path>clock.ac</path> <path>clock.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>SecondHand</object-name>
<object-name>MinuteHand</object-name>
<object-name>HourHand</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
<animation> <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>
@ -19,7 +33,7 @@
<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>
@ -31,7 +45,7 @@
<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>

View file

@ -1,9 +1,10 @@
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.745 0.745 0.745 emis 0 0 0 spec 0 0 0 shi 10 trans 0
MATERIAL "ac3dmat11" rgb 0.933333 0.501961 0.933333 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.2 0.2 0.2 shi 128 trans 1 MATERIAL "ac3dmat11" rgb 0.933333 0.501961 0.933333 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.2 0.2 0.2 shi 128 trans 1
MATERIAL "ac3dmat1" rgb 0.722 0.722 0.722 amb 0.094 0.094 0.094 emis 0 0 0 spec 1 1 1 shi 85 trans 0 MATERIAL "ac3dmat1" rgb 0.722 0.722 0.722 amb 0.325 0.325 0.325 emis 0 0 0 spec 1 1 1 shi 85 trans 0
MATERIAL "ac3dmat0" rgb 0.102 0.102 0.102 amb 0.204 0.204 0.204 emis 0 0 0 spec 0.231 0.231 0.231 shi 10 trans 0
OBJECT world OBJECT world
kids 5 kids 6
OBJECT poly OBJECT poly
name "SourceSelectorPick.R" name "SourceSelectorPick.R"
loc 1e-05 -0.00247225 0.0623157 loc 1e-05 -0.00247225 0.0623157
@ -837,3 +838,21 @@ refs 4
2 0.127899 0 2 0.127899 0
3 0.251122 0 3 0.251122 0
kids 0 kids 0
OBJECT poly
name "Plane"
loc -0.0325442 0 -9.31323e-09
crease 45.000000
numvert 4
0.0325441 -0.0255 0.079
0.0325441 -0.0255 -0.079
0.0325441 0.0255 -0.079
0.0325441 0.0255 0.079
numsurf 1
SURF 0x10
mat 3
refs 4
0 0.210388 0.35829
1 0.406498 0.35829
2 0.406498 0.477495
3 0.210388 0.477495
kids 0

View file

@ -8,10 +8,10 @@
<serviceable>instrumentation/dme[0]/serviceable</serviceable> <serviceable>instrumentation/dme[0]/serviceable</serviceable>
</params> </params>
<path>dme.ac</path> <path>Aircraft/pa24-250/Models/radio_stack/dme.ac</path>
<model> <model>
<path>Aircraft/Instruments-3d/ki266/ki266.xml</path> <path>Aircraft/pa24-250/Models/radio_stack/ki266.xml</path>
<name>ki266</name> <name>ki266</name>
<offsets> <offsets>
<x-m>0.00140005</x-m> <x-m>0.00140005</x-m>
@ -20,6 +20,36 @@
</offsets> </offsets>
</model> </model>
<animation>
<type>material</type>
<object-name>on</object-name>
<object-name>off</object-name>
<object-name>Label3</object-name>
<object-name>n1</object-name>
<object-name>hld</object-name>
<object-name>n2</object-name>
<object-name>SourceSelectorKnob</object-name>
<emission>
<red>0.4</red>
<green>0.08</green>
<blue>0.00004</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>PowerSwitch.Lever</object-name>
<object-name>PowerSwitch.Base</object-name>
<object-name>Plane</object-name>
<emission>
<red>0.1</red>
<green>0.02</green>
<blue>0.00001</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<!-- the power switch --> <!-- the power switch -->
<animation> <animation>
<type>rotate</type> <type>rotate</type>

View file

@ -0,0 +1,478 @@
AC3Db
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 1 1 1 spec 0 0 0 shi 10 trans 0
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.745 0.745 0.745 emis 0 0 0 spec 0.2 0.2 0.2 shi 128 trans 0
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.745 0.745 0.745 emis 0 0 0 spec 0 0 0 shi 10 trans 0
OBJECT world
kids 3
OBJECT poly
name "Frame"
loc 0.00140005 0 -3.72529e-09
texture "ki266.rgb"
crease 45.000000
numvert 32
0.0015 0.0135 0.0317778
0.0015 0.0135 -0.0317778
0 0.0135 0.0317778
0 0.0135 -0.0317778
0.0015 -0.0135 0.0317778
0.0015 -0.0135 -0.0317778
0 -0.0135 0.0317778
0 -0.0135 -0.0317778
0.0015 0.0085 0.0405
0.0015 0.00765 0.039
0.0015 -0.0085 0.0405
0.0015 -0.00765 0.039
0.0015 -0.015 0.033
0.0015 -0.015 -0.033
0.0015 -0.0085 -0.0405
0.0015 -0.00765 -0.039
0.0015 0.0085 -0.0405
0.0015 0.00765 -0.039
0.0015 0.015 -0.033
0.0015 0.015 0.033
-0.0015 0.015 0.033
-0.0015 0.015 -0.033
-0.0015 0.0085 0.0405
-0.0015 -0.0085 0.0405
-0.0015 0.0085 -0.0405
-0.0015 -0.0085 -0.0405
-0.0015 -0.015 0.033
-0.0015 -0.015 -0.033
0 -0.00765 0.039
0 0.00765 0.039
0 -0.00765 -0.039
0 0.00765 -0.039
numsurf 25
SURF 0x30
mat 1
refs 8
2 0.0546719 0.279815
29 0.0546719 0.279815
28 0.0546719 0.279815
6 0.0546719 0.279815
7 0.0546719 0.279815
30 0.0546719 0.279815
31 0.0546719 0.279815
3 0.0546719 0.279815
SURF 0x0
mat 1
refs 4
2 0.0175626 0.67044
3 0.0175626 0.67044
1 0.357068 0.67044
0 0.357068 0.67044
SURF 0x0
mat 1
refs 4
4 0.357068 0.67044
5 0.357068 0.67044
7 0.0175626 0.67044
6 0.0175626 0.67044
SURF 0x0
mat 1
refs 4
21 0.018173 0.678698
20 0.018173 0.678698
19 0.363376 0.678698
18 0.363376 0.678698
SURF 0x0
mat 1
refs 4
20 0.018173 0.678698
22 0.018173 0.678698
8 0.363376 0.678698
19 0.363376 0.678698
SURF 0x0
mat 1
refs 4
18 0.363376 0.678698
16 0.363376 0.678698
24 0.018173 0.678698
21 0.018173 0.678698
SURF 0x0
mat 1
refs 4
22 0.018173 0.678698
23 0.018173 0.678698
10 0.363376 0.678698
8 0.363376 0.678698
SURF 0x0
mat 1
refs 4
16 0.363376 0.678698
14 0.363376 0.678698
25 0.018173 0.678698
24 0.018173 0.678698
SURF 0x0
mat 1
refs 4
13 0.363376 0.678698
12 0.363376 0.678698
26 0.018173 0.678698
27 0.018173 0.678698
SURF 0x0
mat 1
refs 4
12 0.363376 0.678698
10 0.363376 0.678698
23 0.018173 0.678698
26 0.018173 0.678698
SURF 0x0
mat 1
refs 4
27 0.018173 0.678698
25 0.018173 0.678698
14 0.363376 0.678698
13 0.363376 0.678698
SURF 0x0
mat 1
refs 4
28 0.0175626 0.67044
29 0.0175626 0.67044
9 0.357068 0.67044
11 0.357068 0.67044
SURF 0x0
mat 1
refs 4
15 0.357068 0.67044
17 0.357068 0.67044
31 0.0175626 0.67044
30 0.0175626 0.67044
SURF 0x0
mat 1
refs 4
29 0.0175626 0.67044
2 0.0175626 0.67044
0 0.357068 0.67044
9 0.357068 0.67044
SURF 0x0
mat 1
refs 4
11 0.357068 0.67044
4 0.357068 0.67044
6 0.0175626 0.67044
28 0.0175626 0.67044
SURF 0x0
mat 1
refs 4
17 0.357068 0.67044
1 0.357068 0.67044
3 0.0175626 0.67044
31 0.0175626 0.67044
SURF 0x0
mat 1
refs 4
30 0.0175626 0.67044
7 0.0175626 0.67044
5 0.357068 0.67044
15 0.357068 0.67044
SURF 0x0
mat 1
refs 4
19 0.516923 0.730952
8 0.559014 0.730952
9 0.558798 0.604378
0 0.516923 0.604378
SURF 0x0
mat 1
refs 4
4 0.516923 0.604378
11 0.558798 0.604378
10 0.559014 0.730952
12 0.516923 0.730952
SURF 0x0
mat 1
refs 4
1 0.516923 0.604378
17 0.558798 0.604378
16 0.559014 0.730952
18 0.516923 0.730952
SURF 0x0
mat 1
refs 4
13 0.516923 0.730952
14 0.559014 0.730952
15 0.558798 0.604378
5 0.516923 0.604378
SURF 0x0
mat 1
refs 4
18 0.554654 0.720706
19 0.554654 0.612504
0 0.520065 0.613059
1 0.520065 0.720706
SURF 0x0
mat 1
refs 4
5 0.516923 0.604378
4 0.558798 0.604378
12 0.559014 0.730952
13 0.516923 0.730952
SURF 0x0
mat 1
refs 4
8 0.555993 0.608773
10 0.518743 0.609364
11 0.518743 0.72407
9 0.555993 0.72407
SURF 0x0
mat 1
refs 4
17 0.555993 0.72407
15 0.518743 0.72407
14 0.518743 0.609364
16 0.555993 0.608773
kids 0
OBJECT group
name "Indicators"
loc -0.00053296 -0.0122638 -0.0330522
kids 5
OBJECT poly
name "Kts"
loc 0.00229295 -0.0042126 0.00381041
texture "ki266.rgb"
crease 45.000000
numvert 4
0 0.0100894 0.000505522
0 0.0100894 0.0099066
0 0.00409127 0.0099066
0 0.00409127 0.000505522
numsurf 1
SURF 0x0
mat 0
refs 4
0 0.726978 0.885144
1 0.625811 0.885144
2 0.625853 0.670432
3 0.726989 0.670432
kids 0
OBJECT poly
name "Min"
loc 0.00229295 -0.0042126 0.0152601
texture "ki266.rgb"
crease 45.000000
numvert 4
0 0.00409127 0.000603892
0 0.00409127 0.0118344
0 0.0100894 0.0118344
0 0.0100894 0.000603892
numsurf 1
SURF 0x0
mat 0
refs 4
3 0.830001 0.885146
2 0.728947 0.885144
1 0.729001 0.670432
0 0.830001 0.670903
kids 0
OBJECT poly
name "Miles"
loc 0.00229295 -0.0042126 0.0447603
texture "ki266.rgb"
crease 45.000000
numvert 4
0 0.0100894 0.000831373
0 0.0100894 0.0162923
0 0.00409127 0.0162923
0 0.00409127 0.000831373
numsurf 1
SURF 0x0
mat 0
refs 4
0 0.979275 0.885144
1 0.835669 0.885146
2 0.835669 0.670903
3 0.979317 0.670432
kids 0
OBJECT group
name "Right"
loc -0.00343944 0.0063189 -0.0107168
kids 3
OBJECT poly
name "Right.1"
loc 0.00573239 0.00137407 0.0135711
texture "ki266.rgb"
crease 45.000000
numvert 4
0 0.0168208 0.000376411
0 0.0168208 0.00737641
0 0.00682085 0.00737641
0 0.00682085 0.000376411
numsurf 1
SURF 0x0
mat 0
refs 4
0 0.0913744 0.518524
1 0.0029652 0.518465
2 0.00300171 0.0283101
3 0.0913739 0.0283324
kids 0
OBJECT poly
name "Right.10"
loc 0.00573239 0.00137407 0.0205711
texture "ki266.rgb"
crease 45.000000
numvert 4
0 0.00682085 0.000376411
0 0.00682085 0.00737641
0 0.0168208 0.00737641
0 0.0168208 0.000376411
numsurf 1
SURF 0x0
mat 0
refs 4
3 0.0913744 0.518524
2 0.0029652 0.518465
1 0.00300171 0.0283101
0 0.0913739 0.0283324
kids 0
OBJECT poly
name "Right.100"
loc 0.00573239 0.00137407 0.0275711
texture "ki266.rgb"
crease 45.000000
numvert 4
0 0.0168208 0.000376411
0 0.0168208 0.00737641
0 0.00682085 0.00737641
0 0.00682085 0.000376411
numsurf 1
SURF 0x0
mat 0
refs 4
0 0.0913744 0.518524
1 0.0029652 0.518465
2 0.00300171 0.0283101
3 0.0913739 0.0283324
kids 0
OBJECT group
name "Left"
loc -0.00343944 0.0063189 0.0293002
kids 4
OBJECT poly
name "Left.1"
loc 0.00573239 0.00137407 0.0135773
texture "ki266.rgb"
crease 45.000000
numvert 4
0 0.00682085 0.000376407
0 0.00682085 0.00737641
0 0.0168208 0.00737641
0 0.0168208 0.000376407
numsurf 1
SURF 0x0
mat 0
refs 4
3 0.0913744 0.518524
2 0.0029652 0.518465
1 0.00300171 0.0283101
0 0.0913739 0.0283324
kids 0
OBJECT poly
name "Left.10"
loc 0.00573239 0.00137407 0.0205773
texture "ki266.rgb"
crease 45.000000
numvert 4
0 0.0168208 0.000376409
0 0.0168208 0.00737641
0 0.00682085 0.00737641
0 0.00682085 0.000376409
numsurf 1
SURF 0x0
mat 0
refs 4
0 0.0913744 0.518524
1 0.0029652 0.518465
2 0.00300171 0.0283101
3 0.0913739 0.0283324
kids 0
OBJECT poly
name "Left.100"
loc 0.00573239 0.00137407 0.0275774
texture "ki266.rgb"
crease 45.000000
numvert 4
0 0.00682085 0.000376407
0 0.00682085 0.00737641
0 0.0168208 0.00737641
0 0.0168208 0.000376407
numsurf 1
SURF 0x0
mat 0
refs 4
3 0.0913744 0.518524
2 0.0029652 0.518465
1 0.00300171 0.0283101
0 0.0913739 0.0283324
kids 0
OBJECT poly
name "Left.Dot1"
loc -0.0083486 -0.00206111 -0.0343668
texture "ki266.rgb"
crease 45.000000
numvert 4
0.0141379 0.0113861 0.0553319
0.0141379 0.0113861 0.0564392
0.0141379 0.0102382 0.0564392
0.0141379 0.0102382 0.0553319
numsurf 1
SURF 0x0
mat 0
refs 4
0 0.500748 0.91747
1 0.489345 0.91747
2 0.489345 0.871859
3 0.500748 0.871859
kids 0
OBJECT poly
name "ModeSwitch"
loc 0.00516587 -0.0077408 -1.00117e-07
texture "ki266.rgb"
crease 45.000000
numvert 8
-0.005 -0.0025 -0.00175
0.005 -0.0025 -0.00175
0.005 -0.0025 0.00175
-0.005 -0.0025 0.00175
-0.005 0.0025 0.00175
0.005 0.0025 0.00175
0.005 0.0025 -0.00175
-0.005 0.0025 -0.00175
numsurf 5
SURF 0x0
mat 2
refs 4
5 0.34375 0.890625
2 0.34375 0.890625
1 0.34375 0.890625
6 0.34375 0.890625
SURF 0x0
mat 2
refs 4
6 0.0280979 0.889205
1 0.0280979 0.889205
0 0.369225 0.889205
7 0.369225 0.889205
SURF 0x0
mat 2
refs 4
4 0.369225 0.889205
3 0.369225 0.889205
2 0.0280979 0.889205
5 0.0280979 0.889205
SURF 0x0
mat 2
refs 4
7 0.369225 0.889205
4 0.369225 0.889205
5 0.0280979 0.889205
6 0.0280979 0.889205
SURF 0x0
mat 2
refs 4
0 0.369225 0.889205
1 0.0280979 0.889205
2 0.0280979 0.889205
3 0.369225 0.889205
kids 0

Binary file not shown.

View file

@ -0,0 +1,502 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="512"
height="128"
id="svg2580"
sodipodi:version="0.32"
inkscape:version="0.45.1"
version="1.0"
sodipodi:docbase="/home/torsten/FlightGear/data/Aircraft/Instruments-3d/ki266"
sodipodi:docname="ki266.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
inkscape:export-filename="/home/torsten/FlightGear/data/Aircraft/Instruments-3d/ki266/ki266.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs2582">
<linearGradient
id="linearGradient4835">
<stop
id="stop4837"
offset="0"
style="stop-color:#f0f0f0;stop-opacity:1;" />
<stop
id="stop4841"
offset="1"
style="stop-color:#bbbbbb;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient5475">
<stop
style="stop-color:#0f0f0f;stop-opacity:1;"
offset="0"
id="stop5477" />
<stop
id="stop6452"
offset="0.8012048"
style="stop-color:#191919;stop-opacity:1;" />
<stop
style="stop-color:#232323;stop-opacity:1;"
offset="1"
id="stop5479" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5475"
id="linearGradient5481"
x1="461.65579"
y1="474.84066"
x2="476.08415"
y2="474.84066"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(13.355905,0,0,0.3476786,-6163.3257,-124.16451)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4835"
id="linearGradient3864"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(13.355905,0,0,0.3476786,-6163.3257,-150.35176)"
x1="461.65579"
y1="474.84067"
x2="476.08414"
y2="474.84067" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#0a0a0a"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="3.0549223"
inkscape:cx="313.62819"
inkscape:cy="38.249446"
inkscape:document-units="px"
inkscape:current-layer="layer1"
width="512px"
height="128px"
inkscape:window-width="1241"
inkscape:window-height="771"
inkscape:window-x="31"
inkscape:window-y="0" />
<metadata
id="metadata2585">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1">
<rect
y="25.859905"
x="255.32542"
height="33.725914"
width="39.975128"
id="rect5818"
style="color:#000000;fill:#0a0a0a;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
y="0"
x="235.685"
height="29.797829"
width="79.255997"
id="rect4844"
style="color:#000000;fill:#0a0a0a;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
style="color:#000000;fill:#0a0a0a;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect9632"
width="512"
height="72"
x="0"
y="56" />
<g
id="g2762">
<path
sodipodi:nodetypes="ccccccc"
id="path1482"
d="M 20.146312,66.923729 L 39.990573,66.923729 L 41.693676,68.954389 L 38.189832,71.728009 L 20.068013,71.728009 L 17.730215,68.973939 L 20.146312,66.923729 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 30.930133,117.99993 L 11.085875,117.99993 L 9.382765,115.96929 L 12.886607,113.19567 L 31.008424,113.19567 L 33.346232,115.94973 L 30.930133,117.99993 z "
id="path1486"
sodipodi:nodetypes="ccccccc" />
<path
sodipodi:nodetypes="cccccc"
id="path1488"
d="M 31.694985,112.32863 L 34.722857,95.76103 L 40.339813,93.152559 L 36.850549,113.12697 L 34.208828,115.26058 L 31.694985,112.32863 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 12.188553,112.40845 L 15.179786,95.57479 L 10.654785,93.019549 L 7.033,113.20677 L 8.769188,115.15418 L 12.188553,112.40845 z "
id="path1490"
sodipodi:nodetypes="cccccc" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 44.094416,71.741079 L 40.479908,91.984469 L 35.902897,89.345609 L 38.778866,72.674089 L 42.300535,69.714749 L 44.094416,71.741079 z "
id="path1492"
sodipodi:nodetypes="cccccc" />
<path
sodipodi:nodetypes="cccccc"
id="path1494"
d="M 14.338782,71.768109 L 10.814269,91.691549 L 16.405856,89.159279 L 19.281023,72.488029 L 16.851533,69.661639 L 14.338782,71.768109 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
</g>
<g
id="g2838">
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 82.800399,112.32863 L 85.828277,95.76103 L 91.445232,93.152559 L 87.955968,113.12697 L 85.314247,115.26058 L 82.800399,112.32863 z "
id="path1504"
sodipodi:nodetypes="cccccc" />
<path
sodipodi:nodetypes="cccccc"
id="path1508"
d="M 95.199834,71.741079 L 91.585327,91.984469 L 87.008317,89.345609 L 89.884284,72.674089 L 93.405954,69.714749 L 95.199834,71.741079 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
</g>
<g
id="g2842">
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 114.41358,112.40845 L 117.40482,95.57479 L 112.87981,93.019549 L 109.25803,113.20677 L 110.99422,115.15418 L 114.41358,112.40845 z "
id="path1522"
sodipodi:nodetypes="cccccc" />
<path
sodipodi:nodetypes="ccccccc"
id="path1514"
d="M 122.37134,66.923729 L 142.21561,66.923729 L 143.91871,68.954389 L 140.41487,71.728009 L 122.29304,71.728009 L 119.95525,68.973939 L 122.37134,66.923729 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 119.45208,90.018719 L 137.0725,90.039479 L 141.37355,92.464589 L 136.14465,94.94755 L 118.43852,94.90603 L 114.27176,92.442609 L 119.45208,90.018719 z "
id="path1516"
sodipodi:nodetypes="ccccccc" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 133.15516,117.99993 L 113.3109,117.99993 L 111.60779,115.96929 L 115.11164,113.19567 L 133.23345,113.19567 L 135.57127,115.94973 L 133.15516,117.99993 z "
id="path1518"
sodipodi:nodetypes="ccccccc" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 146.31945,71.741079 L 142.70494,91.984469 L 138.12793,89.345609 L 141.0039,72.674089 L 144.52557,69.714749 L 146.31945,71.741079 z "
id="path1524"
sodipodi:nodetypes="cccccc" />
</g>
<g
id="g2781">
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 173.49096,66.923729 L 193.33523,66.923729 L 195.03833,68.954389 L 191.53449,71.728009 L 173.41266,71.728009 L 171.07487,68.973939 L 173.49096,66.923729 z "
id="path1530"
sodipodi:nodetypes="ccccccc" />
<path
sodipodi:nodetypes="ccccccc"
id="path1532"
d="M 170.5717,90.018719 L 188.19212,90.039479 L 192.49317,92.464589 L 187.26428,94.94755 L 169.55814,94.90603 L 165.39138,92.442609 L 170.5717,90.018719 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccccc"
id="path1534"
d="M 184.27478,117.99993 L 164.43052,117.99993 L 162.72741,115.96929 L 166.23126,113.19567 L 184.35307,113.19567 L 186.69089,115.94973 L 184.27478,117.99993 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 185.03963,112.32863 L 188.06751,95.76103 L 193.68447,93.152559 L 190.1952,113.12697 L 187.55348,115.26058 L 185.03963,112.32863 z "
id="path1536"
sodipodi:nodetypes="cccccc" />
<path
sodipodi:nodetypes="cccccc"
id="path1540"
d="M 197.43907,71.741079 L 193.82456,91.984469 L 189.24755,89.345609 L 192.12352,72.674089 L 195.64519,69.714749 L 197.43907,71.741079 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
</g>
<g
id="g2788">
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 221.69081,90.018749 L 239.3111,90.039509 L 243.61278,92.464619 L 238.38376,94.94759 L 220.67771,94.90607 L 216.51068,92.442639 L 221.69081,90.018749 z "
id="path1548"
sodipodi:nodetypes="ccccccc" />
<path
sodipodi:nodetypes="cccccc"
id="path1552"
d="M 236.15878,112.32866 L 239.18687,95.76106 L 244.80382,93.152599 L 241.31486,113.127 L 238.6731,115.26062 L 236.15878,112.32866 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 248.55807,71.741119 L 244.94408,91.984499 L 240.36668,89.345639 L 243.24248,72.674119 L 246.7643,69.714779 L 248.55807,71.741119 z "
id="path1556"
sodipodi:nodetypes="cccccc" />
<path
sodipodi:nodetypes="cccccc"
id="path1558"
d="M 218.80299,71.768149 L 215.27797,91.691579 L 220.87007,89.159309 L 223.74507,72.488059 L 221.31571,69.661679 L 218.80299,71.768149 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
</g>
<g
id="g2855">
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 275.72951,66.923799 L 295.57397,66.923799 L 297.27717,68.954459 L 293.77299,71.728069 L 275.65176,71.728069 L 273.31377,68.974009 L 275.72951,66.923799 z "
id="path1562"
sodipodi:nodetypes="ccccccc" />
<path
sodipodi:nodetypes="ccccccc"
id="path1564"
d="M 272.81042,90.018779 L 290.43071,90.039539 L 294.73239,92.464649 L 289.50337,94.94762 L 271.79732,94.9061 L 267.6303,92.442679 L 272.81042,90.018779 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccccc"
id="path1566"
d="M 286.51376,118 L 266.66929,118 L 264.96609,115.96936 L 268.47027,113.19573 L 286.5923,113.19573 L 288.92949,115.9498 L 286.51376,118 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 287.27839,112.3287 L 290.30648,95.76109 L 295.92343,93.152629 L 292.43448,113.12703 L 289.79271,115.26065 L 287.27839,112.3287 z "
id="path1568"
sodipodi:nodetypes="cccccc" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 269.9226,71.768179 L 266.39758,91.691609 L 271.98968,89.159339 L 274.86468,72.488099 L 272.43532,69.661709 L 269.9226,71.768179 z "
id="path1574"
sodipodi:nodetypes="cccccc" />
</g>
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 318.89178,112.40848 L 321.883,95.57482 L 317.3577,93.019589 L 313.7365,113.2068 L 315.47256,115.15421 L 318.89178,112.40848 z "
id="path1586"
sodipodi:nodetypes="cccccc" />
<path
sodipodi:nodetypes="ccccccc"
id="path1578"
d="M 326.84913,66.923769 L 346.69359,66.923769 L 348.39679,68.954419 L 344.89261,71.728039 L 326.77138,71.728039 L 324.43339,68.973969 L 326.84913,66.923769 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 323.93004,90.018749 L 341.55033,90.039509 L 345.85201,92.464619 L 340.62299,94.94759 L 322.91694,94.90607 L 318.74992,92.442639 L 323.93004,90.018749 z "
id="path1580"
sodipodi:nodetypes="ccccccc" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 337.63338,117.99997 L 317.78891,117.99997 L 316.08571,115.96933 L 319.58989,113.1957 L 337.71193,113.1957 L 340.04911,115.94977 L 337.63338,117.99997 z "
id="path1582"
sodipodi:nodetypes="ccccccc" />
<path
sodipodi:nodetypes="cccccc"
id="path1584"
d="M 338.39801,112.32866 L 341.4261,95.76106 L 347.04305,93.152599 L 343.5541,113.127 L 340.91234,115.26062 L 338.39801,112.32866 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccccc"
id="path1590"
d="M 321.04222,71.768149 L 317.5172,91.691579 L 323.1093,89.159309 L 325.9843,72.488059 L 323.55494,69.661679 L 321.04222,71.768149 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<g
id="g2809">
<path
sodipodi:nodetypes="ccccccc"
id="path1594"
d="M 377.96875,66.923769 L 397.81321,66.923769 L 399.51641,68.954419 L 396.01223,71.728039 L 377.891,71.728039 L 375.55301,68.973969 L 377.96875,66.923769 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccccc"
id="path1600"
d="M 389.51763,112.32866 L 392.54572,95.76106 L 398.16267,93.152599 L 394.67372,113.127 L 392.03196,115.26062 L 389.51763,112.32866 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 401.91692,71.741119 L 398.30293,91.984499 L 393.72554,89.345639 L 396.60134,72.674119 L 400.12315,69.714779 L 401.91692,71.741119 z "
id="path1604"
sodipodi:nodetypes="cccccc" />
</g>
<g
id="g2814">
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 429.08837,66.923799 L 448.93363,66.923799 L 450.64084,68.954459 L 447.13025,71.728069 L 429.00822,71.728069 L 426.67584,68.974009 L 429.08837,66.923799 z "
id="path1610"
sodipodi:nodetypes="ccccccc" />
<path
sodipodi:nodetypes="ccccccc"
id="path1612"
d="M 426.17089,90.018779 L 443.78797,90.039539 L 448.09205,92.464649 L 442.86624,94.94762 L 425.16099,94.9061 L 420.99317,92.442679 L 426.17089,90.018779 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccccc"
id="path1614"
d="M 439.87663,118 L 420.03136,118 L 418.32415,115.96936 L 421.82673,113.19573 L 439.94876,113.19573 L 442.28916,115.9498 L 439.87663,118 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 440.63806,112.3287 L 443.66775,95.76109 L 449.2863,93.152629 L 445.79173,113.12703 L 443.15478,115.26065 L 440.63806,112.3287 z "
id="path1616"
sodipodi:nodetypes="cccccc" />
<path
sodipodi:nodetypes="cccccc"
id="path1618"
d="M 421.12942,112.40851 L 424.12705,95.57486 L 419.59855,93.019619 L 415.97574,113.20684 L 417.71501,115.15424 L 421.12942,112.40851 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccccc"
id="path1620"
d="M 453.03734,71.741149 L 449.42255,91.984529 L 444.84596,89.345669 L 447.72336,72.674159 L 451.24197,69.714809 L 453.03734,71.741149 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 423.28547,71.768179 L 419.75885,91.691609 L 425.35335,89.159339 L 428.22274,72.488099 L 425.79418,69.661709 L 423.28547,71.768179 z "
id="path1622"
sodipodi:nodetypes="cccccc" />
</g>
<g
id="g2823">
<path
sodipodi:nodetypes="ccccccc"
id="path1626"
d="M 480.20798,66.923799 L 500.05325,66.923799 L 501.76045,68.954459 L 498.24986,71.728069 L 480.12783,71.728069 L 477.79545,68.974009 L 480.20798,66.923799 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 477.2905,90.018779 L 494.90758,90.039539 L 499.21167,92.464649 L 493.98585,94.94762 L 476.2806,94.9061 L 472.11278,92.442679 L 477.2905,90.018779 z "
id="path1628"
sodipodi:nodetypes="ccccccc" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 490.99624,118 L 471.15097,118 L 469.44377,115.96936 L 472.94634,113.19573 L 491.06837,113.19573 L 493.40877,115.9498 L 490.99624,118 z "
id="path1630"
sodipodi:nodetypes="ccccccc" />
<path
sodipodi:nodetypes="cccccc"
id="path1632"
d="M 491.75767,112.3287 L 494.78736,95.76109 L 500.40591,93.152629 L 496.91135,113.12703 L 494.27439,115.26065 L 491.75767,112.3287 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 504.15695,71.741149 L 500.54216,91.984529 L 495.96557,89.345669 L 498.84297,72.674159 L 502.36158,69.714809 L 504.15695,71.741149 z "
id="path1636"
sodipodi:nodetypes="cccccc" />
<path
sodipodi:nodetypes="cccccc"
id="path1638"
d="M 474.40508,71.768179 L 470.87846,91.691609 L 476.47297,89.159339 L 479.34235,72.488099 L 476.91379,69.661709 L 474.40508,71.768179 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
</g>
<path
sodipodi:nodetypes="cccccc"
id="path2867"
d="M 318.89178,112.40848 L 321.883,95.57482 L 317.3577,93.019589 L 313.7365,113.2068 L 315.47256,115.15421 L 318.89178,112.40848 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 326.84913,66.923769 L 346.69359,66.923769 L 348.39679,68.954419 L 344.89261,71.728039 L 326.77138,71.728039 L 324.43339,68.973969 L 326.84913,66.923769 z "
id="path2869"
sodipodi:nodetypes="ccccccc" />
<path
sodipodi:nodetypes="ccccccc"
id="path2871"
d="M 323.93004,90.018749 L 341.55033,90.039509 L 345.85201,92.464619 L 340.62299,94.94759 L 322.91694,94.90607 L 318.74992,92.442639 L 323.93004,90.018749 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccccc"
id="path2873"
d="M 337.63338,117.99997 L 317.78891,117.99997 L 316.08571,115.96933 L 319.58989,113.1957 L 337.71193,113.1957 L 340.04911,115.94977 L 337.63338,117.99997 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 338.39801,112.32866 L 341.4261,95.76106 L 347.04305,93.152599 L 343.5541,113.127 L 340.91234,115.26062 L 338.39801,112.32866 z "
id="path2875"
sodipodi:nodetypes="cccccc" />
<path
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1"
d="M 321.04222,71.768149 L 317.5172,91.691579 L 323.1093,89.159309 L 325.9843,72.488059 L 323.55494,69.661679 L 321.04222,71.768149 z "
id="path2877"
sodipodi:nodetypes="cccccc" />
<rect
y="30.071056"
x="2.5049934"
height="21.7127"
width="192.70369"
id="rect4504"
style="opacity:1;fill:url(#linearGradient5481);fill-opacity:1;stroke:none;stroke-width:7.08661413;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<text
sodipodi:linespacing="125%"
xml:space="preserve"
style="font-size:24.18771744px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;opacity:1;color:#000000;fill:#ffa391;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:11.87260437;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;font-family:Bitstream Vera Sans"
x="376.55099"
y="33.292622"
id="text1443"
transform="scale(0.8685466,1.1513487)"><tspan
sodipodi:role="line"
id="tspan1447"
x="376.55099"
y="33.292622">KTS</tspan></text>
<text
transform="scale(0.8685466,1.1513487)"
id="text1449"
y="33.366436"
x="439.25021"
style="font-size:24.18771935px;font-style:normal;font-weight:normal;text-align:start;line-height:124.99998808%;writing-mode:lr-tb;text-anchor:start;opacity:1;color:#000000;fill:#ffa391;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:11.87260437;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;font-family:Bitstream Vera Sans"
xml:space="preserve"
sodipodi:linespacing="124.99999%"><tspan
sodipodi:role="line"
id="tspan1459"
x="439.25021"
y="33.366436">MIN</tspan></text>
<text
sodipodi:linespacing="125%"
xml:space="preserve"
style="font-size:24.18772125px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;opacity:1;color:#000000;fill:#ffa491;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:11.87260437;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;font-family:Bitstream Vera Sans"
x="499.86423"
y="33.44025"
id="text1453"
transform="scale(0.8685466,1.1513487)"><tspan
sodipodi:role="line"
id="tspan1457"
x="499.86423"
y="33.44025">MILES</tspan></text>
<rect
style="opacity:1;fill:url(#linearGradient3864);fill-opacity:1.0;stroke:none;stroke-width:7.08661413;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect3862"
width="192.70369"
height="21.7127"
x="2.5049934"
y="3.8838108" />
<path
transform="matrix(0.5873902,0,0,0.5378536,219.3244,-182.65131)"
d="M 62.167771 364.56409 A 4.2212687 4.60502 0 1 1 53.725234,364.56409 A 4.2212687 4.60502 0 1 1 62.167771 364.56409 z"
sodipodi:ry="4.60502"
sodipodi:rx="4.2212687"
sodipodi:cy="364.56409"
sodipodi:cx="57.946503"
id="path10761"
style="opacity:1;color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
sodipodi:type="arc" />
<path
sodipodi:nodetypes="ccccccc"
id="path10729"
d="M 283.61721,10.966377 L 301.23763,10.987137 L 305.53867,13.412247 L 300.30978,15.895217 L 282.60365,15.853697 L 278.4369,13.390277 L 283.61721,10.966377 z "
style="color:#000000;fill:#f14628;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<rect
style="color:#000000;fill:#bdc3c9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.54330707;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect5816"
width="22.953419"
height="17.358887"
x="263.83627"
y="34.043419" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 36 KiB

View file

@ -0,0 +1,315 @@
<?xml version="1.0" ?>
<!--
This is the ki266 3d instrument.
Modeled after King KI266 DME Indicator
This instrument needs the file
Aircraft/Instruments-3d/ki266/ki266.nas
to be included in your -set.xml nasal section
like this:
<nasal>
<YourAircraft>
<file>Aircraft/Instruments-3d/ki266/ki266.nas</file>
</YourAircraft>
</nasal>
and at least one instance of the ki266 class to be created
in your aircraft nasal code like this:
ki266.new(0); # for your first dme at /instrumentation/dme[0]
ki266.new(1); # if you have another at /instrumentation/dme[1]
Maintainer: Torsten Dreyer
-->
<PropertyList>
<params>
<in-range>instrumentation/dme[0]/in-range</in-range>
<right-display>instrumentation/dme[0]/min-kts-display</right-display>
<left-display>instrumentation/dme[0]/miles-display</left-display>
<left-display-dot>instrumentation/dme[0]/left-dot</left-display-dot>
<power-btn>instrumentation/dme[0]/power-btn</power-btn>
<serviceable>instrumentation/dme[0]/serviceable</serviceable>
<dimming>instrumentation/dme[0]/dimming-norm</dimming>
<min-kts>instrumentation/dme[0]/switch-min-kts</min-kts>
<electrical>systems/electrical/outputs/dme</electrical>
</params>
<path>ki266.ac</path>
<!-- turn it off, when u/s or switched off -->
<animation>
<type>select</type>
<object-name>Indicators</object-name>
<condition>
<and>
<property alias="../../../../params/serviceable"/>
<property alias="../../../../params/power-btn"/>
<property alias="../../../../params/electrical"/>
</and>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>ModeSwitch</object-name>
<emission>
<red>0.2</red>
<green>0.04</green>
<blue>0</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>Frame</object-name>
<emission>
<red>0.1</red>
<green>0.02</green>
<blue>0.00001</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>Indicators</object-name>
<emission>
<red>-1.0</red>
<green>-1.0</green>
<blue>-1.0</blue>
<factor-prop alias="../../../params/dimming"/>
<offset>1</offset>
</emission>
</animation>
<!-- the mode switch do display min/kts -->
<animation>
<type>select</type>
<object-name>Min</object-name>
<condition>
<not>
<property alias="../../../../params/min-kts"/>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Kts</object-name>
<condition>
<property alias="../../../params/min-kts"/>
</condition>
</animation>
<animation>
<type>translate</type>
<object-name>ModeSwitch</object-name>
<factor>-0.003</factor>
<property alias="../../params/min-kts"/>
<axis>
<x>1.0</x>
<y>0.0</y>
<z>0.0</z>
</axis>
</animation>
<animation>
<type>pick</type>
<object-name>ModeSwitch</object-name>
<object-name>Min</object-name>
<object-name>Kts</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/min-kts"/>
</binding>
</action>
</animation>
<!-- distance display, allways on.
Shows nn.n when distance is less than 100NM and
shows nnn when distance is greater than or equal to 100NM
-->
<animation>
<name>LeftDecimalDot</name>
<type>select</type>
<object-name>Left.Dot1</object-name>
<condition>
<property alias="../../../params/left-display-dot"/>
</condition>
</animation>
<!-- blank leading zeros -->
<animation>
<name>miles_100_blank</name>
<type>select</type>
<object-name>Left.100</object-name>
<condition>
<greater-than-equals>
<property alias="../../../../params/left-display"/>
<value>100.0</value>
</greater-than-equals>
</condition>
</animation>
<animation>
<name>miles_10_blank</name>
<type>select</type>
<object-name>Left.10</object-name>
<condition>
<or>
<greater-than-equals>
<property alias="../../../../../params/left-display"/>
<value>10.0</value>
</greater-than-equals>
<and>
<property alias="../../../../../params/left-display-dot"/>
<greater-than-equals>
<property alias="../../../../../../params/left-display"/>
<value>1.0</value>
</greater-than-equals>
</and>
</or>
</condition>
</animation>
<animation>
<name>miles_1_blank</name>
<type>select</type>
<object-name>Left.1</object-name>
<condition>
<greater-than-equals>
<property alias="../../../../params/left-display"/>
<value>1.0</value>
</greater-than-equals>
</condition>
</animation>
<!-- left display, left digit -->
<animation>
<name>miles_100_lo</name>
<type>textranslate</type>
<object-name>Left.100</object-name>
<property alias="../../params/left-display"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- left display, center digit -->
<animation>
<name>miles_10_lo</name>
<type>textranslate</type>
<object-name>Left.10</object-name>
<property alias="../../params/left-display"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- left display, right digit -->
<animation>
<name>miles_1_lo</name>
<type>textranslate</type>
<object-name>Left.1</object-name>
<property alias="../../params/left-display"/>
<step>1</step>
<factor>0.1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!--
Right display, showing either kts or min, handled by dme.nas
-->
<animation>
<condition>
<greater-than-equals>
<property alias="../../../../params/right-display"/>
<value>100</value>
</greater-than-equals>
</condition>
<name>kts_100_select</name>
<type>select</type>
<object-name>Right.100</object-name>
</animation>
<animation>
<condition>
<greater-than-equals>
<property alias="../../../../params/right-display"/>
<value>10</value>
</greater-than-equals>
</condition>
<name>kts_10_select</name>
<type>select</type>
<object-name>Right.10</object-name>
</animation>
<animation>
<condition>
<property alias="../../../params/in-range"/>
</condition>
<name>kts_1_select</name>
<type>select</type>
<object-name>Right.1</object-name>
</animation>
<animation>
<name>kts_100</name>
<type>textranslate</type>
<object-name>Right.100</object-name>
<property alias="../../params/right-display"/>
<step>100</step>
<factor>0.001</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>kts_10</name>
<type>textranslate</type>
<object-name>Right.10</object-name>
<property alias="../../params/right-display"/>
<step>10</step>
<factor>0.01</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>kts_1</name>
<type>textranslate</type>
<object-name>Right.1</object-name>
<property alias="../../params/right-display"/>
<step>1</step>
<factor>0.1</factor>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -12,7 +12,7 @@
<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>
@ -24,14 +24,14 @@
<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>
@ -43,7 +43,7 @@
<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>
@ -55,7 +55,7 @@
<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>
@ -74,7 +74,7 @@
<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>
@ -87,7 +87,7 @@
<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>
@ -106,7 +106,7 @@
<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>
@ -119,7 +119,7 @@
<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>
@ -139,7 +139,7 @@
<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>
@ -152,7 +152,7 @@
<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>
@ -171,7 +171,7 @@
<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>
@ -184,7 +184,7 @@
<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>

View file

@ -18,6 +18,27 @@ properties' values.
<PropertyList> <PropertyList>
<name>KAP140TwoAxisAlt</name> <name>KAP140TwoAxisAlt</name>
<path>kap140.ac</path> <path>kap140.ac</path>
<animation>
<type>material</type>
<object-name>ap-btn</object-name>
<object-name>hdg-btn</object-name>
<object-name>nav-btn</object-name>
<object-name>apr-btn</object-name>
<object-name>rev-btn</object-name>
<object-name>alt-btn</object-name>
<object-name>dn-btn</object-name>
<object-name>up-btn</object-name>
<object-name>arm-btn</object-name>
<object-name>baro-btn</object-name>
<emission>
<red>0.5</red>
<green>0.1</green>
<blue>0.00005</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<!-- Annunciators --> <!-- Annunciators -->
<animation> <animation>
<type>select</type> <type>select</type>

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

@ -0,0 +1,650 @@
<?xml version="1.0" ?>
<PropertyList>
<!--
Bendix/King KMA20 Marker/Audio panel
Created by Torsten Dreyer, December 2008
You might want to use the following code in your aircraft's nasal
init function to keep the settings of the device persistent between
flightgear sessions
aircraft.data.add(
"instrumentation/kma20/test",
"instrumentation/kma20/auto",
"instrumentation/kma20/com1",
"instrumentation/kma20/com2",
"instrumentation/kma20/nav1",
"instrumentation/kma20/nav2",
"instrumentation/kma20/adf",
"instrumentation/kma20/dme",
"instrumentation/kma20/mkr",
"instrumentation/kma20/sens",
"instrumentation/kma20/knob"
);
-->
<params>
<outer>instrumentation/marker-beacon/outer</outer>
<middle>instrumentation/marker-beacon/middle</middle>
<inner>instrumentation/marker-beacon/inner</inner>
<test>instrumentation/kma20/test</test>
<auto>instrumentation/kma20/auto</auto>
<com1>instrumentation/kma20/com1</com1>
<com2>instrumentation/kma20/com2</com2>
<nav1>instrumentation/kma20/nav1</nav1>
<nav2>instrumentation/kma20/nav2</nav2>
<adf>instrumentation/kma20/adf</adf>
<dme>instrumentation/kma20/dme</dme>
<mkr>instrumentation/kma20/mkr</mkr>
<sens>instrumentation/kma20/sens</sens>
<knob>instrumentation/kma20/knob</knob>
</params>
<path>kma20.ac</path>
<animation>
<type>material</type>
<object-name>Chassis</object-name>
<object-name>Knob</object-name>
<emission>
<red>0.5</red>
<green>0.1</green>
<blue>0.00005</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>AUTO</object-name>
<object-name>COM1</object-name>
<object-name>COM2</object-name>
<object-name>NAV1</object-name>
<object-name>NAV2</object-name>
<object-name>ADF</object-name>
<object-name>DME</object-name>
<object-name>MKR</object-name>
<object-name>SENS</object-name>
<emission>
<red>0.2</red>
<green>0.04</green>
<blue>0.00002</blue>
<factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>O</object-name>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
<factor-prop alias="../../../params/outer"/>
<offset-prop alias="../../../params/test"/>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>M</object-name>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
<factor-prop alias="../../../params/middle"/>
<offset-prop alias="../../../params/test"/>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>A</object-name>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
<factor-prop alias="../../../params/inner"/>
<offset-prop alias="../../../params/test"/>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>AUTO</object-name>
<property alias="../../params/auto"/>
<factor>30</factor>
<axis>
<y>1</y>
</axis>
<center>
<x-m>0.0131629</x-m>
<z-m>0.00714385</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>AUTOUp</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/auto"/>
<step>-1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>AUTODown</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/auto"/>
<step>1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>COM1</object-name>
<property alias="../../params/com1"/>
<factor>30</factor>
<axis>
<y>1</y>
</axis>
<center>
<x-m>0.0131629</x-m>
<z-m>0.00714385</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>COM1Up</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/com1"/>
<step>-1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>COM1Down</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/com1"/>
<step>1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>COM2</object-name>
<property alias="../../params/com2"/>
<factor>30</factor>
<axis>
<y>1</y>
</axis>
<center>
<x-m>0.0131629</x-m>
<z-m>0.00714385</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>COM2Up</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/com2"/>
<step>-1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>COM2Down</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/com2"/>
<step>1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>NAV1</object-name>
<property alias="../../params/nav1"/>
<factor>30</factor>
<axis>
<y>1</y>
</axis>
<center>
<x-m>0.0131629</x-m>
<z-m>0.00714385</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>NAV1Up</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav1"/>
<step>-1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NAV1Down</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav1"/>
<step>1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>NAV2</object-name>
<property alias="../../params/nav2"/>
<factor>30</factor>
<axis>
<y>1</y>
</axis>
<center>
<x-m>0.0131629</x-m>
<z-m>0.00714385</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>NAV2Up</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav2"/>
<step>-1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>NAV2Down</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav2"/>
<step>1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>ADF</object-name>
<property alias="../../params/adf"/>
<factor>30</factor>
<axis>
<y>1</y>
</axis>
<center>
<x-m>0.0131629</x-m>
<z-m>0.00714385</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>ADFUp</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/adf"/>
<step>-1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>ADFDown</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/adf"/>
<step>1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>DME</object-name>
<property alias="../../params/dme"/>
<factor>30</factor>
<axis>
<y>1</y>
</axis>
<center>
<x-m>0.0131629</x-m>
<z-m>0.00714385</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>DMEUp</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/dme"/>
<step>-1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>DMEDown</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/dme"/>
<step>1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>MKR</object-name>
<property alias="../../params/mkr"/>
<factor>30</factor>
<axis>
<y>1</y>
</axis>
<center>
<x-m>0.0131629</x-m>
<z-m>0.00714385</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>MKRUp</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/mkr"/>
<step>-1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>MKRDown</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/mkr"/>
<step>1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>SENS</object-name>
<property alias="../../params/sens"/>
<factor>30</factor>
<axis>
<y>1</y>
</axis>
<center>
<x-m>0.0131629</x-m>
<z-m>0.00714385</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>SENSUp</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/sens"/>
<step>-1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>SENSDown</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/sens"/>
<step>1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
<mod-up>
<binding>
<condition>
<equals>
<property alias="../../../../../../../params/sens"/>
<value>1</value>
</equals>
</condition>
<command>property-assign</command>
<property alias="../../../../../params/sens"/>
<value>0</value>
</binding>
<binding>
<condition>
<equals>
<property alias="../../../../../../../params/sens"/>
<value>0</value>
</equals>
</condition>
<command>property-assign</command>
<property alias="../../../../../params/test"/>
<value>0</value>
</binding>
</mod-up>
<binding>
<condition>
<greater-than>
<property alias="../../../../../../params/sens"/>
<value>-1</value>
</greater-than>
</condition>
<command>property-assign</command>
<property alias="../../../../params/test"/>
<property alias="../../../../params/sens"/>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>Knob</object-name>
<property alias="../../params/knob"/>
<factor>-30</factor>
<axis>
<x>1</x>
</axis>
<center>
<y-m>-0.0605381</y-m>
<z-m>0.00559147</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>MICLeft</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/knob"/>
<step>-1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>MICRight</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/knob"/>
<step>1</step>
<min>-1</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
</PropertyList>

View file

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!--
Provide a proper(?) initialization of kma20 switches.
Usage:
add
<instrumentation>
<kma20 include="../Instruments-3d/kma20/kma20init.xml"/>
</instrumentation>
to your aircraft-set.xml
-->
<PropertyList>
<!-- -1: COM1, 0: COM2, 1: EXT -->
<knob type="int" archive="y">-1</knob>
<!-- -1: SPEAKER, 0: OFF, 1: PHONE -->
<auto type="int" archive="y">1</auto>
<com1 type="int" archive="y">0</com1>
<com2 type="int" archive="y">0</com2>
<nav1 type="int" archive="y">0</nav1>
<nav2 type="int" archive="y">0</nav2>
<adf type="int" archive="y">0</adf>
<dme type="int" archive="y">0</dme>
<mkr type="int" archive="y">-1</mkr>
<sens type="int" archive="y">0</sens>
<!-- flag for marker lights test -->
<test type="int" archive="y">0</test>
</PropertyList>

View file

@ -26,16 +26,20 @@
<animation> <animation>
<type>material</type> <type>material</type>
<object-name>Chassis</object-name>
<object-name>Volume</object-name>
<object-name>FRQOuter</object-name>
<object-name>FRQInner</object-name>
<object-name>knobs.ADF</object-name> <object-name>knobs.ADF</object-name>
<object-name>knobs.BFO</object-name> <object-name>knobs.BFO</object-name>
<object-name>knobs.FRQ</object-name> <object-name>knobs.FRQ</object-name>
<object-name>knobs.FLT</object-name> <object-name>knobs.FLT</object-name>
<object-name>knobs.SET</object-name> <object-name>knobs.SET</object-name>
<emission> <emission>
<red-prop>/sim/model/instrument-lighting/emission/red</red-prop> <red>0.5</red>
<green-prop>/sim/model/instrument-lighting/emission/green</green-prop> <green>0.1</green>
<blue-prop>/sim/model/instrument-lighting/emission/blue</blue-prop> <blue>0.00005</blue>
<factor-prop>/controls/lighting/instruments-norm</factor-prop> <factor-prop>sim/model/material/instruments/factor</factor-prop>
</emission> </emission>
</animation> </animation>

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

Binary file not shown.

View file

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

View file

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

View file

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

View file

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

View file

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

File diff suppressed because it is too large Load diff

View file

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

View file

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

View file

@ -12,14 +12,14 @@
<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>

View file

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

View file

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

View file

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

View file

@ -3,6 +3,11 @@
<PropertyList> <PropertyList>
<path>c172p.ac</path> <path>c172p.ac</path>
<offsets>
<pitch-deg>-3.0</pitch-deg>
<z-m> -0.065 </z-m>
</offsets>
<nasal> <nasal>
<load> <load>
@ -67,7 +72,7 @@
<model> <model>
<name>Altimeter</name> <name>Altimeter</name>
<path>Aircraft/c172p/Instruments/Altimeter/Altimeter.xml</path> <path>Aircraft/Instruments-3d/alt/alt.xml</path>
<offsets> <offsets>
<x-m>-0.369</x-m> <x-m>-0.369</x-m>
<y-m>-0.133</y-m> <y-m>-0.133</y-m>
@ -99,7 +104,7 @@
<name>dme</name> <name>dme</name>
<path>Aircraft/c172p/Instruments/dme/dme.xml</path> <path>Aircraft/c172p/Instruments/dme/dme.xml</path>
<offsets> <offsets>
<x-m>-0.357879</x-m> <x-m>-0.357</x-m>
<y-m>0.116</y-m> <y-m>0.116</y-m>
<z-m>-0.142</z-m> <z-m>-0.142</z-m>
</offsets> </offsets>
@ -157,7 +162,7 @@
<model> <model>
<name>vor</name> <name>vor</name>
<path>Aircraft/c172p/Instruments/vor/vor.xml</path> <path>Aircraft/Instruments-3d/vor/vor.xml</path>
<offsets> <offsets>
<x-m>-0.368</x-m> <x-m>-0.368</x-m>
<y-m>-0.041</y-m> <y-m>-0.041</y-m>
@ -167,7 +172,7 @@
<model> <model>
<name>vor2</name> <name>vor2</name>
<path>Aircraft/c172p/Instruments/vor/vor2.xml</path> <path>Aircraft/Instruments-3d/vor/vor2.xml</path>
<offsets> <offsets>
<x-m>-0.368</x-m> <x-m>-0.368</x-m>
<y-m>-0.041</y-m> <y-m>-0.041</y-m>
@ -189,7 +194,7 @@
<model> <model>
<name>kx165-1</name> <name>kx165-1</name>
<path>Aircraft/Instruments-3d/kx165/kx165-1.xml</path> <path>Aircraft/c172p/Instruments/kx165/kx165-1.xml</path>
<offsets> <offsets>
<x-m>-0.364</x-m> <x-m>-0.364</x-m>
<y-m>0.113</y-m> <y-m>0.113</y-m>
@ -199,7 +204,7 @@
<model> <model>
<name>kx165-2</name> <name>kx165-2</name>
<path>Aircraft/Instruments-3d/kx165/kx165-2.xml</path> <path>Aircraft/c172p/Instruments/kx165/kx165-2.xml</path>
<offsets> <offsets>
<x-m>-0.364</x-m> <x-m>-0.364</x-m>
<y-m>0.113</y-m> <y-m>0.113</y-m>
@ -211,7 +216,7 @@
<model> <model>
<name>kma20</name> <name>kma20</name>
<path>Aircraft/Instruments-3d/kma20/kma20.xml</path> <path>Aircraft/c172p/Instruments/kma20/kma20.xml</path>
<offsets> <offsets>
<x-m>-0.364</x-m> <x-m>-0.364</x-m>
<y-m>0.113</y-m> <y-m>0.113</y-m>
@ -245,9 +250,9 @@
<name>vac</name> <name>vac</name>
<path>Aircraft/c172p/Instruments/vac/vac.xml</path> <path>Aircraft/c172p/Instruments/vac/vac.xml</path>
<offsets> <offsets>
<x-m>-0.369</x-m> <x-m>-0.365</x-m>
<y-m>-0.432</y-m> <y-m>-0.432</y-m>
<z-m>0.024</z-m> <z-m>0.0228</z-m>
</offsets> </offsets>
</model> </model>
@ -273,7 +278,7 @@
<model> <model>
<name>mag_sw</name> <name>mag_sw</name>
<path>Aircraft/c172p/Instruments/magneto-switch/mags.xml</path> <path>Aircraft/Instruments-3d/magneto-switch/mags.xml</path>
<offsets> <offsets>
<x-m>-0.369</x-m> <x-m>-0.369</x-m>
<y-m>-0.414</y-m> <y-m>-0.414</y-m>

View file

@ -0,0 +1,72 @@
##
# action-sim.nas Updates various simulated features every frame
##
# set up filters for these actions
var cdi0_lowpass = aircraft.lowpass.new(0.5);
var cdi1_lowpass = aircraft.lowpass.new(0.5);
var gs0_lowpass = aircraft.lowpass.new(0.5);
var gs1_lowpass = aircraft.lowpass.new(0.5);
# Properties
var propNav0 = props.globals.getNode("instrumentation/nav[0]", 1);
var propNav1 = props.globals.getNode("instrumentation/nav[1]", 1);
var navLights = props.globals.getNode("controls/lighting/nav-lights", 1);
var instrumentsNorm = props.globals.getNode("controls/lighting/instruments-norm", 1);
var instrumentLightFactor = props.globals.getNode("sim/model/material/instruments/factor", 1);
var panelLights = props.globals.getNode("controls/lighting/panel-norm", 1);
# Associate Nodes
var cdiNAV0 = propNav0.getNode("heading-needle-deflection", 1);
var cdiNAV1 = propNav1.getNode("heading-needle-deflection", 1);
var gsNAV0 = propNav0.getNode("gs-needle-deflection-norm", 1);
var gsNAV1 = propNav1.getNode("gs-needle-deflection-norm", 1);
var filteredCDI0 = propNav0.getNode("filtered-cdiNAV0-deflection", 1);
var filteredCDI1 = propNav1.getNode("filtered-cdiNAV1-deflection", 1);
var filteredGS0 = propNav0.getNode("filtered-gsNAV0-deflection", 1);
var filteredGS1 = propNav1.getNode("filtered-gsNAV1-deflection", 1);
var init_actions = func {
filteredCDI0.setDoubleValue(0.0);
filteredCDI1.setDoubleValue(0.0);
filteredGS0.setDoubleValue(0.0);
filteredGS1.setDoubleValue(0.0);
# Request that the update fuction be called next frame
settimer(update_actions, 0);
}
var update_actions = func {
if ( navLights.getValue() ) {
instrumentLightFactor.setDoubleValue(1.0);
# Used double in case one wants to later add the ability to dim the instrument lights
instrumentsNorm.setDoubleValue(1.0);
panelLights.setDoubleValue(1.0);
} else {
instrumentLightFactor.setDoubleValue(0.0);
instrumentsNorm.setDoubleValue(0.0);
panelLights.setDoubleValue(0.0);
}
# outputs
filteredCDI0.setDoubleValue( cdi0_lowpass.filter(cdiNAV0.getValue()));
filteredCDI1.setDoubleValue(cdi1_lowpass.filter(cdiNAV1.getValue()));
filteredGS0.setDoubleValue(gs0_lowpass.filter(gsNAV0.getValue()));
filteredGS1.setDoubleValue(gs1_lowpass.filter(gsNAV1.getValue()));
settimer(update_actions, 0);
}
# Setup listener call to start update loop once the fdm is initialized
#
setlistener("sim/signals/fdm-initialized", init_actions);

View file

@ -227,12 +227,19 @@ update_virtual_bus = func( dt ) {
# print( "virtual bus volts = ", bus_volts ); # print( "virtual bus volts = ", bus_volts );
# starter motor # starter motor
starter_switch = getprop("/controls/engines/engine[0]/starter"); var starter_switch = getprop("controls/switches/starter");
starter_volts = 0.0; var starter_volts = 0.0;
if ( starter_switch ) { if ( starter_switch ) {
starter_volts = bus_volts; starter_volts = bus_volts;
load += 12;
}
setprop("systems/electrical/outputs/starter[0]", starter_volts);
if (starter_volts > 1) {
setprop("controls/engines/engine[0]/starter",1);
setprop("controls/engines/engine[0]/magnetos",3);
} else {
setprop("controls/engines/engine[0]/starter",0);
} }
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.)
@ -419,6 +426,9 @@ avionics_bus_1 = func() {
# 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);
# Com 1 Power
setprop("systems/electrical/outputs/comm[0]", bus_volts);
# return cumulative load # return cumulative load
return load; return load;
} }
@ -441,6 +451,9 @@ avionics_bus_2 = func() {
# 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);
# Com 2 Power
setprop("systems/electrical/outputs/comm[1]", bus_volts);
# Transponder Power # Transponder Power
setprop("/systems/electrical/outputs/transponder", bus_volts); setprop("/systems/electrical/outputs/transponder", bus_volts);

View file

@ -0,0 +1,91 @@
#########################################################################################
# $Id$
# this are the helper functions for the dme indicator ki266
# Maintainer: Torsten Dreyer (Torsten at t3r dot de)
#
# $Log$
# Revision 1.1 2009/11/18 20:36:14 jmt
# From Dave Perry:
# Patch goals:
# 1. Implement instrument and pannel lights controled by the nav-light switch.
# 2. Use Instruments-3d/vor which includes GS flag and filters for smooth movement of cdi and gs needles to and from parked position.
# 3. Adjust model and pilot view per the agreed to changes in Re: [Flightgear-devel] c172p pitch at cruise question, 12/06/2008 02:27 PM. These changes were never committed.
#
# Revision 1.1 2008/12/22 00:25:55 mfranz
# Dave PERRY:
#
# "This patch adds instrument lights to the radio stack and a repaint of
# the fuselage and tail to look better with osg."
#
# Revision 1.2 2008/11/21 09:21:03 torsten
# make use of new Node.initNode() method
#
# Revision 1.1 2008/11/03 16:18:06 torsten
# added ki266 3d-instrument, see ki266.xml for help
#
#
# Basically, we check the "time to station", "distance to station" and "speed"
# properties and generate the values to show on the displays, based on the switch-
# setting.
#
# Usage:
# just create one instance of ki266 class for each dme you have in your aircraft
# like this:
# ki266.new(0);
var ki266 = {};
ki266.new = func(idx) {
var obj = {};
obj.parents = [ki266];
obj.rootNode = props.globals.getNode( "/instrumentation/dme[" ~ idx ~ "]", 1 );
obj.powerNode = obj.rootNode.initNode( "power-btn", 1, "BOOL" );
obj.distNode = obj.rootNode.initNode( "indicated-distance-nm", 0.0 );
obj.timeNode = obj.rootNode.initNode( "indicated-time-min", 0.0 );
obj.ktsNode = obj.rootNode.initNode( "indicated-ground-speed-kt", 0.0 );
obj.minKtsNode = obj.rootNode.initNode( "switch-min-kts", 1, "BOOL" );
obj.minKtsDisplayNode = obj.rootNode.initNode( "min-kts-display", 0.0 );
obj.milesDisplayNode = obj.rootNode.initNode( "miles-display", 0.0 );
obj.leftDotNode = obj.rootNode.initNode( "left-dot", 0, "BOOL" );
aircraft.data.add( obj.powerNode, obj.minKtsNode );
obj.update();
print( "KI266 dme indicator #" ~ idx ~ " initialized" );
return obj;
};
ki266.update = func {
var v = 0.0;
if( me.minKtsNode.getValue() ) {
v = me.ktsNode.getValue();
} else {
v = me.timeNode.getValue();
}
if( v > 999.0 ) {
v = 999.0;
}
if( v < 0.0 ) {
v = 0.0;
}
me.minKtsDisplayNode.setIntValue( v );
v = me.distNode.getValue();
if( v > 999.9 ) {
v = 999.9;
}
if( v < 0.0 ) {
v = 0.0;
}
if( v < 100.0 ) {
me.milesDisplayNode.setIntValue( v * 10.0 );
me.leftDotNode.setBoolValue( 1 );
} else {
me.milesDisplayNode.setIntValue( v );
me.leftDotNode.setBoolValue( 0 );
}
settimer( func { me.update() }, 0.2 );
}

View file

@ -53,7 +53,7 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<internal archive="y">true</internal> <internal archive="y">true</internal>
<config> <config>
<x-offset-m archive="y">-0.21</x-offset-m> <x-offset-m archive="y">-0.21</x-offset-m>
<y-offset-m archive="y">0.30</y-offset-m> <y-offset-m archive="y">0.235</y-offset-m>
<z-offset-m archive="y">0.36</z-offset-m> <z-offset-m archive="y">0.36</z-offset-m>
<pitch-offset-deg>-12</pitch-offset-deg> <pitch-offset-deg>-12</pitch-offset-deg>
</config> </config>
@ -188,7 +188,8 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<file>Aircraft/c172p/Nasal/immat.nas</file> <file>Aircraft/c172p/Nasal/immat.nas</file>
<file>Aircraft/c172p/Nasal/doors.nas</file> <file>Aircraft/c172p/Nasal/doors.nas</file>
<file>Aircraft/c172p/Nasal/light.nas</file> <file>Aircraft/c172p/Nasal/light.nas</file>
<file>Aircraft/Instruments-3d/ki266/ki266.nas</file> <file>Aircraft/c172p/Nasal/action-sim.nas</file>
<file>Aircraft/c172p/Nasal/ki266.nas</file>
<script><![CDATA[ <script><![CDATA[
ki266.new(0); ki266.new(0);
]]></script> ]]></script>

View file

@ -1,12 +1,12 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<initialize name="reset00"> <initialize name="reset00">
<ubody unit="FT/SEC"> -0.345509 </ubody> <ubody unit="FT/SEC"> -0.11185 </ubody>
<vbody unit="FT/SEC"> -0.0319139 </vbody> <vbody unit="FT/SEC"> -0.0176284 </vbody>
<wbody unit="FT/SEC"> -0.00474618 </wbody> <wbody unit="FT/SEC"> -0.00126942 </wbody>
<phi unit="DEG"> -0.0204781 </phi> <phi unit="DEG"> -0.0226123 </phi>
<theta unit="DEG"> 0.0198487 </theta> <theta unit="DEG"> 0.016082 </theta>
<psi unit="DEG"> 4.43168 </psi> <psi unit="DEG"> 2.79743 </psi>
<longitude unit="DEG"> 0 </longitude> <longitude unit="DEG"> 0 </longitude>
<latitude unit="DEG"> 0 </latitude> <latitude unit="DEG"> 0 </latitude>
<altitude unit="FT"> 1171.58 </altitude> <altitude unit="FT"> 4973.46 </altitude>
</initialize> </initialize>