Display Custom HUD Rule

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
 
(5 intermediate revisions by one user not shown)
Line 13: Line 13:
 
Aspect at next signal (approximated to red, yellow or green) and distance to it.
 
Aspect at next signal (approximated to red, yellow or green) and distance to it.
  
'''Odomoter'''
+
'''Odometer'''
  
Tracks the mileage for each locomotive on an individual basis, displaying the figure for the locomotive targeted by the camera.
+
Tracks the mileage for each locomotive on an individual basis. Displays the figure for the locomotive targeted by the camera.
  
 
'''Trip Meter'''
 
'''Trip Meter'''
  
Functions identically to the odomoter but is reset when the player presses the [T] key.
+
Functions identically to the odometer but is reset when the player presses the [T] key.
  
 
'''Gradient'''
 
'''Gradient'''
  
Expressed as a percentage and displaying the figure for the locomotive targeted by the camera. For a downward slope, a negative value is displayed. Gradient is not calculated for vehicles that are not locomotives.
+
Expressed as a percentage and displaying the figure for the locomotive targeted by the camera. For a downward slope, a negative value is displayed. Gradient is calculated for locomotives only.
  
 
[[File:Custom_hud_sliders.jpg‎]]
 
[[File:Custom_hud_sliders.jpg‎]]
  
 
When Realistic Mode is selected by the player as control method, an additional panel is displayed containing a set of on screen sliders for locomotive control. This panel is automatically hidden in Easy Mode.  
 
When Realistic Mode is selected by the player as control method, an additional panel is displayed containing a set of on screen sliders for locomotive control. This panel is automatically hidden in Easy Mode.  
 +
 +
'''Custom Variables'''
 +
 +
If the session design makes use of custom variables, the Custom HUD can display two of these variables using the [[Variable_Show_Rule|Variable Show Rule]]. For information on how to define and modify custom session variables, see the [[Variable_Modify_Rule|Variable Modify Rule]] page.
  
 
[[Category:Rules]]
 
[[Category:Rules]]
[[Category:TBD]]
 

Latest revision as of 19:33, 28 April 2013

This rule shows or hides a HUD panel displaying additional information about the selected train. Once started this rule completes immediately without running any child rules.

Custom hud.jpg

The information displayed by the Custom HUD is as follows:

Next Limit

Next posted speed limit (if any) and distance to it.

Next Signal

Aspect at next signal (approximated to red, yellow or green) and distance to it.

Odometer

Tracks the mileage for each locomotive on an individual basis. Displays the figure for the locomotive targeted by the camera.

Trip Meter

Functions identically to the odometer but is reset when the player presses the [T] key.

Gradient

Expressed as a percentage and displaying the figure for the locomotive targeted by the camera. For a downward slope, a negative value is displayed. Gradient is calculated for locomotives only.

Custom hud sliders.jpg

When Realistic Mode is selected by the player as control method, an additional panel is displayed containing a set of on screen sliders for locomotive control. This panel is automatically hidden in Easy Mode.

Custom Variables

If the session design makes use of custom variables, the Custom HUD can display two of these variables using the Variable Show Rule. For information on how to define and modify custom session variables, see the Variable Modify Rule page.

Personal tools