Skip to main content
To change traffic density in Euro Truck Simulator 2, use the g_traffic variable. 0 turns AI traffic off, 1.0 is the default and 10.0 is the maximum. Type g_traffic 2 in the developer console, or set uset g_traffic "2" in config.cfg to keep it. This is a setting in your own game. On a Convoy server, traffic in server_config.sii turns AI traffic on or off for the session.

How to change AI traffic density in your game

With the console (instant)

1

Turn on the console

With the game closed, set uset g_developer "1" and uset g_console "1" in config.cfg. See console commands.
2

Type the command

In game, press ~ and type:
Type g_traffic on its own to see the current and default value.

With config.cfg (every time the game starts)

1

Close the game

Close Euro Truck Simulator 2.
2

Edit the line

Open config.cfg in Documents\Euro Truck Simulator 2\ and change the g_traffic line:
3

Save and start

Save the file and start the game. You don’t need the console for this method.

Which g_traffic value should I use?

Higher values mean more AI vehicles to draw, which can lower your frame rate. Raise it in small steps.

How to set traffic on your Convoy server

In Convoy, AI traffic is synchronised for all players. Your server decides whether there is traffic at all:
1

Stop the server

2

Edit server_config.sii

In Files, open .local/share/Euro Truck Simulator 2/server_config.sii and set traffic: true or traffic: false.
3

Start the server

Start it again. The setting applies to the whole session.
The file also has max_vehicles_total (default 100), max_ai_vehicles_player (default 50) and max_ai_vehicles_player_spawn (default 50). SCS doesn’t document these in detail, so leave them at their defaults unless you are testing. See server_config.sii explained.

Frequently asked questions

What is the ETS2 traffic density command?

g_traffic, followed by a value from 0 to 10, for example g_traffic 2. The developer console must be on.

How do I turn off traffic in ETS2?

Type g_traffic 0 in the console, or set uset g_traffic "0" in config.cfg. On your Convoy server, set traffic: false.

What does g_lod_factor_traffic do?

It multiplies the detail distance of traffic vehicles (default 1.0). It changes how far away cars are drawn in detail, not how many there are.

Can I remove traffic for a moment?

g_set_time <hours> <minutes> 1 sets the time and removes traffic, for example g_set_time 8 0 1.

ETS2 server guide

Every ETS2 page in one place.

Console commands

Enable the console.

Teleport

goto and Ctrl+F9.

server_config.sii explained

traffic and vehicle limits.

Hardcore convoy settings

Rules for a stricter session.

Checked against the official SCS configuration variables, console commands list and dedicated server documentation on 30 October 2026; server steps tested on our Game Panel (Euro Truck Simulator 2 dedicated server 1.61s). Values may change if the game changes.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to upgrade your hosting? Use code KB20 at checkout for 20% off your first order!

Last Updated: October 2026