Trainz/Driver Mode Keyboard Shortcuts

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Fundamentals for Trainz Trainees
TOC | BeginningsFun | AM&C | Creation | InBook Refs ORP Refs:  • Index • Containers • Kinds • Tags | Appendixes  • Vers
Loupe light.svg
 Mouse use

Driver Module Keyboard Shortcuts[edit]

This table was generated for TS12 and so contains a few keys applicable only in newer Trainz releases. Most of the table has been common across all Trainz Versions after Trainz UTC (V-1.5), and as with keys added in TS10 and TS12, keys added after that date such as the Camera Free Roaming External mode ('[4]') just did nothing. Excepting the Keypad keys, neither did most of these in Trainz 1.3—which made for an interesting drive in CAB mode when one was used to the left hand cross: A+S+D X W+S+X (with a long, long history in computer games) and the surrounding keys by rows: upper: Q+W+E+R and lower: Z+X+C+V+B.  

Understanding the layout[edit]

Trainz keys with related functional actions generally are vertical columns.

  • The main Brake/Axillary Brake controls Q+A+Z & E+D+C,

  • the throttle & direction adjusts W+S+X & R+F+V.
Note the absence of T, Y and U in the top-row center.
  • whilst the horizontally located keys of the middle and bottom rows G+H+J and B+N+M all have some common general control function
(though some only have function if one of the shift keys is also pressed)
or are more minor train controls (B for bell is not a terribly exciting key,
unless of course, if the noise is driving you or a loved one nuts! Which may lend enough urgency to finding it again that things get a wee bit exciting for a while!).


  • The least minor of these are N and ⇧ Shift+N blower controls which you need for Steam Engine's—at least for long runs...
  • and the very important J and Ctrl+J which 'toggle junctions' ahead and behind respectively (but are you far enough away? And Does the loco also think 'that-away' is also forwards or reverse?).


Historically, the Keypad keys were the controls used in Trainz 1.x, but that was unpopular given the need for the right hand on the mouse, which is perhaps busy even more often. With UTC a file "\Settings\keyboard.txt" was introduced allowing user customization of the keys which have remained very stable until the introduction of new functional needs, which affected the old set only by adding to them. The file keyboard.txt also allows the user to customize his Surveyor hotkeys as well as those useful in Driver.


P train grey.png
Note except for Steam Loco Driving, the so called keyboard leftside cross (W, S, X, A and E) comprise the most often used Driver keys, those used for throttle control and the brakes. The Steam locomotive also heavily use F and R just to the right of the cross, as are somewhat less often used D, C, V and B keys. But all are used pretty often in CAB mode!


CAB mode factors[edit]

  • There are 32 steps of acceleration and applied power in an electric locomotive,
  • but only eight in a diesel locomotive, Tip: but both like the Steam Locomotives, need not make too sudden a speed change or things break!
  • and hundreds of usable combinations of S + W (flow rate throttle) and R + F (cutoff angle key controls, a second throttle that is directional controlling the timing and position of the slide valves) for Steam Loco driving modes. The Steam controls are effectively continuous functions using the mouse to drag or push the inside the cab levers, which positions the keys values too, such that thereafter the keys increment or decrement values from those settings—until pegged at either the maximum or minimum stops.


  • CAB mode has independent brakes for the locomotive (toggles with E--don't need with a DCC dial) and some loco's also have dynamic brakes (See the Manual, D & C are main controls, but... it's complicated... read the manual)


  • Also, CAB mode has 'LAP brake modes'—he ability to partially apply brakes up and down the train so to better control speed on steep descents. Lapping brakes, like easing to a stop in an intersection also aids a lot in many coupling, switching, and/or loading operations; especially when combined with use of the independent brakes (which act quickly and are toggled by E) to stop the train with a timely bit of extra braking.
P train grey.png
Alas, Trainz scripts kernel software governing loading and unloading have either set or released these general train brake settings in industry operations, so you have to reset the lap brakes each time you reposition the train—generally every NN traincars when the industries' track fills or empties NN cars at a time.


  • Lastly, there are other CAB electronics simulated in the game and there is the capability to marry a control console to the game similar to the way many racing games and flight simulators allow true aficionados to add consoles.

General Control keys[edit]

We defer covering Driving/Operations keys for the common mode keys and Driver general game controls, placing the more complicated CAB mode down the bottom, whilst giving you the Table of Contents at right to get to it quick if you want.  

General Train Controls[edit]

KeyPad Key Keyboard Key Action
L Headlight
KPad-1, KP_End,
Pantograph[note 1]
H Horn or Whistle
Sanders on/off toggle
(not DCC)
B Bell
Map toggle
[note 2]
P Pause!
Ctrl+F Find named Objects
Ctrl+D Toggle Decouple
Shift+L Toggle Highbeam
; Toggle Ditchflash
Ctrl+1 Join/Jump to Driver 1
Ctrl+2 Join/Jump to Driver 2
Ctrl+3 Join/Jump to Driver 3
Ctrl+4 Join/Jump to Driver 4
Ctrl+5 Join/Jump to Driver 5
Ctrl+6 Join/Jump to Driver 6
Ctrl+7 Join/Jump to Driver 7
Ctrl+- Previous Driver (dwn)
Ctrl+= Next Driver (up)
↵ Enter Multiplayer Chat

HUD & Viewing controls[edit]

KeyPad Key Keyboard Key Action
5 Toggle Interface displays
(Hide or show all displays)
6 Toggle Driver Bar
7 Toggle Button Bar
8 Toggle Custom HUD
9 Toggle Controls

Camera Modes[edit]

1 Internal Camera
2 External Camera
3 Tracking Camera
4 Roaming Camera

In-Cab Camera[edit]

[ Camera - Previous View
] Camera - Next View
Ctrl+[ Camera Snap to Previous View
Ctrl+] Camera Snap to Next View

General Camera Controls[edit]

Up Arrow ↑ tilt Camera Upward
Down Arrow ↓ tilt Camera Downward
Left Arrow ← Rotate Camera Left
Right Arrow → Rotate Camera Right
Page Up Zoom In
Page Down Zoom Out
  • By and large many Driver hotkeys work in both DCC and CAB mode.
  • Some CAB mode keys only work on particular locomotive types, so for example, steam controls will not affect a diesel or electric powered locomotive.
  • Many DCC mode control keys use the same acceleration or slowing keys as those in the CAB modes.

DCC mode and Easy Mode[edit]

DCC Mode or (TANE's new 'Easy Mode')
KeyPad Key Keyboard Key Action
X Decelerate/Reverse
W Accelerate/Forward
S All Stop
A Apply handbrake

CAB Mode-common keys[edit]

KeyPad Key Keyboard Key Action
9 Q Brake Release
6 Z Brake Lap
3 A Brake Application
4 E Toggle Independent Brake[note 3]
0 D Independent Brake Bail
8 W Throttle Up
2 X Throttle Down
5 S Throttle 0
. F Reverser Handle Forward
/ R Reverser Handle Reverse
7 C Toggle Dynamic Brake
⇧ Shift+F Cabin Fans
Alt+, Wipers On
Alt+. Wipers Off
Pause/Break Emergency Brake[note 4]
Alt+9 Emergency Stop[note 5]

Steam Locomotive Controls[edit]

KeyPad Key Keyboard Key Action
KPad 1, KPEnd, End Toggle Firebox Door[note 6]
Shift+I Injector Up [note 7]
Shift+O Injector Down [note 8]
N Blower Up [note 9]
Shift+N Blower Down [note 10]
Space Shovel Coal [note 11]
Shift+Space Coalman Wave[note 12]
Alt+D Toggle Cylinder Drain Cocks

'Software dependent' controls[edit]

Software dependent' controls: The group of controls depend on (less commonly implemented) scripting interactions and so on having a Loco having the feature and scriptlets involved. In short, only some more modern Locos will have these at all.[note 13]
KeyPad Key Keyboard Key Action
T Reset Tripmeter[note 14]
Alt+0 Toggle Cabin master Switch[note 15]
Alt+\ Panel Lamp Test[note 15]
Alt+[ Engine On[note 15]
Alt+] Engine Off[note 15]
Alt+; Toggle Cabin Hardware 0 [note 16]
Alt+' Toggle Cabin Hardware 1 [note 17]

CAB Mode-Auto-warning systems[edit]

KeyPad Key Keyboard Key Action
Alt+~ Vigilance Foot Pedal
Alt+0 Toggle Cabin master Switch
Alt+Space Reset Automatic Warning System
Ins Reset Automatic Warning System
Alt+1 Isolate Automatic Warning System
Alt+2 Activate Automatic Warning System
Alt+3 Reset Train Protection Warning System
Alt+4 Isolate Train Protection Warning System
Alt+5 Activate Train Protection Warning System
Alt+6 Override Train Protection Warning System
Alt+7 Turn On Driver's Reminder Appliance
Alt+8 Turn Off Driver's Reminder Appliance
Alt+9 Emergency Stop


Notes, Footnotes & References[edit]

Config.txt files are endemic and ever present in Trainz assets, for no asset can be defined without this type of Computer Science container. The keyword-value_of_key pairing must always be kept in mind in editing or creating Trainz content. The TrainzBaseSpec contains values and containers which are most common in asset defining config.txt files.  


  1. Notice keys are dual use, valid for mutually exclusive modes.
  2. Map Toggle: Ctrl-M works for mini-map in Surveyor AND in Driver module.
  3. Use the Independent (Locomotive Only!) brake to 'fine tune' speeds, especially when conducting coupling and switching operations in which speeds generally needs to be less than 4-5 mph (~6-8 km/h). The 'Independent Brake' means it's the brakes only of the Locomotive, not coupled to the rest of the train through the air brake system, hence they operate very rapidly compared to those of a long train.
  4. This Emergency Brake control really is only for emergency crash prevention. It is very unrealistic and has effect only in Driver.
  5. This Emergency Brake control really is only for emergency crash prevention.
  6. Toggle Firebox Door is not just so things run less noisy, but also effects heating of the water jacket. Blower has much better effect than with door open, so shut ASAP after adding coal. Watch effect in CAM=1 mode!
  7. Injector Up Forces feed water into the boiler to replace water loss with steam exhausted during expansion. Several hits opens valve more. Watch effect in CAM=1 mode!
     • Don't overfill past 80%, try to set to minimize water drop when running fast and toggle up for a short bit to maintain sight glass level.
  8. Injector Down Constricts feed water into the boiler to replace water loss with steam exhausted during expansion. Several hits shuts valve more. Watch effect in CAM=1 mode!
  9. Standard Steam Control since Trainz 1.3/UTC.
  10. Standard Steam Control since Trainz 1.3/UTC.
  11. Standard Steam Control since Trainz 1.3/UTC.
  12. Coalman Wave: Standard Steam Control since Trainz 1.3/UTC.
  13. Software dependent' controls: All the train controls depend upon scripts interactions, but these are less standard than those 'common controls' built-in since Trainz v1.3!
  14. Likely only some HUD displays! Try it now and again and see.
  15. a b c d Likely only some Loco cabs! Try it now and again and see.
  16. This 'Cabin Hardware nn' control is only for special equipment's and the Loco or Cab interior has to have matching TrainzScript files to do anything. So generally a 'has no effect' key!
  17. This 'Cabin Hardware nn' control "ditto"