1
0
Fork 0
fgdata/AI/Aircraft/Buccaneer/Instruments/throttle_panel.xml
2015-03-07 22:11:00 +01:00

630 lines
15 KiB
XML

<?xml version="1.0"?>
<!-- Throttle Panel -->
<PropertyList>
<path>../../../../Aircraft/Buccaneer/Instruments/throttle_panel.ac</path>
<main-panel>
<offsets>
<heading-deg>22.5</heading-deg>
</offsets>
</main-panel>
<model>
<path>AI/Aircraft/Buccaneer/Models/gear-control.xml</path>
<offsets>
<x-m>-0.378263</x-m>>
<y-m>-0.00563818</y-m>
<z-m>0.144669</z-m>
<heading-deg alias="../../../main-panel/offsets/heading-deg"/>
</offsets>
</model>
<model>
<path>AI/Aircraft/Buccaneer/Models/flaps_droop.xml</path>
<offsets>
<x-m>-0.3999</x-m>>
<y-m>0.0460643</y-m>
<z-m>0.144669</z-m>
<heading-deg alias="../../../main-panel/offsets/heading-deg"/>
</offsets>
</model>
<model>
<path>Aircraft/Buccaneer/Instruments/gear.xml</path>
<offsets>
<x-m>-0.3999</x-m>>
<y-m>0.0460643</y-m>
<z-m>0.0730707</z-m>
<heading-deg alias="../../../main-panel/offsets/heading-deg"/>
</offsets>
</model>
<!-- Throttles -->
<animation>
<type>rotate</type>
<object-name>throttle-port</object-name>
<property>/controls/engines/engine[0]/throttle</property>
<offset-deg>-60</offset-deg>
<factor>60</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
<center>
<x-m>-0.251288</x-m>
<y-m>-0.0532531</y-m>
<z-m>-0.135353</z-m>
</center>
</animation>
<animation>
<type>rotate</type>
<object-name>throttle-stbd</object-name>
<property>/controls/engines/engine[1]/throttle</property>
<offset-deg>-60</offset-deg>
<factor>60</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
<center>
<x-m>-0.251288</x-m>
<y-m>0.0196106</y-m>
<z-m>-0.135353</z-m>
</center>
</animation>
<!-- Safety Switch -->
<animation>
<type>translate</type>
<object-name>safety_switch</object-name>
<property>/controls/armament/master-arm</property>
<factor>0.0133</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<!--<animation>
<type>pick</type>
<object-name>safety_switch</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/controls/armament/master-arm</property>
</binding>
</action>
</animation>-->
<!-- PTT -->
<animation>
<type>translate</type>
<object-name>ptt_sw</object-name>
<property>/instrumentation/comm/ptt</property>
<factor>0.005</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
</animation>
<!--<animation>
<type>pick</type>
<object-name>ptt_sw</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/ptt</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/ptt</property>
<value>0</value>
</binding>
</mod-up>
</action>
</animation>-->
<!-- Tailplane Position -->
<animation>
<condition>
<greater-than>
<property>/systems/electrical/outputs/flight-instruments</property>
<value>113</value>
</greater-than>
</condition>
<type>rotate</type>
<object-name>tailplane_pointer</object-name>
<property>/surface-positions/elevator-pos-norm</property>
<interpolation>
<entry>
<ind>-1</ind>
<dep>130</dep>
</entry>
<entry>
<ind>0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1</ind>
<dep>-50</dep>
</entry>
</interpolation>
<axis>
<x1-m>-0.351192</x1-m>
<y1-m>0.0500194</y1-m>
<z1-m>0.0297126</z1-m>
<x2-m>-0.34964</x2-m>
<y2-m>0.0507147</y2-m>
<z2-m>0.0395669</z2-m>
</axis>
<center>
<x-m>-0.34964</x-m>
<y-m>0.0507228</y-m>
<z-m>0.0397182</z-m>
</center>
</animation>
<!-- Rudder Trim -->
<animation>
<condition>
<greater-than>
<property>/systems/electrical/outputs/flight-instruments</property>
<value>113</value>
</greater-than>
</condition>
<type>rotate</type>
<object-name>rudder_trim_needle</object-name>
<property>/controls/flight/rudder-trim</property>
<factor>15</factor>
<axis>
<x>0</x>
<y>0</y>
<z>1</z>
</axis>
<center>
<x-m>-0.283963</x-m>
<y-m>0.0752269</y-m>
<z-m>0.0395579</z-m>
</center>
</animation>
<!-- Aileron Trim -->
<animation>
<condition>
<greater-than>
<property>/systems/electrical/outputs/flight-instruments</property>
<value>113</value>
</greater-than>
</condition>
<type>rotate</type>
<object-name>aileron_trim_needle</object-name>
<property>/controls/flight/aileron-trim</property>
<factor>30</factor>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
<center>
<x-m>-0.241439</x-m>
<y-m>0.0634707</y-m>
<z-m>0.0371343</z-m>
</center>
</animation>
<!-- Bomb Door Pos -->
<animation>
<type>select</type>
<object-name>blind-off</object-name>
<condition>
<less-than>
<property>/systems/electrical/outputs/flight-instruments</property>
<value>113</value>
</less-than>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>blind1</object-name>
<property>/sim/model/buccaneer/armament/bomb-door-pos</property>
<interpolation>
<entry>
<ind>0</ind>
<dep>-120</dep>
</entry>
<entry>
<ind>0.01</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1</ind>
<dep>120</dep>
</entry>
</interpolation>
<axis>
<x1-m>-0.208352</x1-m>
<y1-m>0.0592931</y1-m>
<z1-m>0.0217115</z1-m>
<x2-m>-0.193009</x2-m>
<y2-m>0.0592931</y2-m>
<z2-m>0.0145571</z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>blind2</object-name>
<property>/sim/model/buccaneer/armament/bomb-door-pos</property>
<interpolation>
<entry>
<ind>0</ind>
<dep>-120</dep>
</entry>
<entry>
<ind>0.01</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1</ind>
<dep>120</dep>
</entry>
</interpolation>
<axis>
<x1-m>-0.208352</x1-m>
<y1-m>0.063517</y1-m>
<z1-m>0.0217115</z1-m>
<x2-m>-0.193009</x2-m>
<y2-m>0.063517</y2-m>
<z2-m>0.0145571</z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>blind3</object-name>
<property>/sim/model/buccaneer/armament/bomb-door-pos</property>
<interpolation>
<entry>
<ind>0</ind>
<dep>-120</dep>
</entry>
<entry>
<ind>0.01</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1</ind>
<dep>120</dep>
</entry>
</interpolation>
<axis>
<x1-m>-0.208352</x1-m>
<y1-m>0.0677583</y1-m>
<z1-m>0.0217115</z1-m>
<x2-m>-0.193009</x2-m>
<y2-m>0.0677583</y2-m>
<z2-m>0.0145571</z2-m>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>blind4</object-name>
<property>/sim/model/buccaneer/armament/bomb-door-pos</property>
<interpolation>
<entry>
<ind>0</ind>
<dep>-120</dep>
</entry>
<entry>
<ind>0.01</ind>
<dep>0</dep>
</entry>
<entry>
<ind>1</ind>
<dep>120</dep>
</entry>
</interpolation>
<axis>
<x1-m>-0.208352</x1-m>
<y1-m>0.0720219</y1-m>
<z1-m>0.0217115</z1-m>
<x2-m>-0.193009</x2-m>
<y2-m>0.0720219</y2-m>
<z2-m>0.0145571</z2-m>
</axis>
</animation>
<!-- Auto Pilot Engage -->
<animation>
<type>pick</type>
<object-name>ap_engage_button</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<greater-than>
<property>/sim/model/buccaneer/controls/autopilot-selector</property>
<value>0</value>
</greater-than>
</condition>
<command>property-assign</command>
<property>/controls/autoflight/autopilot/engage</property>
<value type="bool">1</value>
</binding>
<binding>
<condition>
<equals>
<property>/sim/model/buccaneer/controls/autopilot-selector</property>
<value>1</value>
</equals>
</condition>
<command>property-assign</command>
<property>/autopilot/locks/altitude</property>
<value type="string">mach-climb</value>
</binding>
<binding>
<condition>
<equals>
<property>/sim/model/buccaneer/controls/autopilot-selector</property>
<value>1</value>
</equals>
</condition>
<command>property-assign</command>
<property>/autopilot/settings/target-mach</property>
<property>/velocities/mach</property>
</binding>
<binding>
<condition>
<equals>
<property>/sim/model/buccaneer/controls/autopilot-selector</property>
<value>2</value>
</equals>
</condition>
<command>property-assign</command>
<property>/autopilot/locks/altitude</property>
<value>altitude-hold-baro</value>
</binding>
<binding>
<condition>
<equals>
<property>/sim/model/buccaneer/controls/autopilot-selector</property>
<value>2</value>
</equals>
</condition>
<command>property-assign</command>
<property>/autopilot/settings/target-altitude-ft</property>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
</binding>
<binding>
<condition>
<equals>
<property>/sim/model/buccaneer/controls/autopilot-selector</property>
<value>3</value>
</equals>
</condition>
<command>property-assign</command>
<property>/autopilot/locks/altitude</property>
<value>altitude-hold-radio</value>
</binding>
<binding>
<condition>
<equals>
<property>/sim/model/buccaneer/controls/autopilot-selector</property>
<value>3</value>
</equals>
</condition>
<command>property-assign</command>
<property>/autopilot/settings/target-agl-ft</property>
<property>/instrumentation/radar-altimeter/radar-altitude-ft</property>
</binding>
</action>
</animation>
<!-- AP Up/Down -->
<animation>
<type>rotate</type>
<object-name>ap_up_down_sw</object-name>
<property>/sim/model/buccaneer/controls/ap_up_down_sw</property>
<offset-deg>0</offset-deg>
<factor>30</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
<center>
<x-m>-0.119213</x-m>
<y-m>0.0767524</y-m>
<z-m>-0.0668141</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>ap_down</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/target-altitude-ft</property>
<step>-25</step>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/model/buccaneer/controls/ap_up_down_sw</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/sim/model/buccaneer/controls/ap_up_down_sw</property>
<value>0</value>
</binding>
</mod-up>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>ap_up</object-name>
<visible>false</visible>
<action>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/target-altitude-ft</property>
<step>25</step>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/model/buccaneer/controls/ap_up_down_sw</property>
<value>-1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/sim/model/buccaneer/controls/ap_up_down_sw</property>
<value>0</value>
</binding>
</mod-up>
</action>
</animation>
<!-- AP Heading Select -->
<animation>
<type>rotate</type>
<object-name>ap_heading_sw</object-name>
<property>/sim/model/buccaneer/controls/ap-heading-select</property>
<offset-deg>0</offset-deg>
<factor>60</factor>
<axis>
<x>0</x>
<y>-1</y>
<z>0</z>
</axis>
<center>
<x-m>-0.113114</x-m>
<y-m>0.0540666</y-m>
<z-m>-0.0659022</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>ap_heading_sw</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<condition>
<property>/controls/autoflight/autopilot/engage</property>
</condition>
<command>property-cycle</command>
<property>/autopilot/locks/heading</property>
<value>dg-heading-hold</value>
<value></value>
</binding>
<binding>
<command>property-cycle</command>
<property>/sim/model/buccaneer/controls/ap-heading-select</property>
<value>1</value>
<value>0</value>
</binding>
<binding>
<command>property-cycle</command>
<property>/controls/flight/aileron-autostab</property>
<value></value>
<value>0</value>
</binding>
<binding>
<condition>
<property>/controls/autoflight/autopilot/engage</property>
</condition>
<command>property-cycle</command>
<prop>/autopilot/locks/roll-stab</prop>
<value>roll-stab-high-speed</value>
<value></value>
</binding>
</action>
</animation>
<!-- Bomb Door -->
<animation>
<type>rotate</type>
<object-name>bomb_bay_sw-lever</object-name>
<property>/controls/armament/bomb-door-open</property>
<offset-deg>0</offset-deg>
<factor>60</factor>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
<center>
<x-m>-0.0883899</x-m>
<y-m>0.0397237</y-m>
<z-m>-0.126655</z-m>
</center>
</animation>
<animation>
<type>pick</type>
<object-name>bomb_bay_sw-lever</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/controls/armament/bomb-door-open</property>
</binding>
</action>
</animation>
<!-- Panel Lighting -->
<animation>
<type>material</type>
<object-name>panel-lighting-group</object-name>
<emission>
<factor-prop>/systems/electrical/outputs/panel-floodlighting</factor-prop>
<red>0.03125</red>
<green>0.0089</green>
<blue>0.0089</blue>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>lighting-group</object-name>
<emission>
<factor-prop>/systems/electrical/outputs/instrument-lighting</factor-prop>
<red>0.03125</red>
<green>0.0089</green>
<blue>0.0089</blue>
</emission>
</animation>
<!-- Noshadow -->
<animation>
<type>noshadow</type>
</animation>
<!-- *** LoD *** -->
<animation>
<type>range</type>
<min-m>0</min-m>
<max-m>5</max-m>
</animation>
</PropertyList>