A race circuit is a closed loop with a start line, a pit lane and a racing line for the AI cars. In TreCorsa you draw the layout as a road, then add kerbs, run-off areas, barriers and the files that Assetto Corsa needs to run races. This guide shows the tools for each part, and some tips to make the work faster.

Draw the layout

Open Draw Road and click on the terrain to place road points. To close the loop, click the first point again.

Shape the corners

Use the Curve Tool to shape each corner. You can use two spline systems:

  • Bezier Handles. Drag the handles of a point to set the exact shape of the corner.
  • Tangent (Auto). Click a road point and use the scroll wheel to make the corner sharper or rounder.

Tip: look at the layout from above while you shape the corners. It is easier to see if a hairpin is tight enough, or if a fast corner has a constant radius.

Add elevation

Use the Road Height Tool to drag a road node up or down. Use it for hills, crests, dips and changes in elevation through a corner.

Set width and banking

Use the Cross-Section Tool to change the road along the lap:

  • Drag the orange handles to change the road width. Use this for a wider start straight or wider braking zones.
  • Drag the camber arrows to bank the road. Hold Ctrl for fine steps. Use this for banked corners.
  • Drag the green handles to set the shoulder.

Set the road look

In Road Settings, choose a Road Texture profile and the Side Lines. Many circuits use white edge lines.

Build the pit lane

The pit lane is a second road next to the main straight.

  1. Draw a new road that leaves the main road before the start line and joins it again after the start line.
  2. Snap both ends of the pit road to the edge of the main road.
  3. Use the Curve Tool to make the entry and exit smooth.

Give the pit road a pitlane surface

Assetto Corsa must know which surface is the pit lane. Give the pit road its own surface with Is Pitlane turned on:

  1. In the Layers panel, open Roads and click the ⚙️ button of the pit road.
  2. Choose Road Surface Settings, then click Open Manager.
  3. Click + New Surface. Give it a Name and a Key Name, for example PITLANE.
  4. Choose a road Surface Type, and set the Friction. 1.0 is normal grip.
  5. Turn on Is Pitlane.
  6. Go back to Road Surface Settings. In Change surface for this road, choose your new surface and click Apply.

Start, finish and timing

Open the Start & Pit settings panel:

  1. Under Circuit type, check Start / Finish gates. The default, Auto (detect from road), usually finds that your track is a closed circuit. If it does not, set it to Closed circuit.
  2. In the Reset... list, choose Point & click start/finish gate to place the start line.
  3. Set the Player amount. This is the number of grid slots and pit boxes.
  4. Use Move start positions to set the grid behind the start line.
  5. Use Move pits to line up the pit boxes along the pit road.
  6. To add sectors, choose Timing Gate in the Add... list. If a gate counts in the wrong direction, use Reverse gate....

Use Go to... to jump the camera to the start line, the grid or the pits.

Make the AI lines

A circuit uses two AI lines. fast_lane.ai is the racing line around the lap. pit_lane.ai is the line through the pits. AI cars drive on these lines, so take time to make them good. The automatic tire marks also follow the racing line.

The racing line

  1. Open the AI Racing Line panel and choose fast_lane.ai.
  2. In Source Road, choose the main road.
  3. Click Copy Centerline. This makes a line along the middle of the road.
  4. Open Auto-Optimize Settings. Set Road Width Used and Edge Margin, then click Auto-Optimize Racing Line. The tool finds a smooth line that stays on the road.
  5. Click Smooth Line if you see small bumps in the line.

Then check the line corner by corner, and drag the nodes where you want a different line. Some tips:

  • Shift + click a node to select it. Ctrl + Shift + click another node to select all nodes between them. Then drag to move the whole stretch.
  • Drag Influence sets how far a drag blends into the nodes next to it.
  • The orange and blue markers are the left and right track boundaries. Drag them to set the track limits.
  • Click Re-even Nodes after a lot of edits, to space the nodes evenly again.

If your circuit uses more than one road, use the Route Builder. Click Add Road Section, then click each road in order where the line enters and leaves it. Turn on Closed loop and click Generate AI Line From Route.

The pit lane line

  1. Choose pit_lane.ai at the top of the panel.
  2. In the Route Builder, click Add Road Section. Pick the sections in order: the main road before the pit entry, the pit road, and the main road after the pit exit.
  3. Click Generate AI Line From Route.

The pit lane line must meet the racing line at both ends. Start it on the racing line before the pit entry, and end it on the racing line after the pit exit. If the two lines do not meet, AI cars cannot drive into and out of the pits correctly. Drag the end nodes of the pit lane line onto the racing line if you need to.

Add kerbs

Open Draw Kerb and set Snap To to Road Edge. Then click along the edge of the road where you want the kerb.

Choose a Kerb Preset to start fast:

  • Vallelunga kerb
  • Bevelled kerb
  • Nordschleife kerb
  • Sausage kerb
  • Misano kerb

Then change the shape if you want:

  • Width and Ramp Height set the size of the kerb.
  • Height Taper Length makes the ends of the kerb go down smoothly.
  • Width Taper Length and End Width make the ends of the kerb narrower.
  • Lateral Offset moves the kerb away from the road edge or onto it.

Kerbs in banked corners

Turn on Cut Out of Terrain to remove the terrain under the kerb, so that the terrain joins the outer edge of the kerb. Then turn on Follow Banking to tilt the kerb with the road camber. Follow Banking only works when Cut Out of Terrain is on.

Run-off areas

Run-off areas are surfaces next to the road. Open Draw Surface:

  • Sand Square and Sand Round make gravel traps. Put them on the outside of corners where cars go off.
  • Asphalt Square and Asphalt Round make asphalt run-off.

Use the Surface Height Tool to drag a surface node up or down if the run-off area does not sit well on the ground.

Barriers and walls

Open Draw Wall and click along the side of the track. Choose a wall type, for example:

  • Barrier, High Barrier or Concrete Barrier next to the track.
  • Tire Wall or Tire Wall 2 on the outside of fast corners.
  • Fence, Wall Fence or Concrete Barrier Fence in front of spectator areas.
  • Invisible Walls to keep cars inside the venue where you do not want a visible wall.

Use the Wall Height Tool to drag a wall node and change the height of the wall at that point.

Trackside objects

Brake markers

Open Place Signs & Objects and choose a brake marker. Click before a corner to place the boards. Set:

  • Sign offset: the distance from the road.
  • Sign side: Right of road or Left of road.
  • Sign end: how far before the corner the boards go.

Tip: make the racing line first. A brake marker takes its direction from the AI line near the place where you put it. If the preview faces the wrong way, scroll to flip it before you click.

Buildings

Tribunes, garages and tents are in Place Signs & Objects. Use Place Models for pit buildings, a control tower or anything else from the Asset Bank.

Export to Assetto Corsa

When your circuit is ready, export it to Assetto Corsa. The export warns you if the racing line is not a closed loop or does not cross the start line. If you see this warning, go back to the AI Racing Line panel and fix the line. Then drive the circuit in game, and come back to the editor to change corners, kerbs or the racing line.

Common problems

  • The export warns that the racing line is not a closed loop. The line has a gap, or it does not cross the start line. Turn on Closed loop in the Route Builder and generate the line again, or drag the end nodes together.
  • AI cars do not drive into the pits, or stop at the pit exit. The pit lane line does not meet the racing line. Drag the end nodes of pit_lane.ai onto the racing line.
  • Assetto Corsa does not treat the pit road as the pit lane. The pit road has no surface with Is Pitlane on, or you did not click Apply in Road Surface Settings.
  • The track has a start gate and a finish gate, not one start/finish gate. Auto detection found an A to B road. Set Start / Finish gates to Closed circuit.
  • Lap timing is wrong or doesn't work. Make sure the Timing gates are in the correct order. So first Timing gate 1, then Timing gate 2 and so on, in the driving direction of the track.
  • A kerb sinks into terrain. Turn on Cut Out of Terrain.
  • A brake marker faces the wrong way. There was no racing line near it when you placed it. Make the racing line first, or scroll to flip the preview before you click.

Frequently asked questions

Can I recreate a real circuit?

Yes. With TreCorsa Pro you can import the satellite image and the real elevation of the area, then draw the layout on top of the image. The hometown guide shows how the import works.

Can I race at night?

Yes. You place the lights yourself with Place Lights. They need Custom Shaders Patch to show in Assetto Corsa.

Can I race it online?

Yes. An export is a normal Assetto Corsa track, so you can use it on a server. Set the Player amount high enough for the whole grid. Every driver needs the same track folder.

Can I share my circuit?

Yes. You can publish it for the community to download.

Keep learning