Truck Simulator Wiki

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. On Windows, the default location is either <User>\Documents\Euro Truck Simulator 2\ or <User>\Documents\American Truck Simulator\. On Linux, the default locations are located at <User>/.local/share/Euro Truck Simulator 2/ or <User>/.local/share/American Truck Simulator/ In this folder you open the file config.cfg with a text editor (Notepad on Windows) and set the config variable (default is 0) in uset g_developer "0" and uset g_console "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[]

The above does not suffice, however, 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.


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>

goto <city_token>

goto "<city name>"

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 when the console is enable by pressing "0", it will also be enabled in the case of teleportation with goto. Flying speed can be altered with the mousewheel.

Note: Teleportation does not work in online jobs since the 1.22 update.

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
F9 (1.40 or earlier) Teleport vehicle to camera
Ctrl + F9 (1.41 or later) Teleport vehicle to camera

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\American / Euro Truck Simulator\bin\win_x64\am/(eu?)trucks.exe" on Windows) and add the extension " -edit"

Previously, 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.