Hotkeys

From OpenTTD
(Difference between revisions)
Jump to: navigation, search
(double mode was removed long ago)
(Added link to german translation)
(46 intermediate revisions by 30 users not shown)
Line 1: Line 1:
{{Table of contents}}
+
{{Other_languages
 +
|en=Hotkeys
 +
|cs=Klávesové zkratky
 +
|de=Hotkeys
 +
|es=Teclas de método abreviado
 +
|fr=Raccourcis clavier
 +
|hu=Gyorsbillentyűk
 +
|nl=Sneltoetsen
 +
|pl=Skróty klawiszowe
 +
|ru=Горячие клавиши
 +
|ko=단축키
 +
|tr=Kısayollar
 +
|language_page=en
 +
}}{{-}}{{Table of contents}}
  
This is a list of keyboard shortcuts used in the game.  Their function can change depending on what window you have open.  These are based on the latest source, hence they might not work on older versions of OpenTTD.  See also the [[Hotkeys (most used)|most used shortcuts]].
+
{{merge|Hidden features|discuss=Talk:Hotkeys|date=20 September 2018}}
  
{| align="center" style="border: 0px"
+
This is a list of '''keyboard shortcuts''' used in the game.  Their function can change depending on what window you have open.  These are based on the latest source, hence they might not work on older versions of OpenTTD.  See also the [[Hotkeys (most used)|most used shortcuts]] and [[Hidden features|undocumented key combinations]].
|width="50%" style="background:none; border:0px"|
+
 
{| border="1"
+
Some parts of the key handling in OpenTTD assumes a US Qwerty layout. If a hotkey doesn't work as documented, look on an image of the US keyboard to figure out where the key with the mentioned symbol is located on your keyboard. If that still doesn't work, you can customize the hotkey to use a different key sequence by editing <code>hotkeys.cfg</code> (you will still need to mind that OpenTTD assumes a US Qwerty layout and may need to write a different symbol in <code>hotkeys.cfg</code> than what the key produces in other programs on your computer).
 +
 
 +
{{note|1=<nowiki/>
 +
Note: <code>hotkeys.cfg</code> is in the same root folder as your save files, ie <code>~/.openttd/hotkeys.cfg</code> or <code>~/Documents/OpenTTD/hotkeys.cfg</code>
 +
}}
 +
 
 +
{{-}}
 +
{| align="center" style="border: 0px" style="text-align: center;"
 +
|valign="top" width="50%" style="background:none; border:0px"|<!-- first column -->
 +
{| border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:0em 1em 1em 0; border:solid 1px #AAAAAA;"
 
|-
 
|-
!colspan="2"|Basic hotkeys
+
!colspan="3" style="background:#efefef;"|Basic hotkeys<!-- Normal ingame ----------->
 +
|- style="background:#efefef;"
 +
!width="40"|Win||width="40"|Mac||Effect
 
|-
 
|-
|width="80"|'''Key'''||'''Effect'''
+
|Alt + Enter||Command + Enter||style="text-align: left;"|Enter/Exit fullscreen mode
 
|-
 
|-
|Alt + Enter||Enter/Exit fullscreen mode
+
|colspan="2"|[[Tab]]||style="text-align: left;"|Fast forward (Hold button to fast forward, release to return to normal)
 
|-
 
|-
|[[Tab]]||Fast forward (Hold button to fast forward, release to return to normal)
+
|~||§||style="text-align: left;"|Display command line [[console]].
 
|-
 
|-
|~ ([[Console#Using_the_console|maybe]])||Display command line [[console]].  
+
|colspan="2"|Ctrl + Enter||style="text-align: left;"|Resize the [[console]] to entire window and back.
 
|-
 
|-
|Ctrl + Enter||Resize the [[console]] to entire window and back.  
+
|colspan="2"|Shift + Click||style="text-align: left;"|Instead of building, a cost estimate window pops up.
 +
|-
 +
|colspan="2" style="border-left:1px solid white; border-right:1px solid white" |<!-- Normal ingame ---->
 +
|- style="background:#efefef;"
 +
!colspan="3" |Normal ingame (no menu open)
 +
|- style="background:#efefef;"
 +
!width="40"|Win||width="40"|Mac||Effect
 
|-
 
|-
| ||
+
|colspan="2"|Space||style="text-align: left;"|Close error messages/news items
 
|-
 
|-
!colspan="2"|Normal ingame (no menu open)
+
|Delete||Fn+Del||style="text-align: left;"|Close all non-[[Other Interface Features#Sticky windows|sticky]] windows
 
|-
 
|-
|'''Key'''||'''Effect'''
+
|Shift + Del||Fn + Shift + Del||style="text-align: left;"|Close all windows, even [[Other Interface Features#Sticky windows|sticky]] ones
 
|-
 
|-
|Space||Close error messages/news items
+
|colspan="2"|Esc||style="text-align: left;"|Close active tool. Can also abort actions after pressing but before releasing the mouse button.
 
|-
 
|-
|Delete||Closes all non-[[Other Interface Features#Sticky windows|sticky]] windows
+
|F1/Pause||Fn+F1||style="text-align: left;"|Pause game
 
|-
 
|-
|Shift + Delete||Closes ALL windows (even [[Other Interface Features#Sticky windows|sticky]] ones)
+
|F2||Fn+F2||style="text-align: left;"|Game options
 
|-
 
|-
|Esc||Clear mouse pointer
+
|F3||Fn+F3||style="text-align: left;"|Save game
 
|-
 
|-
|F1||Pause game
+
|F4||Fn+F4||style="text-align: left;"|Map
 
|-
 
|-
|F2||Game options
+
|F5||Fn+F5||style="text-align: left;"|[[Town]] list
 
|-
 
|-
|F3||Save game
+
|F6||Fn+F6||style="text-align: left;"|[[Subsidies]]
 
|-
 
|-
|F4||Map
+
|F7||Fn+F7||style="text-align: left;"|[[Station list]]
 
|-
 
|-
|F5||[[Town]] list
+
|F8||Fn+F8||style="text-align: left;"|Finances
 
|-
 
|-
|F6||[[Subsidies]]
+
|F9||Fn+F9||style="text-align: left;"|Your company's general information (same as clicking on your HQ)
 
|-
 
|-
|F7||[[Station list]]
+
|F10||Fn+F10||style="text-align: left;"|Operating Profit Graph
 
|-
 
|-
|F8||Finances
+
|F11||Fn+F11||style="text-align: left;"|Company League table
 
|-
 
|-
|F9||Your company's general information (same as clicking on your HQ)
+
|F12||Fn+F12||style="text-align: left;"|Fund new industry
 
|-
 
|-
|F10||Operating Profit Graph
+
|Shift + F1||Fn+Sft+F1||style="text-align: left;"|Your company's trains ([[Vehicle lists]])
 
|-
 
|-
|F11||Company League table
+
|Shift + F2||Fn+Sft+F2||style="text-align: left;"|Your company's road vehicles ([[Vehicle lists]])
 
|-
 
|-
|F12||Fund new industry
+
|Shift + F3||Fn+Sft+F3||style="text-align: left;"|Your company's ships ([[Vehicle lists]])
 
|-
 
|-
|Shift + F1||Your company's trains ([[Vehicle lists]])
+
|Shift + F4||Fn+Sft+F4||style="text-align: left;"|Your company's aircraft ([[Vehicle lists]])
 
|-
 
|-
|Shift + F2||Your company's road vehicles ([[Vehicle lists]])
+
|Shift + F5/+||Fn+Sft+F5||style="text-align: left;"|Zoom in
 
|-
 
|-
|Shift + F3||Your company's ships ([[Vehicle lists]])
+
|Shift + F6/-||Fn+Sft+F6||style="text-align: left;"|Zoom out
 
|-
 
|-
|Shift + F4||Your company's aircraft ([[Vehicle lists]])
+
|Shift + F7||Fn+Sft+F7||style="text-align: left;"|Opens the [[Railway construction#Railway construction toolbar|Railroad construction toolbar]]  
 
|-
 
|-
|Shift + F5||Zoom in
+
|Shift + F8||Fn+Sft+F8||style="text-align: left;"|Opens the [[Roadway construction#Roadway construction toolbar|Roadway construction toolbar]]
 
|-
 
|-
|Shift + F6||Zoom out
+
|Shift + F9||Fn+Sft+F9||style="text-align: left;"|Opens the [[Waterway construction#Constructing Docks|Dock construction toolbar]]
 
|-
 
|-
|Shift + F7||Opens the [[Railway construction#Railway construction toolbar|Railroad construction toolbar]]  
+
|Shift + F10||Fn+Sft+F10||style="text-align: left;"|Opens the [[Airport construction#Airport construction window functions|Airport construction tollbar]]
 
|-
 
|-
|Shift + F8||Opens the [[Roadway construction#Roadway construction toolbar|Roadway construction toolbar]]
+
|Shift + F11||Fn+Sft+F||style="text-align: left;"|Plant trees
 
|-
 
|-
|Shift + F9||Opens the [[Waterway construction#Constructing Docks|Dock construction toolbar]]
+
|Shift + F12||Fn+Sft+F12||style="text-align: left;"|Jukebox
 
|-
 
|-
|Shift + F10||Opens  the [[Airport construction#Airport construction window functions|Airport construction tollbar]]
+
|colspan="2"|Arrow keys||style="text-align: left;"|Scroll around the map
 
|-
 
|-
|Shift + F11||Plant [[trees]]
+
|colspan="2"|Shift + Arrow keys||style="text-align: left;"|Scroll faster
 
|-
 
|-
|Shift + F12||Jukebox
+
|colspan="2"|L||style="text-align: left;"|Open [[Landscaping#Landscaping the land|landscaping toolbar]]
 
|-
 
|-
|Arrow keys||Scroll around the map
+
|colspan="2"|M||style="text-align: left;"|Shows minimap
 
|-
 
|-
|Shift + Arrow keys||Scroll faster
+
|colspan="2"|V||style="text-align: left;"|Opens extra viewport
 
|-
 
|-
|L||Open [[Landscaping#Landscaping the land|landscaping toolbar]]
+
|colspan="2"|A||style="text-align: left;"|Toggles [[autorail]] mode
 
|-
 
|-
|M||Shows minimap
+
|colspan="2"|Z||style="text-align: left;"|Zooms in to the mouse pointer's location
 
|-
 
|-
|V||Opens extra viewport
+
|colspan="2"|C||style="text-align: left;"|Centers screen at mouse pointer's location
 
|-
 
|-
|A||Toggles [[autorail]] mode
+
|colspan="2"|X||style="text-align: left;"|Turn all unlocked transparency options on or off
 
|-
 
|-
|Z||Zooms in to the mouse pointer's location
+
|colspan="2"|Ctrl + X||style="text-align: left;"|Open [[Transparent buildings|transparency options]] window
 
|-
 
|-
|C||Centers screen at mouse pointer's location
+
|colspan="2"|Ctrl + 1-9||style="text-align: left;"|Toggle a certain transparency option
 
|-
 
|-
|X||Toggle [[Transparent buildings#transparent buildings|transparent buildings]]
+
|colspan="2"|Ctrl + U||style="text-align: left;"|Clear text in input fields
 
|-
 
|-
| + ||Zoom in
+
|colspan="2"|Ctrl + W||style="text-align: left;"|Abandon game and return to main menu
 
|-
 
|-
| - ||Zoom out
+
|colspan="2"|Ctrl + Q||style="text-align: left;"|Quit to OS
 
|-
 
|-
|Ctrl + Q||Quit to OS
+
|colspan="2"|Ctrl + S||style="text-align: left;"|Take [[Screenshot|screenshot]]
 
|-
 
|-
|Ctrl + S||Take [[Screenshot|screenshot]]
+
|colspan="2"|Ctrl + G|| Takes a screenshot of the ENTIRE map <br>
 +
'''Note''' This will take a few seconds and will seem to "freeze" OpenTTD. Also note that these screenshots are HUGE, 16352x8192 pixels on a default sized map and each screenshot takes up around 130 MB as BMP, 75 MB as PCX and 15 MB as PNG , so watch your free space carefully. :-) This hotkey caused a lot of different problems related to accidental pressing of the keys and was removed in the latest versions. If you want to use this feature, you need to edit your hotkeys.cfg and bind it there.
 
|-
 
|-
|Ctrl + G|| Takes a screenshot of the ENTIRE map <br>
+
|colspan="2"|Ctrl + B|| View the bounding box structure (for grf authors and other freaks).
'''Note''' This will take a few seconds and will seem to "freeze" OpenTTD. Also note that these screenshots are HUGE, 16352x8192 pixels on a default sized map and each screenshot takes up around 130 MB as BMP, 75 MB as PCX and 15 MB as PNG , so watch your free space carefully :-)
+
|-
+
|Ctrl + B|| View the tile structure (in nightly).
+
 
|}
 
|}
  
<!-- second column -->
+
|valign="top" width="50%" style="background:none; border:0px"| <!-- second column ---------------------------->
|width="50%" style="background:none; border:0px"|
+
{| border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:0em 1em 1em 0; border:solid 1px #AAAAAA;"
{| border="1"
+
|- style="background:#efefef;"
|-
+
!colspan="2"|Railroad construction <!-- Railroad construction ------------->
!colspan="2"|Railroad construction'''
+
|- style="background:#efefef;"
|-
+
!width="80"|Key||Effect
|width="80"|'''Key'''||'''Effect'''
+
 
|-
 
|-
|1 to 4||[[Laying_tracks|Build railroad track]]
+
|1 to 4||[[Building tracks|Build railroad track]]
 
|-
 
|-
 
|5 or A||[[Autorail]] mode
 
|5 or A||[[Autorail]] mode
Line 143: Line 170:
 
|C||[[convert_rail|Convert to this type of rail]]
 
|C||[[convert_rail|Convert to this type of rail]]
 
|-
 
|-
| ||
+
|colspan="2" style="border-left:1px solid white; border-right:1px solid white" |<!-- Road construction ---->
|-
+
|- style="background:#efefef;"
 
!colspan="2"|Road construction
 
!colspan="2"|Road construction
|-
+
|- style="background:#efefef;"
|'''Key'''||'''Effect'''
+
!Key||Effect
 
|-
 
|-
 
|1-2||Build road
 
|1-2||Build road
Line 167: Line 194:
 
|R||Toggle removal tool for roads
 
|R||Toggle removal tool for roads
 
|-
 
|-
| ||
+
|colspan="2" style="border-left:1px solid white; border-right:1px solid white" |<!-- Dock construction ---->
|-
+
|- style="background:#efefef;"
 
!colspan="2"|Dock construction
 
!colspan="2"|Dock construction
|-
+
|- style="background:#efefef;"
|'''Key'''||'''Effect'''
+
!Key||Effect
 
|-
 
|-
 
|1||Build [[Docks|Canal]]
 
|1||Build [[Docks|Canal]]
Line 185: Line 212:
 
|6||Place [[Docks|buoy]]
 
|6||Place [[Docks|buoy]]
 
|-
 
|-
| ||
+
|colspan="2" style="border-left:1px solid white; border-right:1px solid white" |<!-- Airport construction ---->
|-
+
|- style="background:#efefef;"
 
!colspan="2"|Airport construction
 
!colspan="2"|Airport construction
|-
+
|- style="background:#efefef;"
|'''Key'''||'''Effect'''
+
!Key||Effect
 
|-
 
|-
 
|1||Construct [[Airports|airport]]
 
|1||Construct [[Airports|airport]]
Line 195: Line 222:
 
|2||Demolish
 
|2||Demolish
 
|-
 
|-
 +
|colspan="2" style="border-left:1px solid white; border-right:1px solid white" |<!-- Landscaping ------------>
 +
|- style="background:#efefef;"
 
!colspan="2"|Landscaping
 
!colspan="2"|Landscaping
|-
+
|- style="background:#efefef;"
|'''Key'''||'''Effect'''
+
!Key||Effect
 
|-
 
|-
 
|Q||[[Landscaping#Lowering land|Lower land]]
 
|Q||[[Landscaping#Lowering land|Lower land]]
Line 209: Line 238:
 
|D||Demolish tool
 
|D||Demolish tool
 
|-
 
|-
|I||Open [[trees]] window
+
|I||Open trees window
 
|-
 
|-
 
|O||Place [[sign]]
 
|O||Place [[sign]]
 
|-
 
|-
| ||
+
|colspan="2" style="border-left:1px solid white; border-right:1px solid white" |<!-- Bridge construction -->
|-
+
|- style="background:#efefef;"
 
!colspan="2"|Bridge construction
 
!colspan="2"|Bridge construction
|-
+
|- style="background:#efefef;"
|'''Key'''||'''Effect'''
+
!Key||Effect
 
|-
 
|-
 
|1-9||Select [[Bridges|bridge]]
 
|1-9||Select [[Bridges|bridge]]
 
|-
 
|-
| ||
+
|colspan="2" style="border-left:1px solid white; border-right:1px solid white" |<!-- Scenario editor ---->
|-
+
|- style="background:#efefef;"
 
!colspan="2"|Scenario editor
 
!colspan="2"|Scenario editor
|-
+
|- style="background:#efefef;"
|'''Key'''||'''Effect'''
+
!Key||Effect
 
|-
 
|-
 
|F1||Pause game
 
|F1||Pause game
Line 241: Line 270:
 
|F7||Road construction
 
|F7||Road construction
 
|-
 
|-
|F8||Plant [[trees]]
+
|F8||Waterways tool
 
|-
 
|-
|F9||Place [[sign]]
+
|F9||Plant trees
 
|-
 
|-
|F10||Jukebox
+
|F10||Place [[sign]]
 
|-
 
|-
|F11||Land area information tool
+
|F11||Jukebox
 
|-
 
|-
| |
+
|F12||Land area information tool
 
|-
 
|-
 
+
|colspan="2" style="border-left:1px solid white; border-right:1px solid white" |<!-- Orders --------------->
 
+
|- style="background:#efefef;"
 
+
 
!colspan="2"|[[Orders|Order]] Window
 
!colspan="2"|[[Orders|Order]] Window
|-
+
|- style="background:#efefef;"
|'''Key'''||'''Effect'''
+
!Key||Effect
 
|-
 
|-
 
|D||skip order
 
|D||skip order
Line 262: Line 290:
 
|F||delete order
 
|F||delete order
 
|-
 
|-
|G||non-stop
+
|G||goto order
 
|-
 
|-
|H||goto order
+
|H||non-stop
 
|-
 
|-
|J||full load
+
|J||full load any cargo
 
|-
 
|-
|K||unload
+
|K||unload all
 
|-
 
|-
 
|}
 
|}
 
|}
 
|}
  
 +
----
 +
 +
'''Associated Links & Files'''
 +
 +
*[http://www.citybuildergames.com/openttdhotkeychart/OpenTTDHotkeyPDF.pdf Hotkey Chart in PDF format] (easy to print out for easy reference)
 +
*Another [http://www.tt-forums.net/viewtopic.php?f=29&t=57494 Hotkeys Reference Card] in PDF format (A4 3-fold 6-col), based on OpenTTD v1.1.3.
  
 
[[Category:Playing]]
 
[[Category:Playing]]

Revision as of 10:08, 17 May 2020



Merge.png

It has been suggested that this article or section be merged with Hidden features. (Discuss)

This is a list of keyboard shortcuts used in the game. Their function can change depending on what window you have open. These are based on the latest source, hence they might not work on older versions of OpenTTD. See also the most used shortcuts and undocumented key combinations.

Some parts of the key handling in OpenTTD assumes a US Qwerty layout. If a hotkey doesn't work as documented, look on an image of the US keyboard to figure out where the key with the mentioned symbol is located on your keyboard. If that still doesn't work, you can customize the hotkey to use a different key sequence by editing hotkeys.cfg (you will still need to mind that OpenTTD assumes a US Qwerty layout and may need to write a different symbol in hotkeys.cfg than what the key produces in other programs on your computer).

Notice.png

Note
Note: hotkeys.cfg is in the same root folder as your save files, ie ~/.openttd/hotkeys.cfg or ~/Documents/OpenTTD/hotkeys.cfg

Basic hotkeys
Win Mac Effect
Alt + Enter Command + Enter Enter/Exit fullscreen mode
Tab Fast forward (Hold button to fast forward, release to return to normal)
~ § Display command line console.
Ctrl + Enter Resize the console to entire window and back.
Shift + Click Instead of building, a cost estimate window pops up.
Normal ingame (no menu open)
Win Mac Effect
Space Close error messages/news items
Delete Fn+Del Close all non-sticky windows
Shift + Del Fn + Shift + Del Close all windows, even sticky ones
Esc Close active tool. Can also abort actions after pressing but before releasing the mouse button.
F1/Pause Fn+F1 Pause game
F2 Fn+F2 Game options
F3 Fn+F3 Save game
F4 Fn+F4 Map
F5 Fn+F5 Town list
F6 Fn+F6 Subsidies
F7 Fn+F7 Station list
F8 Fn+F8 Finances
F9 Fn+F9 Your company's general information (same as clicking on your HQ)
F10 Fn+F10 Operating Profit Graph
F11 Fn+F11 Company League table
F12 Fn+F12 Fund new industry
Shift + F1 Fn+Sft+F1 Your company's trains (Vehicle lists)
Shift + F2 Fn+Sft+F2 Your company's road vehicles (Vehicle lists)
Shift + F3 Fn+Sft+F3 Your company's ships (Vehicle lists)
Shift + F4 Fn+Sft+F4 Your company's aircraft (Vehicle lists)
Shift + F5/+ Fn+Sft+F5 Zoom in
Shift + F6/- Fn+Sft+F6 Zoom out
Shift + F7 Fn+Sft+F7 Opens the Railroad construction toolbar
Shift + F8 Fn+Sft+F8 Opens the Roadway construction toolbar
Shift + F9 Fn+Sft+F9 Opens the Dock construction toolbar
Shift + F10 Fn+Sft+F10 Opens the Airport construction tollbar
Shift + F11 Fn+Sft+F Plant trees
Shift + F12 Fn+Sft+F12 Jukebox
Arrow keys Scroll around the map
Shift + Arrow keys Scroll faster
L Open landscaping toolbar
M Shows minimap
V Opens extra viewport
A Toggles autorail mode
Z Zooms in to the mouse pointer's location
C Centers screen at mouse pointer's location
X Turn all unlocked transparency options on or off
Ctrl + X Open transparency options window
Ctrl + 1-9 Toggle a certain transparency option
Ctrl + U Clear text in input fields
Ctrl + W Abandon game and return to main menu
Ctrl + Q Quit to OS
Ctrl + S Take screenshot
Ctrl + G Takes a screenshot of the ENTIRE map

Note This will take a few seconds and will seem to "freeze" OpenTTD. Also note that these screenshots are HUGE, 16352x8192 pixels on a default sized map and each screenshot takes up around 130 MB as BMP, 75 MB as PCX and 15 MB as PNG , so watch your free space carefully. :-) This hotkey caused a lot of different problems related to accidental pressing of the keys and was removed in the latest versions. If you want to use this feature, you need to edit your hotkeys.cfg and bind it there.

Ctrl + B View the bounding box structure (for grf authors and other freaks).
Railroad construction
Key Effect
1 to 4 Build railroad track
5 or A Autorail mode
6 Demolish tool
7 Build depot
8 Build waypoint
9 Build railway station
S Place signals
B Build bridge
T Build tunnel
R Toggle removal tool for rails, stations etc.
C Convert to this type of rail
Road construction
Key Effect
1-2 Build road
3 Autoroad tool
4 Demolish tool
5 Build road depot
6 Build bus station
7 Build truck bay
B Build bridge
T Build tunnel
R Toggle removal tool for roads
Dock construction
Key Effect
1 Build Canal
2 Build Lock
3 Demolish
4 Build shipyard
5 Build dock (harbour)
6 Place buoy
Airport construction
Key Effect
1 Construct airport
2 Demolish
Landscaping
Key Effect
Q Lower land
W Raise land
E Level land
U Purchase land
D Demolish tool
I Open trees window
O Place sign
Bridge construction
Key Effect
1-9 Select bridge
Scenario editor
Key Effect
F1 Pause game
F2 Game options
F3 Save scenario
F4 Land generation tool
F5 Town generation tool
F6 Industry generation tool
F7 Road construction
F8 Waterways tool
F9 Plant trees
F10 Place sign
F11 Jukebox
F12 Land area information tool
Order Window
Key Effect
D skip order
F delete order
G goto order
H non-stop
J full load any cargo
K unload all

Associated Links & Files

Personal tools