This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Models/Instruments/mCDU/data/data2.xml

137 lines
3.5 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<path>data2.ac</path>
<!-- mCDU Display Brightness -->
<animation>
<type>material</type>
<object-name>data_2</object-name>
<emission>
<red>1</red>
<green>1</green>
<blue>1</blue>
<factor-prop>/instrumentation/mcdu/brt</factor-prop>
</emission>
</animation>
<!-- Button Pick Animations -->
<!-- animation>
<type>pick</type>
<object-name>l1</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
setprop("/instrumentation/mcdu/page", "WAYPOINTS");
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>l2</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
setprop("/instrumentation/mcdu/page", "NAVAIDS");
</script>
</binding>
</action>
</animation-->
<animation>
<type>pick</type>
<object-name>l3</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
var ident = getprop("/instrumentation/mcdu/runways/ident");
if(ident == nil)
setprop("/instrumentation/mcdu/runways/ident",'------');
setprop('/instrumentation/mcdu/texts/ident', 'IDENT');
setprop('/instrumentation/mcdu/texts/latlng', 'LAT/LON');
setprop('/instrumentation/mcdu/texts/length', 'LENGTH');
setprop('/instrumentation/mcdu/texts/ils-crs', 'CRS');
setprop('/instrumentation/mcdu/texts/ils-frq', 'ILS FREQ');
setprop("/instrumentation/mcdu/page", "RUNWAYS");
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>l4</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
setprop("/instrumentation/mcdu/page", "f-pln");
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>l5</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
setprop("/instrumentation/mcdu/page", "f-pln2");
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>l6</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
setprop("/instrumentation/mcdu/page", "wind");
</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>l_arrow</object-name>
<object-name>r_arrow</object-name>
<action>
<button>0</button>
<repeatable type="bool">false</repeatable>
<binding>
<command>nasal</command>
<script>
setprop("/instrumentation/mcdu/page", "data1");
</script>
</binding>
</action>
</animation>
</PropertyList>