MCDU
This commit is contained in:
parent
36b7c64a0a
commit
2a6d3c4328
9 changed files with 501 additions and 1 deletions
|
@ -1043,6 +1043,7 @@
|
|||
<file>Aircraft/A320Family/Nasal/MCDU1/PERFDES.nas</file>
|
||||
<file>Aircraft/A320Family/Nasal/MCDU1/PERFTO.nas</file>
|
||||
<file>Aircraft/A320Family/Nasal/MCDU1/RADNAV.nas</file>
|
||||
<file>Aircraft/A320Family/Nasal/MCDU1/DATA.nas</file>
|
||||
</mcdu1>
|
||||
<mcdu2>
|
||||
<file>Aircraft/A320Family/Nasal/MCDU2/MCDU.nas</file>
|
||||
|
@ -1054,6 +1055,7 @@
|
|||
<file>Aircraft/A320Family/Nasal/MCDU2/PERFDES.nas</file>
|
||||
<file>Aircraft/A320Family/Nasal/MCDU2/PERFTO.nas</file>
|
||||
<file>Aircraft/A320Family/Nasal/MCDU2/RADNAV.nas</file>
|
||||
<file>Aircraft/A320Family/Nasal/MCDU2/DATA.nas</file>
|
||||
</mcdu2>
|
||||
<canvas_nd>
|
||||
<file>Aircraft/A320Family/Models/Instruments/ND/canvas/ND.nas</file>
|
||||
|
|
214
Models/Instruments/MCDU1/DATA/POSMON.xml
Normal file
214
Models/Instruments/MCDU1/DATA/POSMON.xml
Normal file
|
@ -0,0 +1,214 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
#######################################
|
||||
# Copyright (c) A3XX Development Team #
|
||||
#######################################
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<path>EMPTY.ac</path>
|
||||
|
||||
<text>
|
||||
<name>page</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.083</z-m>
|
||||
</offsets>
|
||||
<alignment>center-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string">POSITION MONITOR</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>fmgc1</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>-0.045</y-m>
|
||||
<z-m>0.0715</z-m>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string">FMGC1</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>fmgc2</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>-0.045</y-m>
|
||||
<z-m>0.061</z-m>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string">FMGC2</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>GPIRS</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>-0.045</y-m>
|
||||
<z-m>0.0505</z-m>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string">GPIRS</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>MIXIRS</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>-0.045</y-m>
|
||||
<z-m>0.0395</z-m>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string">MIX IRS</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>freeze</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>-0.045</y-m>
|
||||
<z-m>0.0180</z-m>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string"><FREEZE</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<!-- Colors -->
|
||||
<!-- White -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>page</object-name>
|
||||
<object-name>fmgc1</object-name>
|
||||
<object-name>fmgc2</object-name>
|
||||
<object-name>GPIRS</object-name>
|
||||
<object-name>MIXIRS</object-name>
|
||||
<diffuse>
|
||||
<red>1</red>
|
||||
<green>1</green>
|
||||
<blue>1</blue>
|
||||
</diffuse>
|
||||
<ambient>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</ambient>
|
||||
<specular>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</specular>
|
||||
<emission>
|
||||
<red>1</red>
|
||||
<green>1</green>
|
||||
<blue>1</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Blue -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>freeze</object-name>
|
||||
<diffuse>
|
||||
<red>0</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.7</blue>
|
||||
</diffuse>
|
||||
<ambient>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</ambient>
|
||||
<specular>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</specular>
|
||||
<emission>
|
||||
<red>0</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.7</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
|
@ -158,6 +158,28 @@
|
|||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>POSMON</name>
|
||||
<path>DATA/POSMON.xml</path>
|
||||
<offsets>
|
||||
<heading-deg>180</heading-deg>
|
||||
<roll-deg>180</roll-deg>
|
||||
<pitch-deg>90</pitch-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>systems/electrical/bus/ac1</property>
|
||||
<value>110</value>
|
||||
</greater-than-equals>
|
||||
<equals>
|
||||
<property>MCDU[0]/page</property>
|
||||
<value>POSMON</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>TO</name>
|
||||
<path>PERF/TO/TO.xml</path>
|
||||
|
|
214
Models/Instruments/MCDU2/DATA/POSMON.xml
Normal file
214
Models/Instruments/MCDU2/DATA/POSMON.xml
Normal file
|
@ -0,0 +1,214 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
#######################################
|
||||
# Copyright (c) A3XX Development Team #
|
||||
#######################################
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<path>EMPTY.ac</path>
|
||||
|
||||
<text>
|
||||
<name>page</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.083</z-m>
|
||||
</offsets>
|
||||
<alignment>center-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string">POSITION MONITOR</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>fmgc1</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>-0.045</y-m>
|
||||
<z-m>0.0715</z-m>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string">FMGC1</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>fmgc2</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>-0.045</y-m>
|
||||
<z-m>0.061</z-m>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string">FMGC2</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>GPIRS</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>-0.045</y-m>
|
||||
<z-m>0.0505</z-m>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string">GPIRS</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>MIXIRS</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>-0.045</y-m>
|
||||
<z-m>0.0395</z-m>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string">MIX IRS</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<text>
|
||||
<name>freeze</name>
|
||||
<offsets>
|
||||
<x-m>-0.001</x-m>
|
||||
<y-m>-0.045</y-m>
|
||||
<z-m>0.0180</z-m>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
<axis-alignment>yz-plane</axis-alignment>
|
||||
<type type="string">text-value</type>
|
||||
<format type="string"><FREEZE</format>
|
||||
<truncate type="bool">false</truncate>
|
||||
<font type="string">BoeingCDU-Large.ttf</font>
|
||||
<property>autopilot/serviceable</property>
|
||||
<draw-text type="bool">true</draw-text>
|
||||
<draw-alignment type="bool">false</draw-alignment>
|
||||
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||||
<character-size>0.0050</character-size>
|
||||
<font-resolution>
|
||||
<width type="int">64</width>
|
||||
<height type="int">64</height>
|
||||
</font-resolution>
|
||||
</text>
|
||||
|
||||
<!-- Colors -->
|
||||
<!-- White -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>page</object-name>
|
||||
<object-name>fmgc1</object-name>
|
||||
<object-name>fmgc2</object-name>
|
||||
<object-name>GPIRS</object-name>
|
||||
<object-name>MIXIRS</object-name>
|
||||
<diffuse>
|
||||
<red>1</red>
|
||||
<green>1</green>
|
||||
<blue>1</blue>
|
||||
</diffuse>
|
||||
<ambient>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</ambient>
|
||||
<specular>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</specular>
|
||||
<emission>
|
||||
<red>1</red>
|
||||
<green>1</green>
|
||||
<blue>1</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Blue -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>freeze</object-name>
|
||||
<diffuse>
|
||||
<red>0</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.7</blue>
|
||||
</diffuse>
|
||||
<ambient>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</ambient>
|
||||
<specular>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</specular>
|
||||
<emission>
|
||||
<red>0</red>
|
||||
<green>0.5</green>
|
||||
<blue>0.7</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
|
@ -158,6 +158,28 @@
|
|||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>POSMON</name>
|
||||
<path>DATA/POSMON.xml</path>
|
||||
<offsets>
|
||||
<heading-deg>180</heading-deg>
|
||||
<roll-deg>180</roll-deg>
|
||||
<pitch-deg>90</pitch-deg>
|
||||
</offsets>
|
||||
<condition>
|
||||
<and>
|
||||
<greater-than-equals>
|
||||
<property>systems/electrical/bus/ac1</property>
|
||||
<value>110</value>
|
||||
</greater-than-equals>
|
||||
<equals>
|
||||
<property>MCDU[1]/page</property>
|
||||
<value>POSMON</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<name>TO</name>
|
||||
<path>PERF/TO/TO.xml</path>
|
||||
|
|
11
Nasal/MCDU1/DATA.nas
Normal file
11
Nasal/MCDU1/DATA.nas
Normal file
|
@ -0,0 +1,11 @@
|
|||
# A3XX mCDU by Joshua Davidson (it0uchpods) and Jonathan Redpath
|
||||
|
||||
#######################################
|
||||
# Copyright (c) A3XX Development Team #
|
||||
#######################################
|
||||
|
||||
var dataInput = func(key) {
|
||||
if (key == "L1") {
|
||||
setprop("/MCDU[0]/page", "POSMON");
|
||||
}
|
||||
}
|
|
@ -64,6 +64,8 @@ var lskbutton = func(btn) {
|
|||
perfTOInput("L1");
|
||||
} else if (getprop("/MCDU[0]/page") == "RADNAV") {
|
||||
radnavInput("L1");
|
||||
} else if (getprop("/MCDU[0]/page") == "DATA") {
|
||||
dataInput("L1");
|
||||
} else {
|
||||
if (getprop("/MCDU[0]/scratchpad") != "NOT ALLOWED") {
|
||||
setprop("/MCDU[0]/last-scratchpad", getprop("/MCDU[0]/scratchpad"));
|
||||
|
|
11
Nasal/MCDU2/DATA.nas
Normal file
11
Nasal/MCDU2/DATA.nas
Normal file
|
@ -0,0 +1,11 @@
|
|||
# A3XX mCDU by Joshua Davidson (it0uchpods) and Jonathan Redpath
|
||||
|
||||
#######################################
|
||||
# Copyright (c) A3XX Development Team #
|
||||
#######################################
|
||||
|
||||
var dataInput = func(key) {
|
||||
if (key == "L1") {
|
||||
setprop("/MCDU[1]/page", "POSMON");
|
||||
}
|
||||
}
|
|
@ -64,7 +64,9 @@ var lskbutton = func(btn) {
|
|||
perfTOInput("L1");
|
||||
} else if (getprop("/MCDU[1]/page") == "RADNAV") {
|
||||
radnavInput("L1");
|
||||
} else {
|
||||
} else if (getprop("/MCDU[1]/page") == "DATA") {
|
||||
dataInput("L1");
|
||||
} else {
|
||||
if (getprop("/MCDU[1]/scratchpad") != "NOT ALLOWED") {
|
||||
setprop("/MCDU[1]/last-scratchpad", getprop("/MCDU[1]/scratchpad"));
|
||||
}
|
||||
|
|
Reference in a new issue