- 本页面由Hotkeys (en)与Hidden features (en)页面合并翻译而来。
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 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).
Note
Note: hotkeys.cfg
is in the same root folder as your save files, ie ~/.openttd/hotkeys.cfg
or ~/Documents/OpenTTD/hotkeys.cfg
|
|
* 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. On very large maps, a full-map screenshot can be upwards of multiple gigabytes in size even in fully-compressed PNG format. This hotkey caused a lot of different problems related to accidental pressing of the keys and was removed in the latest versions. A warning was soon added for such large screenshots. If you want to use this feature, you need to edit your hotkeys.cfg and bind it there.
快捷功能
There are many features within OpenTTD with no GUI buttons or easily accessible to operate. To most inexperienced users, these are Hidden Features.
Here is a list of the hidden features, which are helpful, but not necessarily obvious even to experienced players. Feel free to complete this list.
This page does not list Hotkeys (en), see there for information.
Ctrl键快捷功能
The Ctrl key can be very useful. Holding it down while clicking can make tedious tasks much faster.
Action | Command |
---|---|
Construction | |
Place Adjacent Station | Hold Ctrl and place a station next to an existing one to create a new one instead of enlarging the existing. Needs Advanced Settings (en) "adjacent_stations" set. |
Join with existing station (r14919 / 0.7.0) |
Hold Ctrl while building a station to get a list of nearby stations to choose from which station the new one should be joined with. You can still choose to create a new (adjacent) station. |
Remove Function | Build road/rail tool -> Hold Ctrl to toggle removing (except for signals - use R for that). |
Build last built bridge type if possible (r14805 / 0.7.0) |
Ctrl + build bridge |
Signals | |
Place Signals (en) | Railway construction -> Build signal -> Ctrl + click plain railroad track |
Place pre-signals | Railway construction -> Build signal -> Ctrl + click already existing signal |
Signals (en) autocomplete (r10437 / 0.6.0) |
Railway construction -> Build signal -> Ctrl + drag over plain railroad track. Works for remove too. |
Depot window | |
Clone a vehicle with Orders (en) | Depot window -> Clone Vehicle -> Ctrl + click a vehicle |
Drag multiple train parts in depot | Depot window -> Ctrl + move wagon |
Show vehicle load and capacity | Depot window -> Right Mouse Button on vehicle |
Show vehicle load and capacity of multiple vehicles | Depot window -> Ctrl + Right Mouse Button on vehicle |
Reverse engine direction | Ctrl + click on an engine in depot window [only if supported by NewGRF] |
Purchase list | |
Hide/Show engine (r26805 / 1.5) | Purchase list -> Ctrl + click on vehicle model |
Vehicle window | |
Scroll to current vehicle destination (r19216 / 1.0) |
OpenTTD < 1.11: Vehicle window -> Ctrl + click the Start-Stop/Status bar
OpenTTD >= 1.11: Seperate button next to the Start-Stop/Status bar |
Auto service | Ctrl + click goto depot icon |
Follow vehicle |
OpenTTD < 1.11: Ctrl + click "Center on vehicle" in vehicle window (normal zoom only)
OpenTTD >= 1.11: Double + click "Center on vehicle" in vehicle window (normal zoom only) |
Show time table instead of orders | Ctrl+click the orders button |
Order list | |
Orders (en) | Orders window -> Go To -> click a vehicle |
Assign Orders (en) | Orders window -> Go To -> Ctrl + click a vehicle |
View location of order | Orders window -> Ctrl + click an order |
Order Modifiers (r14827 / 0.7.0) |
Orders window -> Go to -> Hold Ctrl while clicking on a...
|
Timetable window | |
Non-destructive timetable autofill (r14592 / 0.7.0) |
Hold Ctrl while clicking on an autofill button |
Timetable spreading of vehicles (r25377 / 1.4.0) |
Ctrl+Click when setting a start date on timetable |
Viewport | |
Start/stop vehicle (r19714 / 1.1) | Ctrl + click vehicle on the map to start/stop it |
Remove your own sign (r13501 / 0.6.2) |
Ctrl + click on the sign |
View location in viewport | Ctrl + click on a Location (various windows) button shows the location in a new viewport instead of scrolling the main view there |
Transparency options | |
Lock transparency (r12102 / 0.6.0) |
Transparency settings -> Ctrl + click button to lock transparency option ('x' will not toggle it anymore) |
Vehicle list | |
Show other type of vehicle group window than the default | Hold Ctrl while opening a player's train/road vehicle/aircraft/ship list |
Add all vehicles with a shared order list to a group (r24138 / 1.3.0) |
Group window -> Hold Ctrl while dragging a vehicle to a group |
Finances window | |
Borrow/Repay maximum cash | Finances window -> Ctrl + click Borrow/Repay button |
Intro screen | |
Quick start new game (r15690 / 0.7.0) |
Hold Ctrl while clicking on "New Game" in the main menu to directly start a game without opening the "World Generation" window |
Scenario editor | |
Remove desert in scenario editor | Landscape -> Desert tool -> Ctrl + click tile |
更多快捷功能
Action | Description |
---|---|
Chat Auto Complete | Use Tab to toggle through player and town names |
Chat Window | Shift+Enter (Shift+T) sends a message to all players, Ctrl+Enter (Ctrl+T) sends a message to all team mates and Enter (T) is customizable |
Cancel Build | When you click and drag to build an object but it is in the wrong place, it will be built when you release the mouse button. Instead hold the mouse button and press Esc to cancel the build. |
Cost Estimation | Hold Shift key while performing a build action. Works almost everywhere. Also allows you to cancel construction if you have already clicked (eg. about to build track in wrong place, just hold down Shift and release mouse button). |
View location in small map | After using a location button to scroll the main window to that location click again to scroll the small map to the same location. |
Roll up/down window | Mouse wheel up/down while hovering the cursor on a window's titlebar. |
- Mouse wheel for list scrolling or map zooming
- Bridge upgrades: Build a new bridge over the old bridge to upgrade it. You can't change the type, e.g. road to rail, this way. If upgrading a town bridge the new bridge must have a higher top speed, but otherwise it can be anything you like. (r8567 / 0.6.0)
- NewGRF developer tools (r19515 / 1.1.0)
- For AI developers: break on log message (r19544 / 1.1.0)
Associated Links & Files
- Hotkeys Reference Card in PDF format (A4 3-fold 6-col), based on OpenTTD v1.1.3.