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/Pedestal_up/Pedestal_up.xml
2019-07-26 16:27:16 +01:00

508 lines
13 KiB
XML

<?xml version="1.0"?>
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
<PropertyList>
<path>res/Pedestal_up.ac</path>
<animation>
<name>Panel lighting</name>
<type>material</type>
<object-name>atc_0</object-name>
<object-name>atc_1</object-name>
<object-name>atc_2</object-name>
<object-name>atc_3</object-name>
<object-name>atc_4</object-name>
<object-name>atc_5</object-name>
<object-name>atc_6</object-name>
<object-name>atc_7</object-name>
<object-name>atc_abv</object-name>
<object-name>atc_body</object-name>
<object-name>atc_clr</object-name>
<object-name>atc_fail</object-name>
<object-name>atc_ident</object-name>
<object-name>atc_screen</object-name>
<object-name>atc_stby</object-name>
<object-name>atc_sys</object-name>
<object-name>atc_thrt</object-name>
<object-name>ecam_body</object-name>
<object-name>ecam_switch_body</object-name>
<object-name>engine_body</object-name>
<object-name>radar_body</object-name>
<object-name>vu111_body</object-name>
<object-name>vu112_body</object-name>
<object-name>throttle_1</object-name>
<object-name>throttle_1_label</object-name>
<object-name>dummy_1</object-name>
<object-name>dummy_2</object-name>
<object-name>Lcutoff</object-name>
<object-name>Rcutoff</object-name>
<object-name>eng_mode</object-name>
<object-name>radar_gain</object-name>
<object-name>radar_tilt</object-name>
<object-name>radar_mode</object-name>
<object-name>radar_gain</object-name>
<object-name>radio_rot1</object-name>
<object-name>vu112_aids</object-name>
<object-name>vu112_dfdr</object-name>
<emission>
<red>0.3</red>
<green>0.3</green>
<blue>0.3</blue>
<factor-prop>sim/model/lights/dome-light</factor-prop>
</emission>
</animation>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood-upper</inherits-from>
<object-name>throttle_1</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood-atc</inherits-from>
<object-name>atc_glare</object-name>
<object-name>atc_body</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood-engine</inherits-from>
<object-name>engine_body</object-name>
<object-name>engine_glare</object-name>
<object-name>eng_mode</object-name>
<object-name>Lcutoff</object-name>
<object-name>Rcutoff</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/brightness-panel-ped</inherits-from>
<object-name>vu111_body</object-name>
<object-name>vu112_body</object-name>
<object-name>vu111_glare</object-name>
<object-name>vu112_glare</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/dummy-gap</inherits-from>
<object-name>dummy_1</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/pedestal-flood-radar</inherits-from>
<object-name>radar_mode</object-name>
<object-name>radar_tilt</object-name>
<object-name>radar_body</object-name>
<object-name>radar_glare</object-name>
</effect>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/cockpit-irradiance</inherits-from>
<object-name>ecam_body</object-name>
<object-name>ecam_switch_body</object-name>
<object-name>vu111_body</object-name>
<object-name>vu112_body</object-name>
<object-name>vu111_glare</object-name>
<object-name>vu112_glare</object-name>
<object-name>throttle_1_label</object-name>
<object-name>dummy_2</object-name>
<object-name>ecam_glare_down</object-name>
<object-name>ecam_glare_up</object-name>
<object-name>ecam_att_hdg</object-name>
<object-name>ecam_air_data</object-name>
<object-name>ecam_eis_dmc</object-name>
<object-name>ecam_nd_xfr</object-name>
<object-name>ecam_brt_upper</object-name>
<object-name>ecam_brt_lower</object-name>
<object-name>flood_lt_main</object-name>
<object-name>integ_lt</object-name>
<object-name>flood_lt_ped</object-name>
<object-name>radar_gain</object-name>
<object-name>ecam_emer_canc_lit</object-name>
<object-name>vu112_aids</object-name>
<object-name>vu112_dfdr</object-name>
</effect>
<animation>
<type>select</type>
<object-name>engine_fire_1</object-name>
<condition>
<property>systems/fire/engine1/warning-active</property>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>engine_fire_1</object-name>
<condition>
<property>systems/fire/engine1/warning-active</property>
</condition>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
</emission>
</animation>
<animation>
<type>select</type>
<object-name>engine_fault_1</object-name>
<condition>
<property>systems/unused/unused-ped</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>engine_fire_1</object-name>
<condition>
<property>systems/fire/engine1/warning-active</property>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>engine_fire_1</object-name>
<condition>
<property>systems/fire/engine1/warning-active</property>
</condition>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
</emission>
</animation>
<animation>
<type>select</type>
<object-name>engine_fault_2</object-name>
<condition>
<property>systems/unused/unused-ped</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>engine_fire_2</object-name>
<condition>
<property>systems/fire/engine2/warning-active</property>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>engine_fire_2</object-name>
<condition>
<property>systems/fire/engine2/warning-active</property>
</condition>
<emission>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
</emission>
</animation>
<effect>
<inherits-from>Aircraft/IDG-A32X/Models/Effects/cockpit-irradiance</inherits-from>
<object-name>atc_0</object-name>
<object-name>atc_1</object-name>
<object-name>atc_2</object-name>
<object-name>atc_3</object-name>
<object-name>atc_4</object-name>
<object-name>atc_5</object-name>
<object-name>atc_6</object-name>
<object-name>atc_7</object-name>
<object-name>atc_abv</object-name>
<object-name>atc_body</object-name>
<object-name>atc_clr</object-name>
<object-name>atc_fail</object-name>
<object-name>atc_ident</object-name>
<object-name>atc_screen</object-name>
<object-name>atc_stby</object-name>
<object-name>atc_sys</object-name>
<object-name>atc_thrt</object-name>
</effect>
<text>
<name>atc-code</name>
<offsets>
<x-m>-0.01279</x-m>
<y-m>0.20</y-m>
<z-m>-0.13325</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">text-value</type>
<property type="string">/systems/atc/transponder-code</property>
<format>%s</format>
<truncate type="bool">false</truncate>
<font type="string">led.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.009</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>atc-test</name>
<offsets>
<x-m>-0.01279</x-m>
<y-m>0.20</y-m>
<z-m>-0.13325</z-m>
<heading-deg>90</heading-deg>
</offsets>
<alignment>left-center</alignment>
<axis-alignment>xy-plane</axis-alignment>
<type type="string">literal</type>
<text type="string">8888</text>
<font type="string">led.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.009</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<animation>
<type>pick</type>
<object-name>atc_0</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.keypad(0);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>atc_1</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.keypad(1);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>atc_2</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.keypad(2);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>atc_3</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.keypad(3);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>atc_4</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.keypad(4);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>atc_5</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.keypad(5);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>atc_6</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.keypad(6);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>atc_7</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.keypad(7);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>atc_clr</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.clearKey();</script>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>atc_sys</object-name>
<factor>-30</factor>
<offset-deg>30</offset-deg>
<center>
<x-m>-0.003352</x-m>
<y-m>0.131446</y-m>
<z-m>-0.13275</z-m>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
<property>controls/atc/system-knob</property>
</animation>
<animation>
<type>pick</type>
<object-name>atc_sys</object-name>
<action>
<button>0</button>
<binding>
<command>property-cycle</command>
<property>controls/atc/system-knob</property>
<value>0</value>
<value>1</value>
</binding>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.atcSwitch(getprop("/controls/atc/system-knob") + 1);</script>
</binding>
</action>
</animation>
<animation>
<type>rotate</type>
<object-name>atc_stby</object-name>
<factor>-35</factor>
<offset-deg>70</offset-deg>
<center>
<x-m>0.01146</x-m>
<y-m>0.213663</y-m>
<z-m>-0.13086</z-m>
</center>
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
<property>controls/atc/mode-knob</property>
</animation>
<animation>
<type>pick</type>
<object-name>atc_stby</object-name>
<action>
<button>0</button>
<button>3</button>
<binding>
<command>property-cycle</command>
<property>controls/atc/mode-knob</property>
<value>0</value>
<value>1</value>
<value>2</value>
<value>3</value>
<value>4</value>
</binding>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.modeSwitch(getprop("/controls/atc/mode-knob") + 1);</script>
</binding>
</action>
<action>
<button>1</button>
<button>4</button>
<binding>
<command>property-cycle</command>
<property>controls/atc/mode-knob</property>
<value>4</value>
<value>3</value>
<value>2</value>
<value>1</value>
<value>0</value>
</binding>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.modeSwitch(getprop("/controls/atc/mode-knob") + 1);</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>atc_ident</object-name>
<action>
<button>0</button>
<binding>
<command>nasal</command>
<script>atc.transponderPanel.identSwitch();</script>
</binding>
</action>
</animation>
<animation>
<type>select</type>
<object-name>atc_fail</object-name>
<condition>
<and>
<property>systems/atc/failed</property>
<greater-than>
<property>systems/electrical/bus/dc-ess</property>
<value>25</value>
</greater-than>
</and>
</condition>
</animation>
</PropertyList>