2006-01-30 19:33:23 +00:00
|
|
|
<?xml version="1.0"?>
|
2007-03-11 23:20:36 +00:00
|
|
|
<!--
|
|
|
|
Author : Syd Adams
|
|
|
|
Flight Mode Control
|
|
|
|
-->
|
2006-01-30 19:33:23 +00:00
|
|
|
<PropertyList>
|
|
|
|
|
2007-03-11 23:20:36 +00:00
|
|
|
<path>fmc.ac</path>
|
2006-01-30 19:33:23 +00:00
|
|
|
|
2007-07-02 05:53:18 +00:00
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.hdg</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/lnav</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.nav</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/lnav</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.apr</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/lnav</property>
|
|
|
|
<value>3</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.bc</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/lnav</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.vnav</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/vnav</property>
|
|
|
|
<value>7</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.alt</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/vnav</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.vs</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/vnav</property>
|
|
|
|
<value>3</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.spd</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/spd</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- OSG hotspots -->
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>FD.hdg</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
if(getprop("/instrumentation/flightdirector/lnav")!= 1){
|
|
|
|
setprop("/instrumentation/flightdirector/lnav",1);
|
|
|
|
}else{
|
|
|
|
setprop("/instrumentation/flightdirector/lnav",0);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>FD.nav</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
if(getprop("/instrumentation/flightdirector/lnav")!= 2){
|
|
|
|
setprop("/instrumentation/flightdirector/lnav",2);
|
|
|
|
}else{
|
|
|
|
setprop("/instrumentation/flightdirector/lnav",0);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>FD.apr</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
if(getprop("/instrumentation/flightdirector/lnav")!= 3){
|
|
|
|
setprop("/instrumentation/flightdirector/lnav",3);
|
|
|
|
}else{
|
|
|
|
setprop("/instrumentation/flightdirector/lnav",0);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>FD.bc</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
if(getprop("/instrumentation/flightdirector/lnav")!= 4){
|
|
|
|
setprop("/instrumentation/flightdirector/lnav",4);
|
|
|
|
}else{
|
|
|
|
setprop("/instrumentation/flightdirector/lnav",0);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>FD.vnav</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
if(getprop("/instrumentation/flightdirector/vnav")!= 7){
|
|
|
|
setprop("/instrumentation/flightdirector/vnav",7);
|
|
|
|
}else{
|
|
|
|
setprop("/instrumentation/flightdirector/vnav",0);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>FD.alt</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
if(getprop("/instrumentation/flightdirector/vnav")!= 2){
|
|
|
|
setprop("/instrumentation/flightdirector/vnav",2);
|
|
|
|
}else{
|
|
|
|
setprop("/instrumentation/flightdirector/vnav",0);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>FD.vs</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
if(getprop("/instrumentation/flightdirector/vnav")!= 3){
|
|
|
|
setprop("/instrumentation/flightdirector/vnav",3);
|
|
|
|
}else{
|
|
|
|
setprop("/instrumentation/flightdirector/vnav",0);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>FD.spd</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
if(getprop("/instrumentation/flightdirector/spd")!= 1){
|
|
|
|
setprop("/instrumentation/flightdirector/spd",1);
|
|
|
|
}else{
|
|
|
|
setprop("/instrumentation/flightdirector/spd",0);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
2006-01-30 19:33:23 +00:00
|
|
|
</PropertyList>
|