Add AI traffic to your Assetto Corsa server with AssettoServer: install it from the Mod Manager, reset two config files, set EnableAi to true and choose which car slots the AI drives. About ten minutes from start to finish.

Before you start

  • AssettoServer replaces AC Server Manager. The two don't work together, so after this guide you configure your server through Configuration Files instead of AC Server Manager.
  • Every track needs AI lines (the fast_lane.ai file in the track's ai folder). The default tracks have them. Some custom tracks don't; for those, search for "Assetto Corsa how to make AI paths" and follow one of the many community guides, or pick a traffic track that ships with AI lines, such as Shuto Revival Project.
  • This guide covers the basics. AssettoServer has many more options (traffic density, speeds, plugins); they're all in the AssettoServer wiki.

Take a backup before you start so you can go back to your AC Server Manager setup if you change your mind.

Step 1: install AssettoServer

  1. Press STOP.
  2. Open Mod Manager and uninstall AC Server Manager.
  3. Still in Mod Manager, install AssettoServer (AI Traffic).
  4. Press START so the server creates all the files AssettoServer needs, then press STOP again.

Step 2: switch on AI traffic

  1. Open Configuration Files, edit server_cfg.ini with the Config Editor, tick Reset file to default and press Save & Exit.

    Reset file to default ticked for server_cfg.ini in the Config Editor

  2. Do the same for entry_list.ini: Config Editor, tick Reset file to default, Save & Exit.

    Reset file to default ticked for entry_list.ini in the Config Editor

  3. Edit extra_cfg.yml and set EnableAi: true, then save.

    EnableAi set to true in extra_cfg.yml

Step 3: choose the AI cars

  1. Edit entry_list.ini again, this time with the text editor.
  2. Add AI=auto to every car slot you want the AI to drive, like this:
    [CAR_1]
    DRIVERNAME=JohnDoe1
    MODEL=bmw_m3_e30
    SKIN=alpine_white
    ...
    AI=auto

    AI=auto added to car entries in entry_list.ini

  3. Save and press START. Join the server and the AI traffic should be on the road.
SettingWhat the slot does
AI=autoAI drives the car while no player is using the slot; a joining player can take it over
AI=fixedThe slot is always AI and players can't take it
no AI lineA normal player slot

More AI cars means more work for the server. If traffic stutters, use fewer AI slots or upgrade your package: see How to upgrade your hardware package.

Troubleshooting

The server starts but there's no AI traffic. Why?

Check these three things: EnableAi: true is saved in extra_cfg.yml, your car slots have AI=auto or AI=fixed in entry_list.ini, and your track has AI lines. The Log Viewer usually tells you which one is missing.

The server won't start after the changes. What now?

Open the Log Viewer for the error. Most often a car or track named in the config isn't installed on the server. See How to add new cars and How to add new tracks.

Can I add rain and weather too?

Yes, AssettoServer handles weather as well. See How to add rain weather to your Assetto Corsa server.

Related guides

Need a hand? Open a support ticket. Our team is here 24/7.

Was this answer helpful? 9 Users Found This Useful (62 Votes)