789560ea22
I've finished the emigration of the radiostack, and I've also removed it completely. It turned out that the comm radio is completely implemented in the ATC subsystem. I've changed the affected ATC files to point to /instrumentation/com, but I guess that the maintainer of the ATC code should decide wether to make it configureable, and how. I also had to change some files in Network and Main. The changes in network should be obvious, but the changes in Main were a bit suspect. The files included radiostack.hxx, but they weren't directly depending on radiostack-hxx. They were depending on other files that were included by radiostack.hxx. I got it to compile, but I'm not sure if I included the correct directly depending file. For the data directory I changed every occurrence of /radios/ with /instrumentation/ with this simple one-liner that I found on the net: find -name '*.xml' -type f | xargs perl -pi -e 's/\/radios\//\/instrumentation\//g' Instead of me sending all the files that got changed by this I suggest that you execute the one-liner yourself. Of course I can not guarantee that this will work perfectly, but I considered hand editing to be not an option (I'm lazy). I don't want to test every aircraft to see if everything still works, I think it's better to wait and see if anyone complaints about broken nav radios/instruments.
678 lines
14 KiB
XML
678 lines
14 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
Legacy 2D instruments and actions for the 3D C172P cockpit.
|
|
-->
|
|
|
|
<!DOCTYPE PropertyList>
|
|
|
|
<PropertyList>
|
|
|
|
<name>C172P 2D instruments.</name>
|
|
<background>Aircraft/c172/Panels/Textures/transparent-bg.rgb</background>
|
|
<w>1424</w>
|
|
<h>488</h>
|
|
<view-height>500</view-height>
|
|
|
|
<instruments>
|
|
|
|
<!-- labels -->
|
|
<instrument include="/labels/labelbcn.xml">
|
|
<name>labelbcn</name>
|
|
<x>495</x>
|
|
<y>-253</y>
|
|
<w>28</w>
|
|
<h>26</h>
|
|
</instrument>
|
|
|
|
<!-- labels -->
|
|
<instrument include="/labels/labelnav.xml">
|
|
<name>labelnav</name>
|
|
<x>458</x>
|
|
<y>-252</y>
|
|
<w>28</w>
|
|
<h>26</h>
|
|
</instrument>
|
|
|
|
<!-- labels -->
|
|
<instrument include="/labels/labelpto.xml">
|
|
<name>labelpto</name>
|
|
<x>422</x>
|
|
<y>-253</y>
|
|
<w>28</w>
|
|
<h>26</h>
|
|
</instrument>
|
|
|
|
<!-- labels -->
|
|
<instrument include="/labels/labelsto.xml">
|
|
<name>labelsto</name>
|
|
<x>525</x>
|
|
<y>-253</y>
|
|
<w>28</w>
|
|
<h>26</h>
|
|
</instrument>
|
|
|
|
<!-- labels -->
|
|
<instrument include="/labels/labeltax.xml">
|
|
<name>labeltax</name>
|
|
<x>495</x>
|
|
<y>-187</y>
|
|
<w>28</w>
|
|
<h>26</h>
|
|
</instrument>
|
|
|
|
<!-- labels -->
|
|
<instrument include="/labels/labellng.xml">
|
|
<name>labellng</name>
|
|
<x>525</x>
|
|
<y>-187</y>
|
|
<w>28</w>
|
|
<h>26</h>
|
|
</instrument>
|
|
|
|
<!-- engine gauge cluster -->
|
|
<instrument include="../../Instruments/clock.xml">
|
|
<name>Chronometer</name>
|
|
<x>177</x>
|
|
<y>216</y>
|
|
<w>74</w>
|
|
<h>74</h>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/egt.xml">
|
|
<name>Exhaust Gas Temperature Gauge</name>
|
|
<x>177</x>
|
|
<y>142</y>
|
|
<w>74</w>
|
|
<h>74</h>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/fuel.xml">
|
|
<name>Fuel Gauge</name>
|
|
<x>100</x>
|
|
<y>142</y>
|
|
<w>74</w>
|
|
<h>74</h>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/oil.xml">
|
|
<name>Oil Gauge</name>
|
|
<x>100</x>
|
|
<y>65</y>
|
|
<w>74</w>
|
|
<h>74</h>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/vacamp.xml">
|
|
<name>Vacuum Pressure Gauge</name>
|
|
<x>177</x>
|
|
<y>65</y>
|
|
<w>74</w>
|
|
<h>74</h>
|
|
</instrument>
|
|
|
|
<!-- end engine gauges cluster -->
|
|
|
|
<!-- engine controls cluster -->
|
|
|
|
<instrument include="../../Instruments/rpm.xml">
|
|
<name>RPM Gauge</name>c172p-2d-panel.xml
|
|
<x>542</x>
|
|
<y>-31</y>
|
|
<w>120</w>
|
|
<h>120</h>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/single-magneto-switch.xml">
|
|
<name>Magneto switch panel</name>
|
|
<x>120</x>
|
|
<y>-180</y>
|
|
</instrument>
|
|
|
|
<!-- end engine controls cluster -->
|
|
|
|
<!-- sacred six -->
|
|
|
|
<instrument include="../../Instruments/asi-160-knot.xml">
|
|
<name>Airspeed Indicator</name>
|
|
<x>279</x>
|
|
<y>235</y>
|
|
<w>128</w>
|
|
<h>128</h>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/attitude-indicator.xml">
|
|
<name>Attitude Gyro</name>
|
|
<x>412</x>
|
|
<y>235</y>
|
|
<w>128</w>
|
|
<h>128</h>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/altimeter.xml">
|
|
<name>Altimeter</name>
|
|
<x>542</x>
|
|
<y>235</y>
|
|
<w>120</w>
|
|
<h>120</h>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/turn.xml">
|
|
<name>Turn Coordinator</name>
|
|
<x>279</x>
|
|
<y>102</y>
|
|
<w>120</w>
|
|
<h>120</h>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/gyro.xml">
|
|
<name>Directional Gyro</name>
|
|
<x>412</x>
|
|
<y>102</y>
|
|
<w>120</w>
|
|
<h>120</h>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/vertical.xml">
|
|
<name>Vertical Velocity Indicator</name>
|
|
<x>542</x>
|
|
<y>102</y>
|
|
<w>120</w>
|
|
<h>120</h>
|
|
</instrument>
|
|
|
|
<!-- end sacred six -->
|
|
|
|
<!-- radio nav instruments -->
|
|
<instrument include="../../Instruments/nav1.xml">
|
|
<name>VOR 1 Gauge</name>
|
|
<x>675</x>
|
|
<y>235</y>
|
|
<w>120</w>
|
|
<h>120</h>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/nav1.xml">
|
|
<name>VOR 2 Gauge</name>
|
|
<params>
|
|
<nav-to-flag>/instrumentation/nav[1]/to-flag</nav-to-flag>
|
|
<nav-from-flag>/instrumentation/nav[1]/from-flag</nav-from-flag>
|
|
<nav-radial-selected>/instrumentation/nav[1]/radials/selected-deg</nav-radial-selected>
|
|
<nav-gs-needle-deflection>/instrumentation/nav[1]/gs-needle-deflection</nav-gs-needle-deflection>
|
|
<nav-heading-needle-deflection>/instrumentation/nav[1]/heading-needle-deflection</nav-heading-needle-deflection>
|
|
<nav-has-gs-needle>/sim/instrument-options/nav[1]/has-gs-needle</nav-has-gs-needle>
|
|
<nav-needles-pivot>/sim/instrument-options/nav[1]/needles-pivot</nav-needles-pivot>
|
|
</params>
|
|
<x>675</x>
|
|
<y>102</y>
|
|
<w>120</w>
|
|
<h>120</h>
|
|
</instrument>
|
|
<instrument include="../../Instruments/adf.xml">
|
|
<name>ADF Gauge</name>
|
|
<x>675</x>
|
|
<y>-31</y>
|
|
<w>120</w>
|
|
<h>120</h>
|
|
</instrument>
|
|
|
|
|
|
<!-- end radio nav instruments -->
|
|
|
|
|
|
<!-- radio stack -->
|
|
|
|
<instrument include="../../Instruments/markerbeacon.xml">
|
|
<name>Marker Beacon Indicators</name>
|
|
<x>786</x>
|
|
<y>261</y>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/navcom-radio.xml">
|
|
<name>NavCom 1 Radio</name>
|
|
<x>880</x>
|
|
<y>215</y>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/navcom-radio.xml">
|
|
<name>NavCom 2 Radio</name>
|
|
<params>
|
|
<comm-freq-selected-prop>/instrumentation/comm[1]/frequencies/selected-mhz</comm-freq-selected-prop>
|
|
<comm-freq-standby-prop>/instrumentation/comm[1]/frequencies/standby-mhz</comm-freq-standby-prop>
|
|
<nav-freq-selected-prop>/instrumentation/nav[1]/frequencies/selected-mhz</nav-freq-selected-prop>
|
|
<nav-freq-standby-prop>/instrumentation/nav[1]/frequencies/standby-mhz</nav-freq-standby-prop>
|
|
<nav-morse-id-volume-prop>/instrumentation/nav[1]/volume</nav-morse-id-volume-prop>
|
|
<nav-morse-ident-toggle-prop>/instrumentation/nav[1]/ident</nav-morse-ident-toggle-prop>
|
|
</params>
|
|
<x>880</x>
|
|
<y>150</y>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/adf-radio.xml">
|
|
<name>ADF Radio</name>
|
|
<x>880</x>
|
|
<y>85</y>
|
|
</instrument>
|
|
|
|
<instrument include="../../Instruments/dme.xml">
|
|
<name>DME</name>
|
|
<x>880</x>
|
|
<y>-50</y>
|
|
</instrument>
|
|
|
|
<!--
|
|
<instrument include="../../Instruments/autopilot.xml">
|
|
<name>Autopilot</name>
|
|
<x>880</x>
|
|
<y>-20</y>
|
|
</instrument>
|
|
-->
|
|
<instrument include="../../Instruments/KAP140TwoAxisAlt.xml">
|
|
<name>KAP140 Autopilot</name>
|
|
<x>880</x>
|
|
<y>20</y>
|
|
<w>256</w>
|
|
<h>64</h>
|
|
</instrument>
|
|
|
|
<!-- end radio stack -->
|
|
|
|
<instrument>
|
|
<name>3D Action Placeholder</name>
|
|
<x>712</x>
|
|
<y>0</y>
|
|
<w>1424</w>
|
|
<h>1488</h>
|
|
<w-base>1424</w-base>
|
|
<h-base>1488</h-base>
|
|
|
|
<layers>
|
|
<layer>
|
|
<name>background</name>
|
|
<texture>
|
|
<path>Aircraft/c172/Panels/Textures/transparent-bg.rgb</path>
|
|
<x1>0.0</x1>
|
|
<y1>0.0</y1>
|
|
<x2>1.0</x2>
|
|
<y2>1.0</y2>
|
|
</texture>
|
|
</layer>
|
|
<layer>
|
|
<name>background</name>
|
|
<texture>
|
|
<path>Aircraft/c172/Panels/Textures/transparent-bg.rgb</path>
|
|
<x1>0.0</x1>
|
|
<y1>0.0</y1>
|
|
<x2>1.0</x2>
|
|
<y2>1.0</y2>
|
|
</texture>
|
|
</layer>
|
|
<layer>
|
|
<name>background</name>
|
|
<texture>
|
|
<path>Aircraft/c172/Panels/Textures/transparent-bg.rgb</path>
|
|
<x1>0.0</x1>
|
|
<y1>0.0</y1>
|
|
<x2>1.0</x2>
|
|
<y2>1.0</y2>
|
|
</texture>
|
|
</layer>
|
|
<layer>
|
|
<name>background</name>
|
|
<texture>
|
|
<path>Aircraft/c172/Panels/Textures/transparent-bg.rgb</path>
|
|
<x1>0.0</x1>
|
|
<y1>0.0</y1>
|
|
<x2>1.0</x2>
|
|
<y2>1.0</y2>
|
|
</texture>
|
|
</layer>
|
|
<layer>
|
|
<name>background</name>
|
|
<texture>
|
|
<path>Aircraft/c172/Panels/Textures/transparent-bg.rgb</path>
|
|
<x1>0.0</x1>
|
|
<y1>0.0</y1>
|
|
<x2>1.0</x2>
|
|
<y2>1.0</y2>
|
|
</texture>
|
|
</layer>
|
|
</layers>
|
|
|
|
<!-- toggle switches -->
|
|
|
|
<actions>
|
|
<action>
|
|
<name>toggle nav lights</name>
|
|
<button>0</button>
|
|
<x>-267</x>
|
|
<y>-246</y>
|
|
<w>20</w>
|
|
<h>50</h>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>controls/lighting/nav-lights</property>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>toggle beacon light </name>
|
|
<button>0</button>
|
|
<x>-233</x>
|
|
<y>-246</y>
|
|
<w>20</w>
|
|
<h>50</h>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>controls/lighting/beacon</property>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>toggle pitot heat</name>
|
|
<button>0</button>
|
|
<x>-307</x>
|
|
<y>-246</y>
|
|
<w>20</w>
|
|
<h>50</h>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>controls/anti-ice/pitot-heat</property>
|
|
</binding>
|
|
</action>
|
|
|
|
|
|
<action>
|
|
<name>toggle strobe light</name>
|
|
<button>0</button>
|
|
<x>-198</x>
|
|
<y>-246</y>
|
|
<w>20</w>
|
|
<h>50</h>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>controls/lighting/strobe</property>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>toggle taxi light</name>
|
|
<button>0</button>
|
|
<x>-230</x>
|
|
<y>-180</y>
|
|
<w>20</w>
|
|
<h>50</h>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>controls/lighting/taxi-light</property>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>toggle landing light</name>
|
|
<button>0</button>
|
|
<x>-198</x>
|
|
<y>-180</y>
|
|
<w>20</w>
|
|
<h>50</h>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>controls/lighting/landing-lights</property>
|
|
</binding>
|
|
</action>
|
|
|
|
<!-- elevator-trim -->
|
|
|
|
|
|
<action>
|
|
<name>small increase</name>
|
|
<button>0</button>
|
|
<x>-90</x>
|
|
<y>-470</y>
|
|
<w>60</w>
|
|
<h>110</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/flight/elevator-trim</property>
|
|
<step>0.03</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>small decrease</name>
|
|
<button>0</button>
|
|
<x>-90</x>
|
|
<y>-580</y>
|
|
<w>60</w>
|
|
<h>110</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/flight/elevator-trim</property>
|
|
<step>-0.03</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
|
|
|
|
<!-- flap extend/retract -->
|
|
<action>
|
|
<name>Flap Retract</name>
|
|
<button>0</button>
|
|
<x>230</x>
|
|
<y>-245</y>
|
|
<w>30</w>
|
|
<h>80</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/flight/flaps</property>
|
|
<step>-0.34</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>Flap Extend</name>
|
|
<button>0</button>
|
|
<x>260</x>
|
|
<y>-245</y>
|
|
<w>30</w>
|
|
<h>80</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/flight/flaps</property>
|
|
<step>0.34</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
<!-- carb heat control -->
|
|
|
|
<action>
|
|
<desc>carb-heat</desc>
|
|
<button>0</button>
|
|
<x>-145</x>
|
|
<y>-240</y>
|
|
<w>55</w>
|
|
<h>95</h>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>controls/anti-ice/engine/carb-heat</property>
|
|
</binding>
|
|
</action>
|
|
|
|
|
|
|
|
|
|
<!-- throttle control -->
|
|
|
|
<action>
|
|
<name>big decrease</name>
|
|
<button>0</button>
|
|
<x>-45</x>
|
|
<y>-215</y>
|
|
<w>45</w>
|
|
<h>90</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/engines/engine/throttle</property>
|
|
<step>-0.07</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>big increase</name>
|
|
<button>0</button>
|
|
<x>0</x>
|
|
<y>-215</y>
|
|
<w>45</w>
|
|
<h>90</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/engines/engine/throttle</property>
|
|
<step>0.07</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>big decrease</name>
|
|
<button>0</button>
|
|
<x>-30</x>
|
|
<y>-315</y>
|
|
<w>45</w>
|
|
<h>100</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/engines/engine/throttle</property>
|
|
<step>-0.07</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
<action>
|
|
<name>big increase</name>
|
|
<button>0</button>
|
|
<x>15</x>
|
|
<y>-315</y>
|
|
<w>50</w>
|
|
<h>100</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/engines/engine/throttle</property>
|
|
<step>0.07</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- mixture control -->
|
|
|
|
<action>
|
|
<name>small decrease</name>
|
|
<button>0</button>
|
|
<x>80</x>
|
|
<y>-215</y>
|
|
<w>45</w>
|
|
<h>90</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/engines/engine/mixture</property>
|
|
<step>-0.03</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>c172p-2d-panel.xml
|
|
</action>
|
|
|
|
<action>
|
|
<name>small increase</name>
|
|
<button>0</button>
|
|
<x>125</x>
|
|
<y>-215</y>
|
|
<w>45</w>
|
|
<h>90</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/engines/engine/mixture</property>
|
|
<step>0.03</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
|
|
<action>
|
|
<name>small decrease</name>
|
|
<button>0</button>
|
|
<x>110</x>
|
|
<y>-315</y>
|
|
<w>50</w>
|
|
<h>100</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/engines/engine/mixture</property>
|
|
<step>-0.03</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>c172p-2d-panel.xml
|
|
</action>
|
|
|
|
<action>
|
|
<name>small increase</name>
|
|
<button>0</button>
|
|
<x>160</x>
|
|
<y>-315</y>
|
|
<w>50</w>
|
|
<h>100</h>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>controls/engines/engine/mixture</property>
|
|
<step>0.03</step>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<wrap>false</wrap>
|
|
</binding>
|
|
</action>
|
|
|
|
</actions>
|
|
|
|
</instrument>
|
|
|
|
</instruments>
|
|
|
|
</PropertyList>
|
|
|
|
|