Update MCDU code, make CLR button work correctly, fixed and updated MCDU INIT Page, New Thales MCDU Texture and 3D Model

This commit is contained in:
Joshua Davidson 2017-05-15 18:38:20 -04:00
parent 3a9e9a2390
commit ce6f0a456b
26 changed files with 12706 additions and 11154 deletions

View file

@ -334,7 +334,7 @@
<egt type="float">0</egt> <egt type="float">0</egt>
</apu> </apu>
<FMGC> <FMGC n="0">
<status> <status>
<to-state type="bool">1</to-state> <to-state type="bool">1</to-state>
</status> </status>

View file

@ -18,6 +18,146 @@ MATERIAL "GlassCockpit" rgb 0.8 0.8 0.8 amb 0.5 0.5 0.5 emis 1 1 1 spec 1 1 1
OBJECT world OBJECT world
kids 363 kids 363
OBJECT poly OBJECT poly
name "eng"
loc -0.0195365 0.00628152 0.0146721
texture "ped_xtra.png"
crease 45.000000
numvert 12
-0.417964 -0.320412 0.0269503
-0.417964 -0.320412 0.0133959
-0.407855 -0.32256 0.0133959
-0.407855 -0.32256 0.0269503
-0.416689 -0.314409 0.0269503
-0.415684 -0.313569 0.0261933
-0.407155 -0.315381 0.0261933
-0.406579 -0.316557 0.0269503
-0.416689 -0.314409 0.0133959
-0.407155 -0.315381 0.0141528
-0.415684 -0.313569 0.0141528
-0.406579 -0.316557 0.0133959
numsurf 20
SURF 0x30
mat 13
refs 3
3 0.48179 0.337211
1 0.575839 0.402015
2 0.575839 0.337211
SURF 0x30
mat 13
refs 3
1 0.575839 0.402015
3 0.48179 0.337211
0 0.48179 0.402015
SURF 0x30
mat 13
refs 3
3 0.48179 0.337211
4 0.48179 0.393838
0 0.48179 0.402015
SURF 0x30
mat 13
refs 3
4 0.48179 0.393838
3 0.48179 0.337211
7 0.48179 0.329035
SURF 0x30
mat 13
refs 3
8 0.575839 0.393838
2 0.575839 0.337211
1 0.575839 0.402015
SURF 0x30
mat 13
refs 3
2 0.575839 0.337211
8 0.575839 0.393838
11 0.575839 0.329035
SURF 0x30
mat 13
refs 3
4 0.48179 0.393838
1 0.575839 0.402015
0 0.48179 0.402015
SURF 0x30
mat 13
refs 3
1 0.575839 0.402015
4 0.48179 0.393838
8 0.575839 0.393838
SURF 0x30
mat 13
refs 3
11 0.575839 0.329035
3 0.48179 0.337211
2 0.575839 0.337211
SURF 0x30
mat 13
refs 3
3 0.48179 0.337211
11 0.575839 0.329035
7 0.48179 0.329035
SURF 0x30
mat 13
refs 3
5 0.487042 0.387399
9 0.570586 0.332727
10 0.570586 0.387399
SURF 0x30
mat 13
refs 3
9 0.570586 0.332727
5 0.487042 0.387399
6 0.487042 0.332727
SURF 0x30
mat 13
refs 3
4 0.48179 0.393838
10 0.570586 0.387399
8 0.575839 0.393838
SURF 0x30
mat 13
refs 3
10 0.570586 0.387399
4 0.48179 0.393838
5 0.487042 0.387399
SURF 0x30
mat 13
refs 3
7 0.48179 0.329035
5 0.487042 0.387399
4 0.48179 0.393838
SURF 0x30
mat 13
refs 3
5 0.487042 0.387399
7 0.48179 0.329035
6 0.487042 0.332727
SURF 0x30
mat 13
refs 3
11 0.575839 0.329035
9 0.570586 0.332727
7 0.48179 0.329035
SURF 0x30
mat 13
refs 3
7 0.48179 0.329035
9 0.570586 0.332727
6 0.487042 0.332727
SURF 0x30
mat 13
refs 3
10 0.570586 0.387399
11 0.575839 0.329035
8 0.575839 0.393838
SURF 0x30
mat 13
refs 3
11 0.575839 0.329035
10 0.570586 0.387399
9 0.570586 0.332727
kids 0
OBJECT poly
name "trk-fpa" name "trk-fpa"
loc -8.40336e-009 0 -3.23064e-013 loc -8.40336e-009 0 -3.23064e-013
texture "glare_sw.png" texture "glare_sw.png"
@ -67372,148 +67512,8 @@ refs 3
6 0.553595 0.232648 6 0.553595 0.232648
kids 0 kids 0
OBJECT poly OBJECT poly
name "eng"
loc -0.0059102 0.00338554 0.0146721
texture "ped_xtra.png"
crease 45.000000
numvert 12
-0.406579 -0.316557 0.0133959
-0.415684 -0.313569 0.0141528
-0.407155 -0.315381 0.0141528
-0.416689 -0.314409 0.0133959
-0.406579 -0.316557 0.0269503
-0.407155 -0.315381 0.0261933
-0.415684 -0.313569 0.0261933
-0.416689 -0.314409 0.0269503
-0.407855 -0.32256 0.0269503
-0.407855 -0.32256 0.0133959
-0.417964 -0.320412 0.0133959
-0.417964 -0.320412 0.0269503
numsurf 20
SURF 0x30
mat 13
refs 3
0 0.575839 0.329035
1 0.570586 0.387399
2 0.570586 0.332727
SURF 0x30
mat 13
refs 3
1 0.570586 0.387399
0 0.575839 0.329035
3 0.575839 0.393838
SURF 0x30
mat 13
refs 3
4 0.48179 0.329035
2 0.570586 0.332727
5 0.487042 0.332727
SURF 0x30
mat 13
refs 3
0 0.575839 0.329035
2 0.570586 0.332727
4 0.48179 0.329035
SURF 0x30
mat 13
refs 3
6 0.487042 0.387399
4 0.48179 0.329035
5 0.487042 0.332727
SURF 0x30
mat 13
refs 3
4 0.48179 0.329035
6 0.487042 0.387399
7 0.48179 0.393838
SURF 0x30
mat 13
refs 3
1 0.570586 0.387399
7 0.48179 0.393838
6 0.487042 0.387399
SURF 0x30
mat 13
refs 3
7 0.48179 0.393838
1 0.570586 0.387399
3 0.575839 0.393838
SURF 0x30
mat 13
refs 3
2 0.570586 0.332727
6 0.487042 0.387399
5 0.487042 0.332727
SURF 0x30
mat 13
refs 3
6 0.487042 0.387399
2 0.570586 0.332727
1 0.570586 0.387399
SURF 0x30
mat 13
refs 3
8 0.48179 0.337211
0 0.575839 0.329035
4 0.48179 0.329035
SURF 0x30
mat 13
refs 3
0 0.575839 0.329035
8 0.48179 0.337211
9 0.575839 0.337211
SURF 0x30
mat 13
refs 3
10 0.575839 0.402015
7 0.48179 0.393838
3 0.575839 0.393838
SURF 0x30
mat 13
refs 3
7 0.48179 0.393838
10 0.575839 0.402015
11 0.48179 0.402015
SURF 0x30
mat 13
refs 3
9 0.575839 0.337211
3 0.575839 0.393838
0 0.575839 0.329035
SURF 0x30
mat 13
refs 3
3 0.575839 0.393838
9 0.575839 0.337211
10 0.575839 0.402015
SURF 0x30
mat 13
refs 3
7 0.48179 0.393838
8 0.48179 0.337211
4 0.48179 0.329035
SURF 0x30
mat 13
refs 3
8 0.48179 0.337211
7 0.48179 0.393838
11 0.48179 0.402015
SURF 0x30
mat 13
refs 3
10 0.575839 0.402015
8 0.48179 0.337211
11 0.48179 0.402015
SURF 0x30
mat 13
refs 3
8 0.48179 0.337211
10 0.575839 0.402015
9 0.575839 0.337211
kids 0
OBJECT poly
name "apu" name "apu"
loc -0.0059102 0.00338554 0.0146721 loc 0.00771551 0.000489499 0.0146721
texture "ped_xtra.png" texture "ped_xtra.png"
crease 45.000000 crease 45.000000
numvert 12 numvert 12

View file

@ -10,12 +10,25 @@
<path>EMPTY.ac</path> <path>EMPTY.ac</path>
<model>
<name>INITBOX</name>
<path>INITBOX.xml</path>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.0</y-m>
<z-m>0.0</z-m>
<heading-deg>-180</heading-deg>
<roll-deg>-180</roll-deg>
<pitch-deg>-90</pitch-deg>
</offsets>
</model>
<text> <text>
<name>page</name> <name>page</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.004</y-m> <y-m>0.0</y-m>
<z-m>0.08</z-m> <z-m>0.083</z-m>
</offsets> </offsets>
<alignment>center-center</alignment> <alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -39,7 +52,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.042</y-m> <y-m>-0.042</y-m>
<z-m>0.0745</z-m> <z-m>0.0755</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -57,12 +70,13 @@
<height type="int">64</height> <height type="int">64</height>
</font-resolution> </font-resolution>
</text> </text>
<text> <text>
<name>fromto</name> <name>fromto</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.035</y-m> <y-m>0.032</y-m>
<z-m>0.0745</z-m> <z-m>0.0755</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -80,12 +94,13 @@
<height type="int">64</height> <height type="int">64</height>
</font-resolution> </font-resolution>
</text> </text>
<!--<text> <!--<text>
<name>fromto2</name> <name>fromto2</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>0.035</y-m>
<z-m>0.0705</z-m> <z-m>0.0715</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -109,7 +124,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0655</z-m> <z-m>0.065</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -132,7 +147,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0615</z-m> <z-m>0.0605</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -156,7 +171,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.040</y-m> <y-m>0.040</y-m>
<z-m>0.0650</z-m> <z-m>0.065</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -179,7 +194,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.040</y-m> <y-m>0.040</y-m>
<z-m>0.0600</z-m> <z-m>0.061</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -226,7 +241,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.0419</y-m> <y-m>0.0419</y-m>
<z-m>0.052</z-m> <z-m>0.0505</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -249,12 +264,12 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.044</y-m> <y-m>0.044</y-m>
<z-m>0.052</z-m> <z-m>0.0505</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type> <type type="string">text-value</type>
<format type="string">></format> <format type="string">&gt;</format>
<truncate type="bool">false</truncate> <truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font> <font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property> <property>autopilot/serviceable</property>
@ -296,7 +311,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0565</z-m> <z-m>0.0545</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -315,11 +330,11 @@
</font-resolution> </font-resolution>
</text> </text>
<!--<text> <!--<text>
<name>seconddata2</name> <name>fltnmbr2</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.035</y-m> <y-m>-0.035</y-m>
<z-m>0.052</z-m> <z-m>0.0505</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -343,7 +358,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0380</z-m> <z-m>0.033</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -366,7 +381,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0340</z-m> <z-m>0.029</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -390,7 +405,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.040</y-m> <y-m>0.040</y-m>
<z-m>0.033</z-m> <z-m>0.029</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -413,12 +428,12 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.043</y-m> <y-m>0.043</y-m>
<z-m>0.033</z-m> <z-m>0.029</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type> <type type="string">text-value</type>
<format type="string">></format> <format type="string">&gt;</format>
<truncate type="bool">false</truncate> <truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font> <font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property> <property>autopilot/serviceable</property>
@ -460,12 +475,12 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0290</z-m> <z-m>0.0230</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type> <type type="string">text-value</type>
<format type="string">CRZ FL/TEMP</format> <format type="string">CRZ FL/TEMP.</format>
<truncate type="bool">false</truncate> <truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font> <font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property> <property>autopilot/serviceable</property>
@ -478,19 +493,19 @@
<height type="int">64</height> <height type="int">64</height>
</font-resolution> </font-resolution>
</text> </text>
<!--<text> <text>
<name>idleperf2</name> <name>crzfltemp2</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.045</y-m>
<z-m>0.0255</z-m> <z-m>0.0190</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type> <type type="string">text-value</type>
<format type="string">+0.0/+0.0</format> <format type="string">----- /---</format>
<truncate type="bool">false</truncate> <truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font> <font type="string">BoeingCDU-Small.ttf</font>
<property>autopilot/serviceable</property> <property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text> <draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment> <draw-alignment type="bool">false</draw-alignment>
@ -500,13 +515,14 @@
<width type="int">64</width> <width type="int">64</width>
<height type="int">64</height> <height type="int">64</height>
</font-resolution> </font-resolution>
</text>--> </text>
<text> <text>
<name>LONG</name> <name>LONG</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.0405</y-m> <y-m>0.0405</y-m>
<z-m>0.0466</z-m> <z-m>0.0435</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -529,12 +545,12 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.043</y-m> <y-m>0.043</y-m>
<z-m>0.0425</z-m> <z-m>0.0395</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type> <type type="string">text-value</type>
<property type="string">position/longitude-string</property> <format type="string">N/A</format>
<truncate type="bool">false</truncate> <truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font> <font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property> <property>autopilot/serviceable</property>
@ -551,8 +567,8 @@
<name>tropo</name> <name>tropo</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.039</y-m> <y-m>0.041</y-m>
<z-m>0.0279</z-m> <z-m>0.0230</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -575,7 +591,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.043</y-m> <y-m>0.043</y-m>
<z-m>0.0237</z-m> <z-m>0.0190</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -594,30 +610,6 @@
</font-resolution> </font-resolution>
</text> </text>
<text>
<name>scratchpad</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.046</y-m>
<z-m>0.0190</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>/MCDU[0]/scratchpad</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.006</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<!-- Colors --> <!-- Colors -->
<!-- White --> <!-- White -->
<animation> <animation>
@ -636,7 +628,6 @@
<object-name>wind</object-name> <object-name>wind</object-name>
<object-name>wind2</object-name> <object-name>wind2</object-name>
<object-name>LONG</object-name> <object-name>LONG</object-name>
<object-name>scratchpad</object-name>
<diffuse> <diffuse>
<red>1</red> <red>1</red>
<green>1</green> <green>1</green>
@ -668,6 +659,7 @@
<object-name>init</object-name> <object-name>init</object-name>
<object-name>requeststar</object-name> <object-name>requeststar</object-name>
<object-name>request</object-name> <object-name>request</object-name>
<object-name>fromtobox</object-name>
<diffuse> <diffuse>
<red>1</red> <red>1</red>
<green>0.3</green> <green>0.3</green>
@ -685,7 +677,7 @@
</specular> </specular>
<emission> <emission>
<red>1</red> <red>1</red>
<green>0.40</green> <green>0.3</green>
<blue>0</blue> <blue>0</blue>
</emission> </emission>
</animation> </animation>

View file

@ -0,0 +1,276 @@
AC3Db
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0 0 0 shi 128 trans 0
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 1 1 1 spec 0 0 0 shi 128 trans 0
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 1 1 1 shi 0 trans 0
OBJECT world
kids 5
OBJECT poly
name "fromto"
loc -0.0691401 -0.000598909 -0.016447
data 10
enginepane
texture "amberbox.png"
crease 30.000002
numvert 4
-0.00472546 -4.13274e-009 -0.0290224
-0.00472546 -4.13274e-009 0.00170836
-0.000334941 0 0.00170836
-0.000334948 0 -0.0290224
numsurf 1
SURF 0x0
mat 1
refs 4
3 0.900124 0.496296
0 0.900124 0.691819
1 0.476034 0.691819
2 0.476034 0.496296
kids 0
OBJECT poly
name "box"
loc 0.00822081 -0.0901982 0
texture "bg.jpg"
crease 45.000000
numvert 32
-0.0955113 0.0766067 0.0464514
-0.0955114 0.0766082 -0.0444134
-0.0955114 0.0766082 -0.0447677
-0.0955114 0.0766082 -0.0454758
-0.0955113 0.0766067 0.0468931
-0.0955113 0.0766067 0.0468114
-0.0955114 0.0766082 -0.0457814
-0.0167362 0.0766096 -0.0452061
-0.0173247 0.0766096 -0.045761
-0.0167736 0.0766082 0.0471958
-0.0165575 0.0766082 0.046439
-0.0181283 0.0766096 -0.0444482
-0.0181703 0.0766082 0.046439
-0.0948978 0.0766082 -0.0444134
-0.0948642 0.0766067 0.0464514
-0.0948978 0.0766082 -0.0457814
-0.0181283 0.0766096 -0.0457814
-0.0173122 0.0766312 -0.0457814
-0.0174052 0.0766096 -0.0457814
-0.0951288 0.0766067 0.0468931
-0.0948642 0.0766067 0.0468931
-0.0166872 0.0766082 0.0468931
-0.0173323 0.0766082 0.0468931
-0.0181703 0.0766082 0.0468931
-0.0178909 0.0766082 0.0468931
-0.0165618 0.0766082 0.046439
-0.0165618 0.0766096 -0.0445924
-0.0165618 0.0767837 -0.0453011
-0.0165618 0.0766082 0.046454
-0.016831 0.076744 -0.0457814
-0.0165618 0.0766096 -0.0444482
-0.0165618 0.0768194 0.047311
numsurf 22
SURF 0x10
mat 0
refs 4
28 0.130849 0.575937
21 0.127384 0.576512
9 0.124996 0.576908
31 0.124087 0.575937
SURF 0x10
mat 0
refs 5
29 0.858692 0.575937
17 0.858692 0.579377
8 0.858531 0.579434
7 0.854152 0.576736
27 0.854902 0.575937
SURF 0x10
mat 0
refs 4
26 0.849307 0.575937
7 0.854152 0.576736
11 0.848169 0.583119
30 0.848169 0.575937
SURF 0x10
mat 0
refs 3
27 0.854902 0.575937
7 0.854152 0.576736
26 0.849307 0.575937
SURF 0x10
mat 0
refs 4
30 0.848169 0.575937
11 0.848169 0.583119
12 0.130967 0.583312
25 0.130967 0.575937
SURF 0x10
mat 0
refs 5
25 0.130967 0.575937
12 0.130967 0.583312
22 0.127384 0.579469
21 0.127384 0.576512
28 0.130849 0.575937
SURF 0x10
mat 0
refs 3
28 0.130849 0.575937
10 0.130967 0.575917
25 0.130967 0.575937
SURF 0x10
mat 0
refs 3
24 0.127383 0.582031
12 0.130967 0.583312
23 0.127383 0.583312
SURF 0x10
mat 0
refs 3
22 0.127384 0.579469
12 0.130967 0.583312
24 0.127383 0.582031
SURF 0x10
mat 0
refs 4
23 0.127383 0.583312
12 0.130967 0.583312
14 0.130868 0.934955
20 0.127383 0.934955
SURF 0x10
mat 0
refs 3
20 0.127383 0.934955
14 0.130868 0.934955
19 0.127382 0.936169
SURF 0x10
mat 0
refs 3
18 0.858692 0.579803
8 0.858531 0.579434
17 0.858692 0.579377
SURF 0x10
mat 0
refs 4
16 0.85869 0.583119
11 0.848169 0.583119
8 0.858531 0.579434
18 0.858692 0.579803
SURF 0x10
mat 0
refs 4
15 0.858691 0.93511
13 0.847897 0.93511
11 0.848169 0.583119
16 0.85869 0.583119
SURF 0x10
mat 0
refs 3
7 0.854152 0.576736
8 0.858531 0.579434
11 0.848169 0.583119
SURF 0x10
mat 0
refs 4
12 0.130967 0.583312
11 0.848169 0.583119
13 0.847897 0.93511
14 0.130868 0.934955
SURF 0x10
mat 0
refs 4
3 0.85628 0.937922
13 0.847897 0.93511
15 0.858691 0.93511
6 0.858691 0.937922
SURF 0x10
mat 0
refs 4
4 0.127383 0.937922
19 0.127382 0.936169
14 0.130868 0.934955
5 0.128028 0.937922
SURF 0x10
mat 0
refs 3
5 0.128028 0.937922
14 0.130868 0.934955
0 0.130868 0.937923
SURF 0x10
mat 0
refs 3
2 0.850692 0.937923
13 0.847897 0.93511
3 0.85628 0.937922
SURF 0x10
mat 0
refs 3
1 0.847897 0.937924
13 0.847897 0.93511
2 0.850692 0.937923
SURF 0x10
mat 0
refs 4
0 0.130868 0.937923
14 0.130868 0.934955
13 0.847897 0.93511
1 0.847897 0.937924
kids 0
OBJECT poly
name "coroute"
loc -0.0690906 -0.00060165 0.00956676
data 10
enginepane
texture "amberbox.png"
crease 30.000002
numvert 4
-0.000208564 -2.91038e-010 0.00385576
-0.00491899 -5.41331e-009 0.00385576
-0.00491899 -5.41331e-009 0.0358682
-0.000208564 -2.91038e-010 0.0358682
numsurf 1
SURF 0x0
mat 2
refs 4
3 0.00547499 0.490563
0 0.446491 0.490563
1 0.446491 0.697977
2 0.00547499 0.697977
kids 0
OBJECT poly
name "face"
loc -0.0925569 -0.0235122 0.00196775
data 10
enginepane
texture "amberbox.png"
crease 30.000002
numvert 4
-0.000122987 0 0.028218
0.00643683 1.49012e-008 0.028218
0.00643683 1.49012e-008 -0.00762965
-0.000122987 0 -0.00762965
numsurf 1
SURF 0x0
mat 2
refs 4
3 0.634683 0.490563
0 4.45843e-005 0.490563
1 4.45843e-005 0.000756443
2 0.634683 0.000756443
kids 0
OBJECT poly
name "fltnum"
loc -0.055732 -0.00059823 0.0550418
data 10
enginepane
texture "amberbox.png"
crease 30.000002
numvert 4
0.00300431 4.88944e-009 -0.0098099
0.00300431 4.88944e-009 -0.0353372
0.0072827 1.234e-008 -0.0353372
0.0072827 1.234e-008 -0.0098099
numsurf 1
SURF 0x0
mat 2
refs 4
0 0.634683 0.346666
3 0.634683 0.15482
2 0.986171 0.15482
1 0.986171 0.346666
kids 0

View file

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!--
##################################################################
# A3XX mCDU by Joshua Davidson (it0uchpods) and Jonathan Redpath #
##################################################################
-->
<PropertyList>
<path>INITBOX.ac</path>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -10,9 +10,25 @@
<path>MCDU.ac</path> <path>MCDU.ac</path>
<model>
<name>SCRATCHPAD</name>
<path>SCRATCHPAD.xml</path>
<offsets>
<heading-deg>180</heading-deg>
<roll-deg>180</roll-deg>
<pitch-deg>90</pitch-deg>
</offsets>
<condition>
<greater-than-equals>
<property>/systems/electrical/bus/ac1</property>
<value>25</value>
</greater-than-equals>
</condition>
</model>
<model> <model>
<name>STATUS</name> <name>STATUS</name>
<path>STATUS1.xml</path> <path>STATUS.xml</path>
<offsets> <offsets>
<heading-deg>180</heading-deg> <heading-deg>180</heading-deg>
<roll-deg>180</roll-deg> <roll-deg>180</roll-deg>
@ -24,10 +40,6 @@
<property>/systems/electrical/bus/ac1</property> <property>/systems/electrical/bus/ac1</property>
<value>25</value> <value>25</value>
</greater-than-equals> </greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
<equals> <equals>
<property>/MCDU[0]/page</property> <property>/MCDU[0]/page</property>
<value>STATUS</value> <value>STATUS</value>
@ -38,7 +50,7 @@
<model> <model>
<name>INITA</name> <name>INITA</name>
<path>INITA1.xml</path> <path>INITA.xml</path>
<offsets> <offsets>
<heading-deg>180</heading-deg> <heading-deg>180</heading-deg>
<roll-deg>180</roll-deg> <roll-deg>180</roll-deg>
@ -50,10 +62,6 @@
<property>/systems/electrical/bus/ac1</property> <property>/systems/electrical/bus/ac1</property>
<value>25</value> <value>25</value>
</greater-than-equals> </greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
<equals> <equals>
<property>/MCDU[0]/page</property> <property>/MCDU[0]/page</property>
<value>INITA</value> <value>INITA</value>
@ -62,6 +70,25 @@
</condition> </condition>
</model> </model>
<animation>
<type>pick</type>
<object-name>init</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu1.pagebutton("init");</script>
<condition>
<greater-than-equals>
<property>/systems/electrical/bus/ac1</property>
<value>25</value>
</greater-than-equals>
</condition>
</binding>
</action>
</animation>
<animation> <animation>
<type>pick</type> <type>pick</type>
<object-name>a</object-name> <object-name>a</object-name>
@ -72,16 +99,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("A");</script> <script>mcdu1.button("A");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -96,16 +117,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("B");</script> <script>mcdu1.button("B");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -120,16 +135,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("C");</script> <script>mcdu1.button("C");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -144,16 +153,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("D");</script> <script>mcdu1.button("D");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -168,16 +171,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("E");</script> <script>mcdu1.button("E");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -192,16 +189,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("F");</script> <script>mcdu1.button("F");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -216,16 +207,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("G");</script> <script>mcdu1.button("G");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -240,16 +225,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("H");</script> <script>mcdu1.button("H");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -264,16 +243,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("I");</script> <script>mcdu1.button("I");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -288,16 +261,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("J");</script> <script>mcdu1.button("J");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -312,16 +279,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("K");</script> <script>mcdu1.button("K");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -336,16 +297,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("L");</script> <script>mcdu1.button("L");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -360,16 +315,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("M");</script> <script>mcdu1.button("M");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -384,16 +333,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("N");</script> <script>mcdu1.button("N");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -408,16 +351,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("O");</script> <script>mcdu1.button("O");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -432,16 +369,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("P");</script> <script>mcdu1.button("P");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -456,16 +387,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("Q");</script> <script>mcdu1.button("Q");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -480,16 +405,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("R");</script> <script>mcdu1.button("R");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -504,16 +423,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("S");</script> <script>mcdu1.button("S");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -528,16 +441,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("T");</script> <script>mcdu1.button("T");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -552,16 +459,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("U");</script> <script>mcdu1.button("U");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -576,16 +477,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("V");</script> <script>mcdu1.button("V");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -600,16 +495,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("W");</script> <script>mcdu1.button("W");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -624,16 +513,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("X");</script> <script>mcdu1.button("X");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -648,16 +531,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("Y");</script> <script>mcdu1.button("Y");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -672,16 +549,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("Z");</script> <script>mcdu1.button("Z");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -696,16 +567,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("SLASH");</script> <script>mcdu1.button("SLASH");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -720,16 +585,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("SP");</script> <script>mcdu1.button("SP");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -744,16 +603,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("OVFY");</script> <script>mcdu1.button("OVFY");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -768,16 +621,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("CLR");</script> <script>mcdu1.button("CLR");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -792,16 +639,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("0");</script> <script>mcdu1.button("0");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -816,16 +657,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("1");</script> <script>mcdu1.button("1");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -840,16 +675,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("2");</script> <script>mcdu1.button("2");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -864,16 +693,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("3");</script> <script>mcdu1.button("3");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -888,16 +711,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("4");</script> <script>mcdu1.button("4");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -912,16 +729,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("5");</script> <script>mcdu1.button("5");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -936,16 +747,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("6");</script> <script>mcdu1.button("6");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -960,16 +765,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("7");</script> <script>mcdu1.button("7");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -984,16 +783,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("8");</script> <script>mcdu1.button("8");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -1008,16 +801,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("9");</script> <script>mcdu1.button("9");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -1032,16 +819,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("DOT");</script> <script>mcdu1.button("DOT");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -1056,16 +837,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu1.button("PLUSMINUS");</script> <script>mcdu1.button("PLUSMINUS");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac1</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>

View file

@ -0,0 +1,64 @@
<?xml version="1.0"?>
<!--
##################################################################
# A3XX mCDU by Joshua Davidson (it0uchpods) and Jonathan Redpath #
##################################################################
-->
<PropertyList>
<path>EMPTY.ac</path>
<text>
<name>scratchpad</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.044</y-m>
<z-m>0.0120</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>/MCDU[0]/scratchpad</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.006</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>scratchpad</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>
</PropertyList>

View file

@ -15,7 +15,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.004</y-m> <y-m>-0.004</y-m>
<z-m>0.08</z-m> <z-m>0.083</z-m>
</offsets> </offsets>
<alignment>center-center</alignment> <alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -39,7 +39,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.040</y-m> <y-m>-0.040</y-m>
<z-m>0.0745</z-m> <z-m>0.0755</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -62,7 +62,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.043</y-m>
<z-m>0.0705</z-m> <z-m>0.0715</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -86,7 +86,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.040</y-m> <y-m>-0.040</y-m>
<z-m>0.0655</z-m> <z-m>0.065</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -109,7 +109,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.040</y-m> <y-m>-0.040</y-m>
<z-m>0.0615</z-m> <z-m>0.061</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -132,7 +132,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.040</y-m> <y-m>0.040</y-m>
<z-m>0.0615</z-m> <z-m>0.061</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -156,7 +156,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.040</y-m> <y-m>-0.040</y-m>
<z-m>0.0565</z-m> <z-m>0.0545</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -179,7 +179,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.040</y-m> <y-m>-0.040</y-m>
<z-m>0.052</z-m> <z-m>0.0505</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -203,7 +203,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.043</y-m>
<z-m>0.0385</z-m> <z-m>0.033</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -226,7 +226,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.043</y-m>
<z-m>0.0340</z-m> <z-m>0.0285</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -250,7 +250,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.043</y-m>
<z-m>0.0295</z-m> <z-m>0.0225</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -273,7 +273,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.043</y-m>
<z-m>0.0255</z-m> <z-m>0.0185</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -297,7 +297,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.040</y-m> <y-m>0.040</y-m>
<z-m>0.0295</z-m> <z-m>0.0225</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -320,7 +320,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.043</y-m> <y-m>0.043</y-m>
<z-m>0.0255</z-m> <z-m>0.0185</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -339,30 +339,6 @@
</font-resolution> </font-resolution>
</text> </text>
<text>
<name>scratchpad</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.046</y-m>
<z-m>0.0190</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>/MCDU[0]/scratchpad</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.006</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<!-- Colors --> <!-- Colors -->
<!-- White --> <!-- White -->
<animation> <animation>
@ -375,7 +351,6 @@
<object-name>idleperf</object-name> <object-name>idleperf</object-name>
<object-name>software</object-name> <object-name>software</object-name>
<object-name>statusxload</object-name> <object-name>statusxload</object-name>
<object-name>scratchpad</object-name>
<diffuse> <diffuse>
<red>1</red> <red>1</red>
<green>1</green> <green>1</green>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

View file

@ -10,12 +10,25 @@
<path>EMPTY.ac</path> <path>EMPTY.ac</path>
<model>
<name>INITBOX</name>
<path>INITBOX.xml</path>
<offsets>
<x-m>-0.001</x-m>
<y-m>0.0</y-m>
<z-m>0.0</z-m>
<heading-deg>-180</heading-deg>
<roll-deg>-180</roll-deg>
<pitch-deg>-90</pitch-deg>
</offsets>
</model>
<text> <text>
<name>page</name> <name>page</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.004</y-m> <y-m>0.0</y-m>
<z-m>0.08</z-m> <z-m>0.083</z-m>
</offsets> </offsets>
<alignment>center-center</alignment> <alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -39,7 +52,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.042</y-m> <y-m>-0.042</y-m>
<z-m>0.0745</z-m> <z-m>0.0755</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -57,12 +70,13 @@
<height type="int">64</height> <height type="int">64</height>
</font-resolution> </font-resolution>
</text> </text>
<text> <text>
<name>fromto</name> <name>fromto</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.035</y-m> <y-m>0.032</y-m>
<z-m>0.0745</z-m> <z-m>0.0755</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -80,12 +94,13 @@
<height type="int">64</height> <height type="int">64</height>
</font-resolution> </font-resolution>
</text> </text>
<!--<text> <!--<text>
<name>fromto2</name> <name>fromto2</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>0.035</y-m>
<z-m>0.0705</z-m> <z-m>0.0715</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -109,7 +124,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0655</z-m> <z-m>0.065</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -132,7 +147,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0615</z-m> <z-m>0.0605</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -156,7 +171,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.040</y-m> <y-m>0.040</y-m>
<z-m>0.0650</z-m> <z-m>0.065</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -179,7 +194,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.040</y-m> <y-m>0.040</y-m>
<z-m>0.0600</z-m> <z-m>0.061</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -226,7 +241,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.0419</y-m> <y-m>0.0419</y-m>
<z-m>0.052</z-m> <z-m>0.0505</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -249,12 +264,12 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.044</y-m> <y-m>0.044</y-m>
<z-m>0.052</z-m> <z-m>0.0505</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type> <type type="string">text-value</type>
<format type="string">></format> <format type="string">&gt;</format>
<truncate type="bool">false</truncate> <truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font> <font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property> <property>autopilot/serviceable</property>
@ -296,7 +311,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0565</z-m> <z-m>0.0545</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -315,11 +330,11 @@
</font-resolution> </font-resolution>
</text> </text>
<!--<text> <!--<text>
<name>seconddata2</name> <name>fltnmbr2</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.035</y-m> <y-m>-0.035</y-m>
<z-m>0.052</z-m> <z-m>0.0505</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -343,7 +358,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0380</z-m> <z-m>0.033</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -366,7 +381,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0340</z-m> <z-m>0.029</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -390,7 +405,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.040</y-m> <y-m>0.040</y-m>
<z-m>0.033</z-m> <z-m>0.029</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -413,12 +428,12 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.043</y-m> <y-m>0.043</y-m>
<z-m>0.033</z-m> <z-m>0.029</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type> <type type="string">text-value</type>
<format type="string">></format> <format type="string">&gt;</format>
<truncate type="bool">false</truncate> <truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font> <font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property> <property>autopilot/serviceable</property>
@ -460,12 +475,12 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.045</y-m> <y-m>-0.045</y-m>
<z-m>0.0290</z-m> <z-m>0.0230</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type> <type type="string">text-value</type>
<format type="string">CRZ FL/TEMP</format> <format type="string">CRZ FL/TEMP.</format>
<truncate type="bool">false</truncate> <truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font> <font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property> <property>autopilot/serviceable</property>
@ -478,19 +493,19 @@
<height type="int">64</height> <height type="int">64</height>
</font-resolution> </font-resolution>
</text> </text>
<!--<text> <text>
<name>idleperf2</name> <name>crzfltemp2</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.045</y-m>
<z-m>0.0255</z-m> <z-m>0.0190</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type> <type type="string">text-value</type>
<format type="string">+0.0/+0.0</format> <format type="string">----- /---</format>
<truncate type="bool">false</truncate> <truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font> <font type="string">BoeingCDU-Small.ttf</font>
<property>autopilot/serviceable</property> <property>autopilot/serviceable</property>
<draw-text type="bool">true</draw-text> <draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment> <draw-alignment type="bool">false</draw-alignment>
@ -500,13 +515,14 @@
<width type="int">64</width> <width type="int">64</width>
<height type="int">64</height> <height type="int">64</height>
</font-resolution> </font-resolution>
</text>--> </text>
<text> <text>
<name>LONG</name> <name>LONG</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.0405</y-m> <y-m>0.0405</y-m>
<z-m>0.0466</z-m> <z-m>0.0435</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -529,12 +545,12 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.043</y-m> <y-m>0.043</y-m>
<z-m>0.0425</z-m> <z-m>0.0395</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type> <type type="string">text-value</type>
<property type="string">position/longitude-string</property> <format type="string">N/A</format>
<truncate type="bool">false</truncate> <truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font> <font type="string">BoeingCDU-Large.ttf</font>
<property>autopilot/serviceable</property> <property>autopilot/serviceable</property>
@ -551,8 +567,8 @@
<name>tropo</name> <name>tropo</name>
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.039</y-m> <y-m>0.041</y-m>
<z-m>0.0279</z-m> <z-m>0.0230</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -575,7 +591,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.043</y-m> <y-m>0.043</y-m>
<z-m>0.0237</z-m> <z-m>0.0190</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -594,30 +610,6 @@
</font-resolution> </font-resolution>
</text> </text>
<text>
<name>scratchpad</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.046</y-m>
<z-m>0.0190</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>/MCDU[1]/scratchpad</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.006</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<!-- Colors --> <!-- Colors -->
<!-- White --> <!-- White -->
<animation> <animation>
@ -636,7 +628,6 @@
<object-name>wind</object-name> <object-name>wind</object-name>
<object-name>wind2</object-name> <object-name>wind2</object-name>
<object-name>LONG</object-name> <object-name>LONG</object-name>
<object-name>scratchpad</object-name>
<diffuse> <diffuse>
<red>1</red> <red>1</red>
<green>1</green> <green>1</green>
@ -668,6 +659,7 @@
<object-name>init</object-name> <object-name>init</object-name>
<object-name>requeststar</object-name> <object-name>requeststar</object-name>
<object-name>request</object-name> <object-name>request</object-name>
<object-name>fromtobox</object-name>
<diffuse> <diffuse>
<red>1</red> <red>1</red>
<green>0.3</green> <green>0.3</green>
@ -685,7 +677,7 @@
</specular> </specular>
<emission> <emission>
<red>1</red> <red>1</red>
<green>0.40</green> <green>0.3</green>
<blue>0</blue> <blue>0</blue>
</emission> </emission>
</animation> </animation>

View file

@ -0,0 +1,276 @@
AC3Db
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0 0 0 shi 128 trans 0
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 1 1 1 spec 0 0 0 shi 128 trans 0
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 1 1 1 shi 0 trans 0
OBJECT world
kids 5
OBJECT poly
name "fromto"
loc -0.0691401 -0.000598909 -0.016447
data 10
enginepane
texture "amberbox.png"
crease 30.000002
numvert 4
-0.00472546 -4.13274e-009 -0.0290224
-0.00472546 -4.13274e-009 0.00170836
-0.000334941 0 0.00170836
-0.000334948 0 -0.0290224
numsurf 1
SURF 0x0
mat 1
refs 4
3 0.900124 0.496296
0 0.900124 0.691819
1 0.476034 0.691819
2 0.476034 0.496296
kids 0
OBJECT poly
name "box"
loc 0.00822081 -0.0901982 0
texture "bg.jpg"
crease 45.000000
numvert 32
-0.0955113 0.0766067 0.0464514
-0.0955114 0.0766082 -0.0444134
-0.0955114 0.0766082 -0.0447677
-0.0955114 0.0766082 -0.0454758
-0.0955113 0.0766067 0.0468931
-0.0955113 0.0766067 0.0468114
-0.0955114 0.0766082 -0.0457814
-0.0167362 0.0766096 -0.0452061
-0.0173247 0.0766096 -0.045761
-0.0167736 0.0766082 0.0471958
-0.0165575 0.0766082 0.046439
-0.0181283 0.0766096 -0.0444482
-0.0181703 0.0766082 0.046439
-0.0948978 0.0766082 -0.0444134
-0.0948642 0.0766067 0.0464514
-0.0948978 0.0766082 -0.0457814
-0.0181283 0.0766096 -0.0457814
-0.0173122 0.0766312 -0.0457814
-0.0174052 0.0766096 -0.0457814
-0.0951288 0.0766067 0.0468931
-0.0948642 0.0766067 0.0468931
-0.0166872 0.0766082 0.0468931
-0.0173323 0.0766082 0.0468931
-0.0181703 0.0766082 0.0468931
-0.0178909 0.0766082 0.0468931
-0.0165618 0.0766082 0.046439
-0.0165618 0.0766096 -0.0445924
-0.0165618 0.0767837 -0.0453011
-0.0165618 0.0766082 0.046454
-0.016831 0.076744 -0.0457814
-0.0165618 0.0766096 -0.0444482
-0.0165618 0.0768194 0.047311
numsurf 22
SURF 0x10
mat 0
refs 4
28 0.130849 0.575937
21 0.127384 0.576512
9 0.124996 0.576908
31 0.124087 0.575937
SURF 0x10
mat 0
refs 5
29 0.858692 0.575937
17 0.858692 0.579377
8 0.858531 0.579434
7 0.854152 0.576736
27 0.854902 0.575937
SURF 0x10
mat 0
refs 4
26 0.849307 0.575937
7 0.854152 0.576736
11 0.848169 0.583119
30 0.848169 0.575937
SURF 0x10
mat 0
refs 3
27 0.854902 0.575937
7 0.854152 0.576736
26 0.849307 0.575937
SURF 0x10
mat 0
refs 4
30 0.848169 0.575937
11 0.848169 0.583119
12 0.130967 0.583312
25 0.130967 0.575937
SURF 0x10
mat 0
refs 5
25 0.130967 0.575937
12 0.130967 0.583312
22 0.127384 0.579469
21 0.127384 0.576512
28 0.130849 0.575937
SURF 0x10
mat 0
refs 3
28 0.130849 0.575937
10 0.130967 0.575917
25 0.130967 0.575937
SURF 0x10
mat 0
refs 3
24 0.127383 0.582031
12 0.130967 0.583312
23 0.127383 0.583312
SURF 0x10
mat 0
refs 3
22 0.127384 0.579469
12 0.130967 0.583312
24 0.127383 0.582031
SURF 0x10
mat 0
refs 4
23 0.127383 0.583312
12 0.130967 0.583312
14 0.130868 0.934955
20 0.127383 0.934955
SURF 0x10
mat 0
refs 3
20 0.127383 0.934955
14 0.130868 0.934955
19 0.127382 0.936169
SURF 0x10
mat 0
refs 3
18 0.858692 0.579803
8 0.858531 0.579434
17 0.858692 0.579377
SURF 0x10
mat 0
refs 4
16 0.85869 0.583119
11 0.848169 0.583119
8 0.858531 0.579434
18 0.858692 0.579803
SURF 0x10
mat 0
refs 4
15 0.858691 0.93511
13 0.847897 0.93511
11 0.848169 0.583119
16 0.85869 0.583119
SURF 0x10
mat 0
refs 3
7 0.854152 0.576736
8 0.858531 0.579434
11 0.848169 0.583119
SURF 0x10
mat 0
refs 4
12 0.130967 0.583312
11 0.848169 0.583119
13 0.847897 0.93511
14 0.130868 0.934955
SURF 0x10
mat 0
refs 4
3 0.85628 0.937922
13 0.847897 0.93511
15 0.858691 0.93511
6 0.858691 0.937922
SURF 0x10
mat 0
refs 4
4 0.127383 0.937922
19 0.127382 0.936169
14 0.130868 0.934955
5 0.128028 0.937922
SURF 0x10
mat 0
refs 3
5 0.128028 0.937922
14 0.130868 0.934955
0 0.130868 0.937923
SURF 0x10
mat 0
refs 3
2 0.850692 0.937923
13 0.847897 0.93511
3 0.85628 0.937922
SURF 0x10
mat 0
refs 3
1 0.847897 0.937924
13 0.847897 0.93511
2 0.850692 0.937923
SURF 0x10
mat 0
refs 4
0 0.130868 0.937923
14 0.130868 0.934955
13 0.847897 0.93511
1 0.847897 0.937924
kids 0
OBJECT poly
name "coroute"
loc -0.0690906 -0.00060165 0.00956676
data 10
enginepane
texture "amberbox.png"
crease 30.000002
numvert 4
-0.000208564 -2.91038e-010 0.00385576
-0.00491899 -5.41331e-009 0.00385576
-0.00491899 -5.41331e-009 0.0358682
-0.000208564 -2.91038e-010 0.0358682
numsurf 1
SURF 0x0
mat 2
refs 4
3 0.00547499 0.490563
0 0.446491 0.490563
1 0.446491 0.697977
2 0.00547499 0.697977
kids 0
OBJECT poly
name "face"
loc -0.0925569 -0.0235122 0.00196775
data 10
enginepane
texture "amberbox.png"
crease 30.000002
numvert 4
-0.000122987 0 0.028218
0.00643683 1.49012e-008 0.028218
0.00643683 1.49012e-008 -0.00762965
-0.000122987 0 -0.00762965
numsurf 1
SURF 0x0
mat 2
refs 4
3 0.634683 0.490563
0 4.45843e-005 0.490563
1 4.45843e-005 0.000756443
2 0.634683 0.000756443
kids 0
OBJECT poly
name "fltnum"
loc -0.055732 -0.00059823 0.0550418
data 10
enginepane
texture "amberbox.png"
crease 30.000002
numvert 4
0.00300431 4.88944e-009 -0.0098099
0.00300431 4.88944e-009 -0.0353372
0.0072827 1.234e-008 -0.0353372
0.0072827 1.234e-008 -0.0098099
numsurf 1
SURF 0x0
mat 2
refs 4
0 0.634683 0.346666
3 0.634683 0.15482
2 0.986171 0.15482
1 0.986171 0.346666
kids 0

View file

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!--
##################################################################
# A3XX mCDU by Joshua Davidson (it0uchpods) and Jonathan Redpath #
##################################################################
-->
<PropertyList>
<path>INITBOX.ac</path>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -10,9 +10,25 @@
<path>MCDU.ac</path> <path>MCDU.ac</path>
<model>
<name>SCRATCHPAD</name>
<path>SCRATCHPAD.xml</path>
<offsets>
<heading-deg>180</heading-deg>
<roll-deg>180</roll-deg>
<pitch-deg>90</pitch-deg>
</offsets>
<condition>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</condition>
</model>
<model> <model>
<name>STATUS</name> <name>STATUS</name>
<path>STATUS2.xml</path> <path>STATUS.xml</path>
<offsets> <offsets>
<heading-deg>180</heading-deg> <heading-deg>180</heading-deg>
<roll-deg>180</roll-deg> <roll-deg>180</roll-deg>
@ -20,10 +36,6 @@
</offsets> </offsets>
<condition> <condition>
<and> <and>
<greater-than-equals>
<property>/systems/electrical/bus/ac1</property>
<value>25</value>
</greater-than-equals>
<greater-than-equals> <greater-than-equals>
<property>/systems/electrical/bus/ac2</property> <property>/systems/electrical/bus/ac2</property>
<value>25</value> <value>25</value>
@ -36,6 +48,47 @@
</condition> </condition>
</model> </model>
<model>
<name>INITA</name>
<path>INITA.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/ac2</property>
<value>25</value>
</greater-than-equals>
<equals>
<property>/MCDU[1]/page</property>
<value>INITA</value>
</equals>
</and>
</condition>
</model>
<animation>
<type>pick</type>
<object-name>init</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>mcdu2.pagebutton("init");</script>
<condition>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</condition>
</binding>
</action>
</animation>
<animation> <animation>
<type>pick</type> <type>pick</type>
<object-name>a</object-name> <object-name>a</object-name>
@ -46,16 +99,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("A");</script> <script>mcdu2.button("A");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -70,16 +117,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("B");</script> <script>mcdu2.button("B");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -94,16 +135,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("C");</script> <script>mcdu2.button("C");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -118,16 +153,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("D");</script> <script>mcdu2.button("D");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -142,16 +171,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("E");</script> <script>mcdu2.button("E");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -166,16 +189,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("F");</script> <script>mcdu2.button("F");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -190,16 +207,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("G");</script> <script>mcdu2.button("G");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -214,16 +225,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("H");</script> <script>mcdu2.button("H");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -238,16 +243,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("I");</script> <script>mcdu2.button("I");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -262,16 +261,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("J");</script> <script>mcdu2.button("J");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -286,16 +279,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("K");</script> <script>mcdu2.button("K");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -310,16 +297,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("L");</script> <script>mcdu2.button("L");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -334,16 +315,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("M");</script> <script>mcdu2.button("M");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -358,16 +333,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("N");</script> <script>mcdu2.button("N");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -382,16 +351,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("O");</script> <script>mcdu2.button("O");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -406,16 +369,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("P");</script> <script>mcdu2.button("P");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -430,16 +387,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("Q");</script> <script>mcdu2.button("Q");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -454,16 +405,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("R");</script> <script>mcdu2.button("R");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -478,16 +423,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("S");</script> <script>mcdu2.button("S");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -502,16 +441,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("T");</script> <script>mcdu2.button("T");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -526,16 +459,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("U");</script> <script>mcdu2.button("U");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -550,16 +477,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("V");</script> <script>mcdu2.button("V");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -574,16 +495,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("W");</script> <script>mcdu2.button("W");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -598,16 +513,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("X");</script> <script>mcdu2.button("X");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -622,16 +531,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("Y");</script> <script>mcdu2.button("Y");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -646,16 +549,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("Z");</script> <script>mcdu2.button("Z");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -670,16 +567,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("SLASH");</script> <script>mcdu2.button("SLASH");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -694,16 +585,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("SP");</script> <script>mcdu2.button("SP");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -718,16 +603,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("OVFY");</script> <script>mcdu2.button("OVFY");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -742,16 +621,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("CLR");</script> <script>mcdu2.button("CLR");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -766,16 +639,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("0");</script> <script>mcdu2.button("0");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -790,16 +657,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("1");</script> <script>mcdu2.button("1");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -814,16 +675,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("2");</script> <script>mcdu2.button("2");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -838,16 +693,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("3");</script> <script>mcdu2.button("3");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -862,16 +711,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("4");</script> <script>mcdu2.button("4");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -886,16 +729,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("5");</script> <script>mcdu2.button("5");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -910,16 +747,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("6");</script> <script>mcdu2.button("6");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -934,16 +765,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("7");</script> <script>mcdu2.button("7");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -958,16 +783,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("8");</script> <script>mcdu2.button("8");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -982,16 +801,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("9");</script> <script>mcdu2.button("9");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -1006,16 +819,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("DOT");</script> <script>mcdu2.button("DOT");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>
@ -1030,16 +837,10 @@
<command>nasal</command> <command>nasal</command>
<script>mcdu2.button("PLUSMINUS");</script> <script>mcdu2.button("PLUSMINUS");</script>
<condition> <condition>
<and> <greater-than-equals>
<greater-than-equals> <property>/systems/electrical/bus/ac2</property>
<property>/systems/electrical/bus/ac1</property> <value>25</value>
<value>25</value> </greater-than-equals>
</greater-than-equals>
<greater-than-equals>
<property>/systems/electrical/bus/ac2</property>
<value>25</value>
</greater-than-equals>
</and>
</condition> </condition>
</binding> </binding>
</action> </action>

View file

@ -0,0 +1,64 @@
<?xml version="1.0"?>
<!--
##################################################################
# A3XX mCDU by Joshua Davidson (it0uchpods) and Jonathan Redpath #
##################################################################
-->
<PropertyList>
<path>EMPTY.ac</path>
<text>
<name>scratchpad</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.044</y-m>
<z-m>0.0120</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>/MCDU[1]/scratchpad</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.006</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>scratchpad</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>
</PropertyList>

View file

@ -15,7 +15,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.004</y-m> <y-m>-0.004</y-m>
<z-m>0.08</z-m> <z-m>0.083</z-m>
</offsets> </offsets>
<alignment>center-center</alignment> <alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -39,7 +39,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.040</y-m> <y-m>-0.040</y-m>
<z-m>0.0745</z-m> <z-m>0.0755</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -62,7 +62,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.043</y-m>
<z-m>0.0705</z-m> <z-m>0.0715</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -86,7 +86,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.040</y-m> <y-m>-0.040</y-m>
<z-m>0.0655</z-m> <z-m>0.065</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -109,7 +109,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.040</y-m> <y-m>-0.040</y-m>
<z-m>0.0615</z-m> <z-m>0.061</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -132,7 +132,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.040</y-m> <y-m>0.040</y-m>
<z-m>0.0615</z-m> <z-m>0.061</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -156,7 +156,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.040</y-m> <y-m>-0.040</y-m>
<z-m>0.0565</z-m> <z-m>0.0545</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -179,7 +179,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.040</y-m> <y-m>-0.040</y-m>
<z-m>0.052</z-m> <z-m>0.0505</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -203,7 +203,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.043</y-m>
<z-m>0.0385</z-m> <z-m>0.033</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -226,7 +226,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.043</y-m>
<z-m>0.0340</z-m> <z-m>0.0285</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -250,7 +250,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.043</y-m>
<z-m>0.0295</z-m> <z-m>0.0225</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -273,7 +273,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>-0.043</y-m> <y-m>-0.043</y-m>
<z-m>0.0255</z-m> <z-m>0.0185</z-m>
</offsets> </offsets>
<alignment>left-center</alignment> <alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -297,7 +297,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.040</y-m> <y-m>0.040</y-m>
<z-m>0.0295</z-m> <z-m>0.0225</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -320,7 +320,7 @@
<offsets> <offsets>
<x-m>-0.001</x-m> <x-m>-0.001</x-m>
<y-m>0.043</y-m> <y-m>0.043</y-m>
<z-m>0.0255</z-m> <z-m>0.0185</z-m>
</offsets> </offsets>
<alignment>right-center</alignment> <alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment> <axis-alignment>yz-plane</axis-alignment>
@ -339,30 +339,6 @@
</font-resolution> </font-resolution>
</text> </text>
<text>
<name>scratchpad</name>
<offsets>
<x-m>-0.001</x-m>
<y-m>-0.046</y-m>
<z-m>0.0190</z-m>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">%s</format>
<truncate type="bool">false</truncate>
<font type="string">BoeingCDU-Large.ttf</font>
<property>/MCDU[1]/scratchpad</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.006</character-size>
<font-resolution>
<width type="int">64</width>
<height type="int">64</height>
</font-resolution>
</text>
<!-- Colors --> <!-- Colors -->
<!-- White --> <!-- White -->
<animation> <animation>
@ -375,7 +351,6 @@
<object-name>idleperf</object-name> <object-name>idleperf</object-name>
<object-name>software</object-name> <object-name>software</object-name>
<object-name>statusxload</object-name> <object-name>statusxload</object-name>
<object-name>scratchpad</object-name>
<diffuse> <diffuse>
<red>1</red> <red>1</red>
<green>1</green> <green>1</green>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

View file

@ -14,6 +14,15 @@ var MCDU_reset = func {
setprop("/MCDU[0]/scratchpad", ""); setprop("/MCDU[0]/scratchpad", "");
} }
var pagebutton = func(btn) {
if (btn == "init") {
setprop("/MCDU[0]/page", "NONE");
settimer(func {
setprop("/MCDU[0]/page", "INITA");
}, 0.3);
}
}
var button = func(btn) { var button = func(btn) {
var scratchpad = getprop("/MCDU[0]/scratchpad"); var scratchpad = getprop("/MCDU[0]/scratchpad");
if (btn == "A") { if (btn == "A") {
@ -71,9 +80,14 @@ var button = func(btn) {
} else if (btn == "SLASH") { } else if (btn == "SLASH") {
setprop("/MCDU[0]/scratchpad", scratchpad ~ "/"); setprop("/MCDU[0]/scratchpad", scratchpad ~ "/");
} else if (btn == "SP") { } else if (btn == "SP") {
setprop("/MCDU[0]/scratchpad", scratchpad ~ "");
} else if (btn == "CLR") {
setprop("/MCDU[0]/scratchpad", " "); setprop("/MCDU[0]/scratchpad", " ");
} else if (btn == "CLR") {
var scratchpad = getprop("/MCDU[0]/scratchpad");
if (scratchpad == "NOT ALLOWED") {
setprop("/MCDU[0]/scratchpad", "");
} else if (size(scratchpad) > 0) {
setprop("/MCDU[0]/scratchpad", left(scratchpad, size(scratchpad)-1));
}
} else if (btn == "0") { } else if (btn == "0") {
setprop("/MCDU[0]/scratchpad", scratchpad ~ "0"); setprop("/MCDU[0]/scratchpad", scratchpad ~ "0");
} else if (btn == "1") { } else if (btn == "1") {

View file

@ -14,6 +14,15 @@ var MCDU_reset = func {
setprop("/MCDU[1]/scratchpad", ""); setprop("/MCDU[1]/scratchpad", "");
} }
var pagebutton = func(btn) {
if (btn == "init") {
setprop("/MCDU[1]/page", "NONE");
settimer(func {
setprop("/MCDU[1]/page", "INITA");
}, 0.3);
}
}
var button = func(btn) { var button = func(btn) {
var scratchpad = getprop("/MCDU[1]/scratchpad"); var scratchpad = getprop("/MCDU[1]/scratchpad");
if (btn == "A") { if (btn == "A") {
@ -71,9 +80,14 @@ var button = func(btn) {
} else if (btn == "SLASH") { } else if (btn == "SLASH") {
setprop("/MCDU[1]/scratchpad", scratchpad ~ "/"); setprop("/MCDU[1]/scratchpad", scratchpad ~ "/");
} else if (btn == "SP") { } else if (btn == "SP") {
setprop("/MCDU[1]/scratchpad", scratchpad ~ "");
} else if (btn == "CLR") {
setprop("/MCDU[1]/scratchpad", " "); setprop("/MCDU[1]/scratchpad", " ");
} else if (btn == "CLR") {
var scratchpad = getprop("/MCDU[1]/scratchpad");
if (scratchpad == "NOT ALLOWED") {
setprop("/MCDU[0]/scratchpad", "");
} else if (size(scratchpad) > 0) {
setprop("/MCDU[1]/scratchpad", left(scratchpad, size(scratchpad)-1));
}
} else if (btn == "0") { } else if (btn == "0") {
setprop("/MCDU[1]/scratchpad", scratchpad ~ "0"); setprop("/MCDU[1]/scratchpad", scratchpad ~ "0");
} else if (btn == "1") { } else if (btn == "1") {