User Tools

Site Tools


Sidebar



Minetest Forum
Content Database
Git Repository
Bug Tracker
Website

usage:using_stock:train_hud

This is an old revision of the document!


Train HUD

Text-based driver HUD

A text-based HUD was used before version 2.2.0 was released. It looks similar to the following:

 [F] {B - >o< +} >|< >|<
Speed: |++++___________|> 15 km/h
Manual operation

The display shows:

  • The text that is normally shown inside the train, if any.
  • The driving direction: [F] when driving forward or [R] when driving in the reverse direction.
  • The lever of the train:
    • >BB< when the emergency brake is applied
    • >B< when the normal brake is applied
    • >-< when the train rolls to stop
    • >o< when the speed of the train is constant
    • >+< when the train accelerates
  • The doors that are open:
    • >|< >|< when doors on both sides are closed
    • |<>| >|< when doors on the left side are open
    • >|< |<>| when doors on the right side are open
  • The current speed of the train: four + show that the train moves at 4m/s (15km/h)
  • An S in the speed indicator when shunt mode is active
  • The operation mode of the train:
    • When the train is manually controlled, Manual operation is shown
    • When ATC is active:
      • The target speed is shown similarly to the current speed of the train
      • The ATC command and delay (if any) is shown after the ATC target speed
    • When LZB is active (e.g. when the train is approaching the end of the track) and the train is manually controlled, -!- Safety override -!- is shown.

Graphical driver HUD

The graphical driver HUD is introduced in commit a88e5aad64089eb4cf228d32a0eee812f1d7c5c6 to the master branch. It has been modified multiple times to its current state.

The HUD shows:

  • The speed in m/s indicated by the two-digit 7-segment display.
  • The driving direction of the train (“Forward” or “Reverse”)
  • The lever of the train:
    • “EMG” for emergency brake
    • “B” for normal brake
    • “R” for roll
    • “N” when the speed of the train is constant
    • “P” for acceleration (power)
  • “ATC” when ATC is active
  • “LZB” when LZB is active
  • “Shunt” when shunt mode is active
  • The signal aspect of the next signal:
    • A red square when the next signal is red or when the train approaches the end of the track
    • An orange square when the next signal has speed restriction higher than 0m/s
    • A green square when the next signal allows proceeding without speed restriction
  • “Left Door” or “Right Door” when the door on the left or right side of the driving direction is open
  • The speed of the train shown as a white bar
  • The speed current speed limit of the train (if present) shown as a red vertical bar
  • The speed restriction of the next signal (if present and greater than 0m/s) shown as a red triangle pointing down
  • The ATC target speed (if present) shown as a cyan triangle pointing up

Passenger

Passengers only see the text shown inside the train.

usage/using_stock/train_hud.1611333098.txt.gz · Last modified: 2021-01-22 17:31 by ywang