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
|
2007-12-12 05:57:24 +00:00
|
|
|
|
|
|
|
HDG:
|
|
|
|
Heading Bug hold - Low Bank can be selected
|
|
|
|
|
|
|
|
NAV:
|
|
|
|
Arm & Capture VOR , LOC or FMS
|
|
|
|
|
|
|
|
APR : (ILS approach)
|
|
|
|
Arm & Capture VOR APR , LOC or BC
|
|
|
|
Also arm and capture GS
|
|
|
|
|
|
|
|
BC :
|
|
|
|
Arm & capture localizer backcourse
|
|
|
|
Nav also illuminates
|
|
|
|
|
|
|
|
VNAV:
|
|
|
|
Arm and capture VOR/DME or FMS vertical profile
|
|
|
|
profile entered in MFD VNAV menu
|
|
|
|
|
|
|
|
ALT:
|
|
|
|
Hold current Altitude or PFD preset altitude
|
|
|
|
|
|
|
|
VS:
|
|
|
|
Hold current vertical speed ...
|
|
|
|
adjustable with pitch wheel
|
|
|
|
|
|
|
|
SPD :
|
|
|
|
Hold current speed
|
|
|
|
adjustable with pitch wheel
|
|
|
|
|
2007-03-11 23:20:36 +00:00
|
|
|
-->
|
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-12-09 09:07:38 +00:00
|
|
|
<animation>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>FD.btns</object-name>
|
|
|
|
<emission>
|
2007-12-12 05:57:24 +00:00
|
|
|
<red>0.035</red>
|
|
|
|
<green>0.025</green>
|
|
|
|
<blue>0.015</blue>
|
2007-12-09 09:07:38 +00:00
|
|
|
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
|
|
|
|
</emission>
|
|
|
|
</animation>
|
|
|
|
|
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>
|
2007-12-12 05:57:24 +00:00
|
|
|
<greater-than>
|
|
|
|
<property>instrumentation/flightdirector/lnav</property>
|
|
|
|
<value>1</value>
|
|
|
|
</greater-than>
|
2007-07-02 05:53:18 +00:00
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.apr</object-name>
|
|
|
|
<condition>
|
2007-12-16 09:45:43 +00:00
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/lnav</property>
|
|
|
|
<value>7</value>
|
|
|
|
</equals>
|
2007-07-02 05:53:18 +00:00
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.bc</object-name>
|
|
|
|
<condition>
|
2007-12-16 09:45:43 +00:00
|
|
|
<property>instrumentation/nav/back-course-btn</property>
|
2007-07-02 05:53:18 +00:00
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.vnav</object-name>
|
|
|
|
<condition>
|
2007-12-16 09:45:43 +00:00
|
|
|
<and>
|
|
|
|
<greater-than>
|
2007-12-12 05:57:24 +00:00
|
|
|
<property>instrumentation/flightdirector/vnav</property>
|
2007-12-16 09:45:43 +00:00
|
|
|
<value>0</value>
|
|
|
|
</greater-than>
|
|
|
|
<less-than>
|
2007-12-12 05:57:24 +00:00
|
|
|
<property>instrumentation/flightdirector/vnav</property>
|
2007-12-16 09:45:43 +00:00
|
|
|
<value>3</value>
|
|
|
|
</less-than>
|
|
|
|
</and>
|
2007-07-02 05:53:18 +00:00
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.alt</object-name>
|
|
|
|
<condition>
|
2007-12-12 05:57:24 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/vnav</property>
|
|
|
|
<value>3</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/vnav</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2007-07-02 05:53:18 +00:00
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>FD.vs</object-name>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>instrumentation/flightdirector/vnav</property>
|
2007-12-12 05:57:24 +00:00
|
|
|
<value>5</value>
|
2007-07-02 05:53:18 +00:00
|
|
|
</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>
|