- 133

- France
Actually the current ai fuel management is not really linked with the qualifying (to my knowledge). Both use the fuel_cons.ini to compute stints in the different sessions. Thus AC computes a number of laps to run and AI pit at their precomputed laps whatever the fuel tank level.But 20 laps is pretty much maximum, because of the lack of blue flag ai. And in order to get the pitting work, you absolutely have to play full qualifying. Otherwise ai cars can't determine the amount of fuel they need for the races and pit too early.
The "pit too early" issue seems due to a bug in this computation where the margin taken by AC to compute number of laps and fuel at start makes sometimes an overrun of the fuel tank capacity, hence AI instead takes a pre computed basis , which is usually something like 9 laps of fuel and could result in this "pit too early" issue.
Overall, the fuel is poorly managed right now, seems also the fuel multiplier in CM has no consequences on AI fuel management. That could be corrected in the next version of CSP, at least people are working on this.
About the blue flag AI, I made some tries that seem to work in some way, you can find the Dumb AI app here at GTP that showcases the behavior (remove all other pit stop strategy test that are just under development).
It is OK in this app to make AI checks if it is about to be outlapped, make a small lateral move from the AI spline and brake a little, then checks if the outlap process is finished and then get back to normal. Still needs some adjustements to ensure the lateral move is not too harsh or if the end of blue flag behavior comes not too early in case of the leader is outlapping a group of late runners at the same time, but overall, was quite satisfied with this first attemps: leader still lose some time, but more in a realistic way and with the tests I did, do not seem to get stuck like it was before.
However, I had no time until now to work on the outlapper behavior, there are still some situations were AI takes too much time before deciding to overtake. So, sure there could be improvement there, by changing temporarily its agression or directly the level of caution to enhance overtake capability, but these may be very risky choices , leading to huge and stupid crashes so there is a need that many testers do races at different AI levels in many differents situations of races/tracks to document how to enhance this ;-)
Last edited:





