Default head-up display: Difference between revisions

added info to 'font' and made some minor changes
(finished 'Colour' and 'Path', added 'Font')
(added info to 'font' and made some minor changes)
Line 11: Line 11:
=== Aileron ===
=== Aileron ===
[[Image:HUD_aileron.jpg|thumb|200px|Aileron]]
[[Image:HUD_aileron.jpg|thumb|200px|Aileron]]
Monitors the bearing of the control input on the ailerons axis.
:[[Aileron]]
:[[Aileron]]


Line 30: Line 31:
=== Elevator ===
=== Elevator ===
[[Image:HUD_elevator.jpg|thumb|200px|Elevator]]
[[Image:HUD_elevator.jpg|thumb|200px|Elevator]]
Monitors the bearing of the control input on the elevators axis.
:[[Elevator]]
:[[Elevator]]


Line 56: Line 58:
=== Rudder ===
=== Rudder ===
[[Image:HUD_rudder.jpg|thumb|200px|Rudder]]
[[Image:HUD_rudder.jpg|thumb|200px|Rudder]]
Monitors the bearing of the control input on the rudders axis.
:[[Rudder]]
:[[Rudder]]


=== Thrust ===
=== Thrust ===
[[Image:HUD_thrust.jpg|thumb|200px|Thrust]]
[[Image:HUD_thrust.jpg|thumb|200px|Thrust]]
Monitors the thrust on airplanes or the collective of helicopters.


=== Turn-bank-indicator ===
=== Turn-bank-indicator ===
Line 91: Line 95:


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:
  <current-color type="int">0</current-color>
    <current-color type="int">0</current-color>
  <palette>
    <palette>
    <color n="0">
    <color n="0">
    <transparent type="bool">true</transparent>
      <transparent type="bool">true</transparent>
    <antialiased type="bool">false</antialiased>
      <antialiased type="bool">false</antialiased>
    <brightness type="float">1</brightness>
      <brightness type="float">1</brightness>
    <alpha type="float">0.67</alpha>
      <alpha type="float">0.67</alpha>
    <red type="float">0.1</red>
      <red type="float">0.1</red>
    <green type="float">1.0</green>
      <green type="float">1.0</green>
    <blue type="float">0.3</blue>
      <blue type="float">0.3</blue>
    </color>
    </color>
    <color n="1"><!-- day -->
    <color n="1"><nowiki><!-- day --></nowiki>
    ...
      ...
    </color>
    </color>
    <color n="2"><!-- night -->
    <color n="2"><nowiki><!-- night --></nowiki>
    ...
      ...
    </color>
    </color>
  </palette>
    </palette>


=== Font ===
=== Font ===


    <nowiki><font></nowiki>
    <name type="string">Helvetica.txf</name>
    <size type="float">8</size>
    <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.
Since the size is type 'float' values like '7.449' are allowed, too.


=== Path ===
=== Path ===
Line 117: Line 129:


   <path>Huds/Default/default.xml</path>
   <path>Huds/Default/default.xml</path>
   <path>Huds/NTPS.xml</path>                 <!-- new HUD -->
   <path>Huds/NTPS.xml</path>         <nowiki> <!-- new HUD --></nowiki>
The first one is the default HUD mentioned above. It is for the old HUD only.
The first one is the default HUD mentioned above. It is for the old HUD only.
The second is the first one of the 'minimal HUD's and it is for the new HUD only. The other 'minimal' one is called by the code (I guess), its path is Huds/Minimal/default.xml.
The second is the first one of the 'minimal HUD's and it is for the new HUD only. The other 'minimal' one is called by the code (I guess), its path is Huds/Minimal/default.xml.
392

edits