The Console is a feature of most video games to type commands. It is mainly used by developers, but also by many players for cheating. In American Truck Simulator and Euro Truck Simulator 2, the console can be opened by pressing "~", but it has to be enabled first.
Enable console[]
To open the console you have to go to the game's home directory
Windows[]
The default location is either:
<User>\Documents\Euro Truck Simulator 2\
or
<User>\Documents\American Truck Simulator\
macOS[]
These folders are best accessed through the Finder's "Go to Folder" command (⇧⌘G):
~/Library/Application Support/Euro Truck Simulator 2
or
~/Library/Application Support/American Truck Simulator
Linux[]
The default locations is located at:
<User>/.local/share/Euro Truck Simulator 2/
or
<User>/.local/share/American Truck Simulator/
Config file[]
Once located, open the file config.cfg using a text editor (e.g. Notepad on Windows) and set the following config variables (default is 0):
uset g_developer
from"0" to "1"uset g_console
from "0" to "1".
After saving and starting the game you can open the console by pressing "~" on your keyboard. You only have to enable the console once, so after doing this it will always stay enabled.
Windows 10 issue for non-typical layouts[]
The above does not suffice if you use Windows 10 and a keyboard with a non-typical layout (particular Russian). Console will not start on "~" as the game will not see it. In that case you need to reassign console on some other key, the problem is – this can't be done inside the game itself as there is no console listed in keys menu. So you have to manually change it. Go to:
Documents\Euro Truck Simulator 2\steam_profiles\[digits and letters]
and open "controls.sii" via notepad. Find line:
mix console `modifier (this usually goes as line 118 or 126)
and change "keyboard.grave?0" to another key, you may use F10, so you need to write "keyboard.f10?0"
F10 itself is involved for screenshot but it is not needed in that case as Steam provides screenshot on F12 already.
Shortcuts[]
While using the console, one can use these shortcuts for faster navigation.[1]
Keys | Description |
---|---|
ArrowUp or ArrowDown
|
Select previous commands again |
Ctrl + Shift
|
Change the mode of message display – errors and warnings, all. |
PageUp and PageDown
|
Scroll the console content up / down. |
Shift + PageUp or PageDown
|
Quickly scroll the contents of the console up / down. |
Ctrl + PageUp or PageDown
|
Slowly scroll the contents of the console up / down. |
Useful Commands[]
Values with "[value]" are optional and values with "<value>" are required for the command.
Command + Parameters | Effects + Instructions |
---|---|
exit [reason]
|
Exits current profile. |
game
|
Reloads current profile. |
g_minicon <0 or 1>
|
Shows or hides the mini-console |
g_set_time <hours> [minutes] [remove_traffic]
|
Changes the current game time. Note that this command only can advance the time!
Setting a value for minutes is only optional. |
g_set_weather <weather_index>
|
Changes the current weather. 0 (even numbers) = dry / 1 (odd numbers) = rainy. |
g_set_skybox <skybox_idx>
|
Set the sky according to index number (only 1-3). |
g_traffic <0 or 1>
|
Disables or enables AI traffic |
goto <x;y;z>
|
Enables Free Camera and teleports your camera to the specified location.
Tokens are unique internal identifiers (e. g. salt_lake). The quotes around city names are optional if the name is just a single word. Using abbreviations is possible (e. g. goto salt and goto "lake c" both go to SLC). [2] |
pause
|
Pauses the game (Same effect as "F1") |
quit
|
Quits the game and returns back to the desktop. |
warp <speed>
|
Changes the simulation speed of the game (0.9 = 90% of standard speed) |
g_show_game_elements <0 or 1>
|
Disables or enables ingame items like the box around the trailer before hooking it up
Gas station icon repair icons and others |
Free Camera[]
You can open the free camera (also known as developer camera or "dev cam") when the console is enabled by pressing "0". It will also be enabled in the case of teleportation with goto
. Flying speed can be altered with the mousewheel.
Keys | Description |
---|---|
Numpad 8
|
Move forward |
Numpad 4
|
Move left |
Numpad 6
|
Move right |
Numpad 5
|
Move backward |
Numpad 9
|
Move upward |
Numpad 3
|
Move downward |
Ctrl + F9
|
Teleport vehicle to camera |
Note: Vehicle teleportation does not work in online jobs since the 1.22 update. Before the 1.41 update, the key to press was simply F9. As of that update, the key to press was Ctrl + F9.
Launching the Map Editor[]
As of the 1.36 update, to open the Map Editor, one must create a shortcut to the game's exe file (located at "C:\Program Files (x86)\Steam\steamapps\common\Euro Truck Simulator 2\bin\win_x64\eurotrucks2.exe" for Euro Truck Simulator 2 on Windows and "C:\Program Files (x86)\Steam\steamapps\common\American Truck Simulator\bin\win_x64\amtrucks.exe" for American Truck Simulator on Windows) and add the extension " -edit"
Previously until the update 1.35, the Map Editor was able to be accessed in-game via the command "edit", but this is no longer the case.
See also[]
For a more complete list of the commands in SCS' games, see the commands page on the SCS Modding Wiki.
References[]
- ↑ SCS Software, "Documentation/Engine/Console", (accessed 2018-06-09)
- ↑ https://forum.scssoft.com/viewtopic.php?p=1567126#p1567126