AI Pit Control Lite — Phase 1 (Offline Racing Only)

AI Pit Control Lite — Phase 1 (Offline Racing Only) 2.3

  • Author Author Gavin2
  • Creation date Creation date
  • Downloads Downloads 195
AI Pit Control banner.webp

AI Pit Control Lite — Phase 1 (Offline Racing Only)
Fuel Estimator + Pit Tracker for Assetto Corsa
Version: 2.0 (Lite Edition)
Author: Gavin2

This app is not suitable for quick jump-in-and-race sessions.

AI Pit Control requires practice and qualifying sessions to collect the data it needs to work correctly.

What is AI Pit Control Lite?

AI Pit Control
is a specialised utility for Assetto Corsa designed to fix one of the sim's oldest problems: unreliable AI pit strategy.
By moving away from the game's default fuel-based triggers, it gives the AI a realistic, distance-based strategy that mirrors professional motorsport.

The core philosophy is simple — distance, not fuel, should trigger a pit stop.
The app reads track length directly from the ui_track.json metadata (or via the CSP API) and divides your race into equal-distance stints based on your chosen settings.
Rather than hoping the AI notices it is low on fuel, AI Pit Control uses a three-stage nudge system to bring each car into the pits at the right moment.

The Three goals

Every design decision in AI Pit Control is built around three goals:

1. All AI cars must complete exactly the number of pit stops set by the player — no extra stops.
2. All AI cars must complete the race without running out of fuel.
3. The result must match real-world racing as closely as possible within the constraints of Assetto Corsa.
These aims can only be achieved if AI Pit Control can read the information it needs from the sim.

Two requirements are non-negotiable:
Fuel consumption must be enabled in Content Manager or Assetto Corsa settings.
Per-car fuel consumption data matters — the more accurate the car data, the better the result.

Requirements and Responsibilities
Before your first race with AI Pit Control, make sure the following are in place:
Your race weekend must include practice and qualifying sessions. The app uses these sessions to measure each car's fuel burn rate before the race starts.
Without that data, fuel loads and stint calculations will be inaccurate.
Player car data.acd must be unpacked. It is strongly recommended to unpack all AI car data files as well.
Cars with locked data will fall back to estimated values.

Player fuel loads are the player's responsibility.
The Fuel Estimator window shows the recommended load for your chosen strategy, but loading the correct amount is up to you.
The main Settings window includes an option to enable or disable AI Pit Control entirely. When disabled, no fuel sync, drain triggers, or pit tracking are active.

Important: All text displayed in red in any AI Pit Control window represents an unresolved issue that requires your attention. Red warnings must be resolved — or consciously accepted — before racing. The app will work best when all indicators have cleared to blue, yellow, or green.

The Two Modes
pit setup after F1 field check.webp


F1 Cars Only
— Sync AI to Player Fuel
A specialised mode tuned for Formula 1 and high-performance single seaters.
F1 cars often have tightly matched fuel-burn characteristics, and this mode synchronises all AI fuel loads to the player's chosen start fuel, with small individual variations applied per car.
A field compatibility check runs during practice to identify any cars whose burn rate falls outside the expected range — those cars are flagged by name so you can decide whether to include them.

F1 Feild check file.webp


Independent Strategy — Distance-Based
The primary mode for most racing categories. The app calculates total race distance and divides it into two or three stints depending on your preference, fuelling each AI car based on its own measured burn rate from practice.
Cars with higher consumption get more fuel; efficient cars get less.
The result is a field where each car is running its own strategy rather than everyone mirroring the same number.

Support for additional stint configurations (3–8 stops) is planned for Phase 2.

Natural Pit Stop Spread
One of the subtler features of AI Pit Control is that pit stops are deliberately staggered across the field. The app applies a built-in ±2% random variation to each AI car's stint distance trigger, so cars do not all pit on the same lap.
In a typical race this produces a natural spread of two to three laps, with the field arriving in waves rather than a single queue — much closer to what you would see in real motorsport.

The Pit Tracker
F1 final stint all safe.webp

The Pit Tracker window is a live race dashboard covering every car in the field simultaneously.
At a glance you can see:
Current fuel load — per car, updated every frame, showing real remaining fuel as each car burns through its stint
Laps remaining estimate — calculated from that car's own measured burn rate, not a generic field average
Laps completed and pit stops taken — so you always know where everyone is in their strategy
Retirement status — cars that have stopped permanently are flagged immediately and remain flagged for the rest of the race

On the final stint, each car's laps-remaining figure gains a confidence indicator — SAFE, MARG, or RISK — so you can see at a glance which cars have comfortable fuel margin, and which are likely to struggle to the flag.

Expanding any car's entry shows its full pit stop history: the lap it stopped, how much fuel was added, total stop duration, and the actual measured time spent stationary in the box receiving fuel.
That last figure is particularly useful — it shows you clearly when a short refuel time gave a rival an advantage that had nothing to do with strategy.

How app looks in race
independent Race start.webp


Installation
Download and extract the ZIP file
Copy the apps folder into your AC directory:
SteamLibrary\steamapps\common\assettocorsa\apps\lua
You should end up with:
assettocorsa\apps\lua\AI_Pit_Control_Lite
enable AI_Pit_Control_Lite in
Content Manager/settings/assettocorsa/app windows

Go race

Whether you're running a 10-lap sprint
or a full-length endurance race,
AI Pit Control ensures the challenge remains on the track, not in the fuel tank.
Download it today and finally give your AI opponents the brain they deserve.

Enjoy
Gavin2
Author
Gavin2
Downloads
195
Views
308
First release
Last update

Ratings

5.00 star(s) 1 ratings

Latest updates

  1. random AI retirements

    Hi everyone Hope the app is doing what you want it to do:) Have been running some stress tests...
  2. Some fixes

    allowed fuel checks to fire in qualifying if user skips practice Note: Skipping practice will...

Latest reviews

this is super good
Gavin2
Gavin2
Thankyou for the review enjoy
Back