172 lines
4.2 KiB
XML
172 lines
4.2 KiB
XML
|
<?xml version="1.0"?>
|
||
|
|
||
|
<PropertyList>
|
||
|
|
||
|
<path>confirm.ac</path>
|
||
|
|
||
|
<!-- mCDU Display Brightness -->
|
||
|
|
||
|
<animation>
|
||
|
<type>material</type>
|
||
|
<object-name>departure</object-name>
|
||
|
<emission>
|
||
|
<red>1</red>
|
||
|
<green>1</green>
|
||
|
<blue>1</blue>
|
||
|
<factor-prop>/instrumentation/mcdu/brt</factor-prop>
|
||
|
</emission>
|
||
|
</animation>
|
||
|
|
||
|
<animation>
|
||
|
<type>material</type>
|
||
|
<object-name>text-yellow</object-name>
|
||
|
<emission>
|
||
|
<red>1</red>
|
||
|
<green>1</green>
|
||
|
<blue>0</blue>
|
||
|
<factor-prop>/instrumentation/mcdu/brt</factor-prop>
|
||
|
</emission>
|
||
|
<diffuse>
|
||
|
<red>1</red>
|
||
|
<green>1</green>
|
||
|
<blue>0</blue>
|
||
|
</diffuse>
|
||
|
</animation>
|
||
|
|
||
|
<animation>
|
||
|
<type>material</type>
|
||
|
<object-name>text-green</object-name>
|
||
|
<emission>
|
||
|
<red>0</red>
|
||
|
<green>0.4823</green>
|
||
|
<blue>0.5372</blue>
|
||
|
<factor-prop>/instrumentation/mcdu/brt</factor-prop>
|
||
|
</emission>
|
||
|
<diffuse>
|
||
|
<red>0</red>
|
||
|
<green>0.4823</green>
|
||
|
<blue>0.5372</blue>
|
||
|
</diffuse>
|
||
|
</animation>
|
||
|
|
||
|
<!-- Button Pick Animations -->
|
||
|
|
||
|
<animation>
|
||
|
<type>pick</type>
|
||
|
<object-name>l6</object-name>
|
||
|
<action>
|
||
|
<button>0</button>
|
||
|
<repeatable type="bool">false</repeatable>
|
||
|
<binding>
|
||
|
<command>nasal</command>
|
||
|
<script>
|
||
|
|
||
|
# ERASE star (by restarting this selection process)
|
||
|
|
||
|
mcdu.star.select_arpt(getprop("/instrumentation/mcdu/f-pln/disp/destination"));
|
||
|
|
||
|
setprop(dep~ "active-star/name", "------");
|
||
|
|
||
|
</script>
|
||
|
</binding>
|
||
|
</action>
|
||
|
</animation>
|
||
|
|
||
|
<animation>
|
||
|
<type>pick</type>
|
||
|
<object-name>r6</object-name>
|
||
|
<action>
|
||
|
<button>0</button>
|
||
|
<repeatable type="bool">false</repeatable>
|
||
|
<binding>
|
||
|
<command>nasal</command>
|
||
|
<script>
|
||
|
|
||
|
# INSERT star
|
||
|
|
||
|
mcdu.star.confirm_star(getprop("/flight-management/procedures/star/star-index"));
|
||
|
|
||
|
</script>
|
||
|
</binding>
|
||
|
</action>
|
||
|
</animation>
|
||
|
|
||
|
<!-- OSGText for non-empty fields -->
|
||
|
|
||
|
<text>
|
||
|
<name>text-green</name>
|
||
|
<offsets>
|
||
|
<x-m>-0.08</x-m>
|
||
|
<y-m>0.0140</y-m>
|
||
|
<z-m>-0.0006</z-m>
|
||
|
<heading-deg>90</heading-deg>
|
||
|
</offsets>
|
||
|
<alignment>left-center</alignment>
|
||
|
<axis-alignment>xy-plane</axis-alignment>
|
||
|
<type type="string">text-value</type>
|
||
|
<format type="string">%s</format>
|
||
|
<property>autopilot/route-manager/departure/airport</property>
|
||
|
<truncate type="bool">false</truncate>
|
||
|
<font type="string">courier-bold.txf</font>
|
||
|
<draw-text type="bool">true</draw-text>
|
||
|
<draw-alignment type="bool">false</draw-alignment>
|
||
|
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||
|
<character-size>0.004</character-size>
|
||
|
<font-resolution>
|
||
|
<width type="int">32</width>
|
||
|
<height type="int">32</height>
|
||
|
</font-resolution>
|
||
|
</text>
|
||
|
|
||
|
<text>
|
||
|
<name>text-yellow</name>
|
||
|
<offsets>
|
||
|
<x-m>-0.0702</x-m>
|
||
|
<y-m>-0.0438</y-m>
|
||
|
<z-m>-0.0006</z-m>
|
||
|
<heading-deg>90</heading-deg>
|
||
|
</offsets>
|
||
|
<alignment>left-center</alignment>
|
||
|
<axis-alignment>xy-plane</axis-alignment>
|
||
|
<type type="string">text-value</type>
|
||
|
<format type="string">%s</format>
|
||
|
<property>flight-management/procedures/star/selected-rwy</property>
|
||
|
<truncate type="bool">false</truncate>
|
||
|
<font type="string">courier-bold.txf</font>
|
||
|
<draw-text type="bool">true</draw-text>
|
||
|
<draw-alignment type="bool">false</draw-alignment>
|
||
|
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||
|
<character-size>0.003</character-size>
|
||
|
<font-resolution>
|
||
|
<width type="int">32</width>
|
||
|
<height type="int">32</height>
|
||
|
</font-resolution>
|
||
|
</text>
|
||
|
|
||
|
<text>
|
||
|
<name>text-yellow</name>
|
||
|
<offsets>
|
||
|
<x-m>-0.0702</x-m>
|
||
|
<y-m>-0.0030</y-m>
|
||
|
<z-m>-0.0006</z-m>
|
||
|
<heading-deg>90</heading-deg>
|
||
|
</offsets>
|
||
|
<alignment>center-center</alignment>
|
||
|
<axis-alignment>xy-plane</axis-alignment>
|
||
|
<type type="string">text-value</type>
|
||
|
<format type="string">%s</format>
|
||
|
<property>flight-management/procedures/star/selected-star</property>
|
||
|
<truncate type="bool">false</truncate>
|
||
|
<font type="string">courier-bold.txf</font>
|
||
|
<draw-text type="bool">true</draw-text>
|
||
|
<draw-alignment type="bool">false</draw-alignment>
|
||
|
<draw-boundingbox type="bool">false</draw-boundingbox>
|
||
|
<character-size>0.003</character-size>
|
||
|
<font-resolution>
|
||
|
<width type="int">32</width>
|
||
|
<height type="int">32</height>
|
||
|
</font-resolution>
|
||
|
</text>
|
||
|
|
||
|
</PropertyList>
|