392
edits
(added property tree, not finished yet) |
mNo edit summary |
||
Line 82: | Line 82: | ||
== 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]]. | |||
== Property tree == | == Property tree == | ||
More information about FlightGears property tree and how to access it can be found at its page: [[Property_Tree|Property Tree]]. | More information about FlightGears property tree and 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. | |||
/sim/hud | /sim/hud | ||
current-color (0|1|2...) One out of /sim/hud/palette | current-color (0|1|2...) One out of /sim/hud/palette | ||
enable3d (false|true) hud n=0 3D off|on | enable3d (false|true) hud n=0 3D off|on | ||
enable3d[n] (false|true) hud n=n 3D off|on | enable3d[n] (false|true) hud n=n 3D off|on | ||
frame-stat-type (tris) | frame-stat-type (tris|???) ??? | ||
path () | path (Huds/...) Path to hud n=0 | ||
path[n] () | path[n] (Huds/...) Path to hud n=n | ||
visibility (false|true) hud n=0 hidden|visible | visibility (false|true) hud n=0 hidden|visible | ||
visibility[1] (false|true) hud n=n hidden|visible | visibility[1] (false|true) hud n=n hidden|visible | ||
/sim/hud/color/ | /sim/hud/color/ Contains settings of current-color | ||
alpha (0...1) 0=invisible, 1=nontransparent | alpha (0...1) 0=invisible, 1=nontransparent | ||
alpha-clamp () | alpha-clamp (???) ??? | ||
antialiased (false|true) Antialiasing off|on | antialiased (false|true) Antialiasing off|on | ||
blue (0...1) | blue (0...1) | ||
Line 104: | Line 109: | ||
transparent (false|true) Transparency off|on | transparent (false|true) Transparency off|on | ||
/sim/hud/font/ | /sim/hud/font/ | ||
name ( | name (*.txf) One out of $FG_ROOT/Fonts | ||
size (8) | size (8) Size of font | ||
/sim/hud/palette/ | /sim/hud/palette/ | ||
/sim/hud/palette/color/ Settings of predefined colors, nearly | /sim/hud/palette/color/ Settings of predefined colors, nearly | ||
/sim/hud/palette/color[n]/ | /sim/hud/palette/color[n]/ the same options as in /sim/hud/color. |
edits