Default head-up display: Difference between revisions

Jump to navigation Jump to search
m
no stub
mNo edit summary
m (no stub)
Line 1: Line 1:
{{stub}}
This is a short description of [[FlightGear]]'s default '''Head-up display''' ('''HUD'''), it can be (de)activated with the <tt>[h]</tt>-key. To change the brightness, press <tt>[shift]</tt>+<tt>[h]</tt>.
 
This is a short description of [[FlightGear]]s default '''Head-up display''' ('''HUD'''), it can be (de)activated with the <tt>[h]</tt>-key. To change the brightness, press <tt>[shift]</tt>+<tt>[h]</tt>.


There are also two so called 'minimal' HUDs available which are accessible with <tt>[shift]</tt>+<tt>[i]</tt>, to return to default HUD press <tt>[i]</tt>.  
There are also two so called 'minimal' HUDs available which are accessible with <tt>[shift]</tt>+<tt>[i]</tt>, to return to default HUD press <tt>[i]</tt>.  


Some of the HUDs options can be altered in the menu: <tt>View --> Adjust HUD Properties</tt>
Some of the HUDs options can be altered in the menu: <tt>View > Adjust HUD Properties</tt>


= Features =
== Features ==


=== Aileron ===
=== Aileron ===
Line 45: Line 43:
=== Location ===
=== Location ===
[[Image:HUD_location.jpg|thumb|200px|Location]]
[[Image:HUD_location.jpg|thumb|200px|Location]]
To change the coordinates-system, go to <tt>Autopilot --> Set Lat/Lon-format</tt>.
To change the coordinates-system, go to <tt>Autopilot > Set Lat/Lon-format</tt>.


=== Pitch ===
=== Pitch ===
Line 72: Line 70:




= Further Information =
== Further Information ==
 
The basic setup of the above described default HUD is defined at <tt>[[$FG_ROOT]]/Huds/Default/default.xml</tt>. There is also a 'Runway projection' available which is, because of some issues, disabled by default.
The basic setup of the above described default HUD is defined at
:<tt>$FG_ROOT/Huds/Default/default.xml</tt>
There is also a 'Runway projection' available which is, because of some issues, disabled by default.


Documentation can be found at
Documentation can be found at: <tt>[[$FG_ROOT]]/Docs/README.xmlhud</tt>
:<tt>$FG_ROOT/Docs/README.xmlhud</tt>


Since FlightGear 0.9.10 there is ''also'' a newer and more flexibly HUD-system available. An example can be found at
Since FlightGear 0.9.10 there is ''also'' a newer and more flexibly HUD-system available. An example can be found at <tt>[[$FG_ROOT]]/Huds/NTPS.xml</tt> and documentation at <tt>[[$FG_ROOT]]/Docs/README.hud</tt>.
:<tt>$FG_ROOT/Huds/NTPS.xml</tt> and documentation at
:<tt>$FG_ROOT/Docs/README.hud</tt>.
Also have a look at <tt>$FG_ROOT/Huds/README</tt>.
Also have a look at <tt>$FG_ROOT/Huds/README</tt>.


== preferences.xml ==
== preferences.xml ==
While the instruments and their behaviour are set in the Huds-directory, the basic settings and the look regarding to any HUD are set in <tt>$FG_ROOT/preferences.xml</tt>. Search the file for <tt><hud></tt> and you will find a list of properties. For a short description of those have a look at [[#Property_tree|property tree]]. But I'll give some of them a closer look:
While the instruments and their behaviour are set in the Huds-directory, the basic settings and the look regarding to any HUD are set in <tt>[[$FG_ROOT]]/preferences.xml</tt>. Search the file for <tt><hud></tt> and you will find a list of properties. For a short description of those have a look at [[#Property_tree|property tree]]. But I'll give some of them a closer look:


=== Colour ===
=== Colour ===
The preferred thing one would like to customize is, I guess, the HUDs colour.
The preferred thing one would like to customize is, I guess, the HUDs colour.


Discover your own settings is quite easy: Access the property tree via the Menu  <tt>File --> Browse Internal Properties</tt> (<tt>[/]</tt>-character) '''or''' via the [[Property_Tree#Property_server|Property server]] and your browser. Go to sim/hud/color, e.g. http://localhost:5500/sim/hud/color, edit a value and watch the result in FlightGears window instantly.
Discover your own settings is quite easy: Access the property tree via the Menu  <tt>File > Browse Internal Properties</tt> (<tt>[/]</tt>-character) '''or''' via the [[Property_Tree#Property_server|Property server]] and your browser. Go to sim/hud/color, e.g. http://localhost:5500/sim/hud/color, edit a value and watch the result in FlightGears window instantly.


Once the decision is made head back to preferences.xml, copy the <color n="0">-tag and paste it on top of the colours within the <palette>-tag. Rename the existing tags in numeric order and finally put your discovered values in the  new one. It should look like this, except your own values, of course:
Once the decision is made head back to preferences.xml, copy the <color n="0">-tag and paste it on top of the colours within the <palette>-tag. Rename the existing tags in numeric order and finally put your discovered values in the  new one. It should look like this, except your own values, of course:
Line 121: Line 113:
     <nowiki></font></nowiki>
     <nowiki></font></nowiki>


To change font just enter another name out of the ones in $FG_ROOT/Fonts (case sensitive!). For more information about those fonts and on .txf format peruse $FG_ROOT/Fonts/README.
To change font just enter another name out of the ones in <tt>[[$FG_ROOT]]/Fonts</tt> (case sensitive!). For more information about those fonts and on .txf format peruse $FG_ROOT/Fonts/README.


Since the size is type 'float' values like '7.449' are allowed, too.
Since the size is type 'float' values like '7.449' are allowed, too.
Line 147: Line 139:


== Property tree ==
== Property tree ==
More information about FlightGears property tree and on how to access it can be found at its page: [[Property_Tree|Property Tree]].
More information about FlightGear's property tree and on how to access it can be found at its page: [[Property_Tree|Property Tree]].


Paths starting with '$FG_ROOT/' apply to the file system, the others are intra-property tree.
Paths starting with '[[$FG_ROOT/]]' apply to the file system, the others are intra-property tree.
  /sim/hud
  /sim/hud
   current-color  (0|1|2...)    int    One out of /sim/hud/palette
   current-color  (0|1|2...)    int    One out of /sim/hud/palette

Navigation menu