1
0
Fork 0

README ... describes which files belong to the old, and which to the new HUD

Instruments/*.xml ... single components, like the gload display
Sets/*.xml ... combinations of components

There's no difference in filetypes between "sets" and "instruments". It's
just easier to find things that way. Note that new and old files are never
mixed in one dir.
This commit is contained in:
mfranz 2006-07-04 15:26:58 +00:00
parent 1c7e2b404a
commit e9c2efe423
13 changed files with 785 additions and 0 deletions

View file

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<PropertyList>
<tape>
<name>Gyrocompass</name>
<x>-100</x>
<width>200</width>
<height>28</height>
<input>
<property>/orientation/heading-deg</property>
<max>360.0</max>
<min>0.0</min>
</input>
<display-span>25.0</display-span>
<modulo>360</modulo>
<option>top</option>
<major-divisions>5</major-divisions>
<minor-divisions>1</minor-divisions>
<tick-bottom>false</tick-bottom>
<tick-top>false</tick-top>
<tick-right>true</tick-right>
<tick-left>true</tick-left>
<cap-bottom>true</cap-bottom>
<cap-top>false</cap-top>
<cap-right>false</cap-right>
<cap-left>false</cap-left>
<marker-offset>0.0</marker-offset>
<enable-pointer>true</enable-pointer>
<pointer-type>fixed</pointer-type>
<tick-type>line</tick-type>
<tick-length>variable</tick-length>
</tape>
</PropertyList>

View file

@ -0,0 +1,38 @@
<?xml version="1.0"?>
<PropertyList>
<label>
<name>G Load</name>
<width>1</width>
<height>1</height>
<format>%4.2f g</format>
<halign>right</halign>
<box>false</box>
<input>
<property>/accelerations/pilot/z-accel-fps_sec</property>
<factor>-0.03108095</factor>
<damp>0.95</damp>
</input>
<blinking>
<interval>0.25</interval>
<condition>
<or>
<!-- G load > 2.0 -->
<less-than>
<property>/accelerations/pilot/z-accel-fps_sec</property>
<value>-64.3481</value>
</less-than>
<!-- G load < -1.0 -->
<greater-than>
<property>/accelerations/pilot/z-accel-fps_sec</property>
<value>31.17405</value>
</greater-than>
</or>
</condition>
</blinking>
</label>
</PropertyList>

View file

@ -0,0 +1,37 @@
<?xml version="1.0"?>
<PropertyList>
<ladder>
<name>Pitch Ladder</name>
<type>pitch</type>
<x>-60</x>
<y>-90</y>
<width>120</width>
<height>180</height>
<roll-input>
<property>/orientation/roll-deg</property>
</roll-input>
<pitch-input>
<property>/orientation/pitch-deg</property>
</pitch-input>
<compression-factor>2.68</compression-factor>
<display-span>45.0</display-span>
<divisions>10.0</divisions>
<screen-hole>70</screen-hole>
<lbl-pos>0</lbl-pos>
<enable-fuselage-ref-line>false</enable-fuselage-ref-line>
<enable-target-spot>true</enable-target-spot>
<enable-velocity-vector>false</enable-velocity-vector>
<enable-drift-marker>false</enable-drift-marker>
<enable-alpha-bracket>false</enable-alpha-bracket>
<enable-energy-marker>false</enable-energy-marker>
<enable-climb-dive-marker>false</enable-climb-dive-marker>
<enable-glide-slope-marker>false</enable-glide-slope-marker>
<glide-slope>0.0</glide-slope>
<enable-energy-worm>false</enable-energy-worm>
<enable-waypoint-marker>false</enable-waypoint-marker>
</ladder>
</PropertyList>

View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<PropertyList>
<label>
<name>Latitude</name>
<width>1</width>
<height>10</height>
<halign>left</halign>
<input>
<property>/position/latitude-string</property>
</input>
</label>
</PropertyList>

View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<PropertyList>
<label>
<name>Longitude</name>
<width>1</width>
<height>10</height>
<halign>left</halign>
<input>
<property>/position/longitude-string</property>
</input>
</label>
</PropertyList>

View file

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<PropertyList>
<runway>
<name>Runway</name>
<x>-240</x>
<y>-180</y>
<width>480</width>
<height>360</height>
<scale-dist-nm>5</scale-dist-nm>
<line-scale>5.0</line-scale>
<arrow-always>false</arrow-always>
<arrow-scale>1.0</arrow-scale>
<arrow-radius>50.0</arrow-radius>
<outer-stipple>-1</outer-stipple> <!-- 0xffff -->
<center-stipple>64250</center-stipple> <!-- 0xfafa-->
</runway>
</PropertyList>

View file

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<PropertyList>
<turn-bank-indicator>
<name>Turn Bank Indicator</name>
<x>-30</x>
<width>60</width>
<height>10</height>
<bank-input>
<property>/orientation/roll-deg</property>
</bank-input>
<sideslip-input>
<property>/orientation/side-slip-deg</property>
</sideslip-input>
<gap-width>5</gap-width>
<bank-scale>false</bank-scale>
<bank-scale-radius>250</bank-scale-radius>
</turn-bank-indicator>
</PropertyList>

23
Huds/README Normal file
View file

@ -0,0 +1,23 @@
Directories shared by old and new HUD:
Instruments/
Directories used by the old HUD only:
Instruments/Minimal/
Instruments/Custom/
Instruments/Default/
Instruments/Engineering/
Minimal/
Custom/
Default/
Engineering/
Directories and files used by the new HUD only:
Instruments/*.xml
Sets/
*.xml

279
Huds/Sets/autopilot.xml Normal file
View file

@ -0,0 +1,279 @@
<?xml version="1.0"?>
<PropertyList>
<!-- heading -->
<label>
<width>2</width>
<height>2</height>
<format>hdg = %.1f</format>
<halign>left</halign>
<input>
<property>/autopilot/settings/heading-bug-deg</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/heading</property>
<value>dg-heading-hold</value>
</equals>
</condition>
</label>
<label>
<width>2</width>
<height>2</height>
<format>hdg = %.1f</format>
<halign>left</halign>
<input>
<property>/autopilot/settings/true-heading-deg</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/heading</property>
<value>true-heading-hold</value>
</equals>
</condition>
</label>
<!-- wp[0] -->
<label>
<x>0</x>
<y>-15</y>
<width>2</width>
<height>2</height>
<format>%5s</format>
<halign>left</halign>
<input>
<property>/autopilot/route-manager/wp[0]/id</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/heading</property>
<value>true-heading-hold</value>
</equals>
</condition>
</label>
<label>
<x>35</x>
<y>-15</y>
<width>2</width>
<height>2</height>
<format>%6.1fnm</format>
<halign>left</halign>
<input>
<property>/autopilot/route-manager/wp[0]/dist</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/heading</property>
<value>true-heading-hold</value>
</equals>
<not>
<equals>
<property>/autopilot/route-manager/wp[0]/id</property>
<value></value>
</equals>
</not>
</condition>
</label>
<label>
<x>82</x>
<y>-15</y>
<width>2</width>
<height>2</height>
<format>%s</format>
<halign>left</halign>
<input>
<property>/autopilot/route-manager/wp[0]/eta</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/heading</property>
<value>true-heading-hold</value>
</equals>
<not>
<equals>
<property>/autopilot/route-manager/wp[0]/id</property>
<value></value>
</equals>
</not>
</condition>
</label>
<!-- wp[1] -->
<label>
<x>0</x>
<y>-30</y>
<width>2</width>
<height>2</height>
<format>%5s</format>
<halign>left</halign>
<input>
<property>/autopilot/route-manager/wp[1]/id</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/heading</property>
<value>true-heading-hold</value>
</equals>
</condition>
</label>
<label>
<x>35</x>
<y>-30</y>
<width>2</width>
<height>2</height>
<format>%6.1fnm</format>
<halign>left</halign>
<input>
<property>/autopilot/route-manager/wp[1]/dist</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/heading</property>
<value>true-heading-hold</value>
</equals>
<not>
<equals>
<property>/autopilot/route-manager/wp[1]/id</property>
<value></value>
</equals>
</not>
</condition>
</label>
<label>
<x>82</x>
<y>-30</y>
<width>2</width>
<height>2</height>
<format>%s</format>
<halign>left</halign>
<input>
<property>/autopilot/route-manager/wp[1]/eta</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/heading</property>
<value>true-heading-hold</value>
</equals>
<not>
<equals>
<property>/autopilot/route-manager/wp[1]/id</property>
<value></value>
</equals>
</not>
</condition>
</label>
<!-- wp[2] -->
<label>
<x>0</x>
<y>-45</y>
<width>2</width>
<height>2</height>
<format>%5s</format>
<halign>left</halign>
<input>
<property>/autopilot/route-manager/wp[2]/id</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/heading</property>
<value>true-heading-hold</value>
</equals>
</condition>
</label>
<label>
<x>35</x>
<y>-45</y>
<width>2</width>
<height>2</height>
<format>%6.1fnm</format>
<halign>left</halign>
<input>
<property>/autopilot/route-manager/wp[2]/dist</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/heading</property>
<value>true-heading-hold</value>
</equals>
<not>
<equals>
<property>/autopilot/route-manager/wp[2]/id</property>
<value></value>
</equals>
</not>
</condition>
</label>
<label>
<x>82</x>
<y>-45</y>
<width>2</width>
<height>2</height>
<format>%s</format>
<halign>left</halign>
<input>
<property>/autopilot/route-manager/wp[2]/eta</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/heading</property>
<value>true-heading-hold</value>
</equals>
<not>
<equals>
<property>/autopilot/route-manager/wp[2]/id</property>
<value></value>
</equals>
</not>
</condition>
</label>
<!-- altitude -->
<label>
<y>-60</y>
<width>2</width>
<height>2</height>
<format>alt = %.0f</format>
<halign>left</halign>
<input>
<property>/autopilot/settings/target-altitude-ft</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/altitude</property>
<value>altitude-hold</value>
</equals>
</condition>
</label>
<label>
<y>-60</y>
<width>2</width>
<height>2</height>
<format>agl = %.0f</format>
<halign>left</halign>
<input>
<property>/autopilot/settings/target-agl-ft</property>
</input>
<condition>
<equals>
<property>/autopilot/locks/altitude</property>
<value>agl-hold</value>
</equals>
</condition>
</label>
</PropertyList>

146
Huds/Sets/controls.xml Normal file
View file

@ -0,0 +1,146 @@
<?xml version="1.0"?>
<PropertyList>
<gauge>
<name>Aileron</name>
<x>-50</x>
<y>70</y>
<width>100</width>
<height>20</height>
<option>notext</option>
<option>bottom</option>
<major-divisions>50</major-divisions>
<minor-divisions>0</minor-divisions>
<tick-bottom>false</tick-bottom>
<tick-top>false</tick-top>
<tick-right>true</tick-right>
<tick-left>true</tick-left>
<cap-bottom>false</cap-bottom>
<cap-top>true</cap-top>
<cap-right>false</cap-right>
<cap-left>false</cap-left>
<marker-offset>0.0</marker-offset>
<enable-pointer>true</enable-pointer>
<pointer-type>fixed</pointer-type>
<input>
<property>/controls/flight/aileron</property>
<max>1.0</max>
<min>-1.0</min>
</input>
</gauge>
<gauge>
<name>Elevator</name>
<x>-138</x>
<y>-50</y>
<width>20</width>
<height>100</height>
<option>vertical</option>
<option>right</option>
<option>notext</option>
<major-divisions>50</major-divisions>
<minor-divisions>0</minor-divisions>
<marker-offset>0.0</marker-offset>
<tick-bottom>true</tick-bottom>
<tick-top>true</tick-top>
<tick-right>false</tick-right>
<tick-left>false</tick-left>
<cap-bottom>false</cap-bottom>
<cap-top>false</cap-top>
<cap-right>false</cap-right>
<cap-left>true</cap-left>
<enable-pointer>true</enable-pointer>
<pointer-type>fixed</pointer-type>
<input>
<property>/controls/flight/elevator</property>
<max>1.0</max>
<min>-1.0</min>
</input>
</gauge>
<gauge>
<name>Rudder</name>
<x>-50</x>
<y>-90</y>
<width>100</width>
<height>20</height>
<option>top</option>
<option>notext</option>
<major-divisions>50</major-divisions>
<minor-divisions>0</minor-divisions>
<tick-bottom>false</tick-bottom>
<tick-top>false</tick-top>
<tick-right>true</tick-right>
<tick-left>true</tick-left>
<cap-bottom>true</cap-bottom>
<cap-top>false</cap-top>
<cap-right>false</cap-right>
<cap-left>false</cap-left>
<marker-offset>0.0</marker-offset>
<enable-pointer>true</enable-pointer>
<pointer-type>fixed</pointer-type>
<input>
<property>/controls/flight/rudder</property>
<max>1.0</max>
<min>-1.0</min>
</input>
</gauge>
<gauge>
<name>Throttle</name>
<x>-305</x>
<y>-75</y>
<width>20</width>
<height>150</height>
<option>vertical</option>
<option>left</option>
<option>notext</option>
<major-divisions>50</major-divisions>
<minor-divisions>0</minor-divisions>
<tick-bottom>true</tick-bottom>
<tick-top>true</tick-top>
<tick-right>false</tick-right>
<tick-left>false</tick-left>
<cap-bottom>false</cap-bottom>
<cap-top>false</cap-top>
<cap-right>true</cap-right>
<cap-left>false</cap-left>
<marker-offset>0.0</marker-offset>
<enable-pointer>true</enable-pointer>
<pointer-type>fixed</pointer-type>
<input>
<property>/controls/engines/engine/throttle</property>
<max>1.0</max>
<min>0.0</min>
</input>
</gauge>
<gauge>
<name>Elevator Trim</name>
<x>-148</x>
<y>-50</y>
<width>10</width>
<height>100</height>
<option>left</option>
<option>vertical</option>
<option>notext</option>
<major-divisions>50</major-divisions>
<minor-divisions>0</minor-divisions>
<marker-offset>0.0</marker-offset>
<tick-bottom>true</tick-bottom>
<tick-top>true</tick-top>
<tick-right>false</tick-right>
<tick-left>false</tick-left>
<cap-bottom>false</cap-bottom>
<cap-top>false</cap-top>
<cap-right>false</cap-right>
<cap-left>false</cap-left>
<enable-pointer>true</enable-pointer>
<pointer-type>fixed</pointer-type>
<input>
<property>/controls/flight/elevator-trim</property>
<max>1.0</max>
<min>-1.0</min>
</input>
</gauge>
</PropertyList>

13
Huds/Sets/coordinates.xml Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<PropertyList>
<import>
<path>Huds/Instruments/latitude.xml</path>
<x-offset>-210</x-offset>
</import>
<import>
<path>Huds/Instruments/longitude.xml</path>
<x-offset>210</x-offset>
</import>
</PropertyList>

101
Huds/Sets/parameters.xml Normal file
View file

@ -0,0 +1,101 @@
<?xml version="1.0"?>
<PropertyList>
<import>
<path>Huds/Instruments/gload.xml</path>
<x-offset>-243</x-offset>
<y-offset>105</y-offset>
</import>
<tape>
<name>AMSL</name>
<x>245</x>
<y>-100</y>
<width>35</width>
<height>200</height>
<option>left</option>
<option>vertical</option>
<major-divisions>100</major-divisions>
<minor-divisions>25</minor-divisions>
<display-span>250.0</display-span>
<tick-bottom>true</tick-bottom>
<tick-top>true</tick-top>
<tick-right>false</tick-right>
<tick-left>false</tick-left>
<cap-bottom>false</cap-bottom>
<cap-top>false</cap-top>
<cap-right>true</cap-right>
<cap-left>false</cap-left>
<marker-offset>0.0</marker-offset>
<enable-pointer>true</enable-pointer>
<pointer-type>fixed</pointer-type>
<tick-type>line</tick-type>
<tick-length>variable</tick-length>
<input>
<property>/position/altitude-ft</property>
</input>
</tape>
<tape>
<name>RadioAltimeter</name>
<x>118</x>
<y>-75</y>
<width>25</width>
<height>150</height>
<option>left</option>
<option>vertical</option>
<major-divisions>25</major-divisions>
<minor-divisions>5</minor-divisions>
<display-span>200.0</display-span>
<tick-bottom>true</tick-bottom>
<tick-top>true</tick-top>
<tick-right>false</tick-right>
<tick-left>false</tick-left>
<cap-bottom>false</cap-bottom>
<cap-top>false</cap-top>
<cap-right>true</cap-right>
<cap-left>false</cap-left>
<marker-offset>0.0</marker-offset>
<enable-pointer>true</enable-pointer>
<pointer-type>fixed</pointer-type>
<tick-type>line</tick-type>
<tick-length>variable</tick-length>
<input>
<property>/position/altitude-agl-ft</property>
<min>0.0</min>
</input>
</tape>
<tape>
<name>KIAS</name>
<x>-280</x>
<y>-100</y>
<width>28</width>
<height>200</height>
<option>right</option>
<option>vertical</option>
<major-divisions>10</major-divisions>
<minor-divisions>5</minor-divisions>
<display-span>50.0</display-span>
<tick-bottom>true</tick-bottom>
<tick-top>true</tick-top>
<tick-right>false</tick-right>
<tick-left>false</tick-left>
<cap-bottom>false</cap-bottom>
<cap-top>false</cap-top>
<cap-right>false</cap-right>
<cap-left>true</cap-left>
<marker-offset>0.0</marker-offset>
<enable-pointer>true</enable-pointer>
<pointer-type>fixed</pointer-type>
<tick-type>line</tick-type>
<tick-length>variable</tick-length>
<input>
<property>/velocities/airspeed-kt</property>
<min>0.0</min>
</input>
</tape>
</PropertyList>

43
Huds/default.xml Normal file
View file

@ -0,0 +1,43 @@
<?xml version="1.0"?>
<PropertyList>
<name>Default Aircraft Hud</name>
<enable3d>false</enable3d>
<import>
<path>Huds/Instruments/turn-bank-indicator.xml</path>
<y-offset>-195</y-offset>
</import>
<import>
<path>Huds/Sets/coordinates.xml</path>
<y-offset>190</y-offset>
</import>
<import>
<path>Huds/Instruments/compass.xml</path>
<y-offset>190</y-offset>
</import>
<import>
<path>Huds/Sets/controls.xml</path>
</import>
<import>
<path>Huds/Sets/parameters.xml</path>
</import>
<import>
<path>Huds/Sets/autopilot.xml</path>
<x-offset>-280</x-offset>
<y-offset>160</y-offset>
</import>
<import>
<path>Huds/Instruments/ladder.xml</path>
</import>
<import>
<path>Huds/Instruments/runway.xml</path>
</import>
</PropertyList>