Hi
@ancient_3 .
I've tested your app, only for the blue flag behavior. Honestly, it works well.
Maybe the way the cars move away from the path and return to it could be smoother, I have to test it deeply.
I still have to test the pit strategies.
What can be done?
I mean, the perfect strategy should be the one that optimises the pace of the car during all the race.
Can it be determined before the race start? I think RARE.lua made something like that.
I know the file tyre.ini gives info about the tyre duration and performance. How to translate that in tenths of seconds on a laptime. Regarding the fuel influence, I don't know if there is something similar.
Is it possible to force the ai to choose a specific tyre compound at the race start and a fuel level associated to this tyre compound?
Something that could be considered is defining a basic pit strategy, which should correspond to the optimal strategy defined above.
And then define some alternative strategies, randomly selected by cars or selected by cars that have failed their qualifying session.
For example, let say a car should be around the 3rd place but it qualified 18th, ai is strongly encouraged to select an alternative strategy (for example multiple pits with low fuel and soft tyres, or harder compound and longer 1st stint or even no pit)
Maybe that is too far from what you had in mind, I don't know.
But I encourage you to continue developing the app, that's good work!