AI pit strategy

  • Thread starter hamiltonfan2205
  • Start date

hamiltonfan2205

Please can someone tell me if it's possible to program the AI pitstrategies and if so, how do you do it?
 
yes, it's quite easy:

you have to open de trackname.gdb

and put these lines:

PitStopStrategies
{
Driver1 = 2 - 29,46
Driver2 = 2 - 27,40
Driver3 = 3 - 20,35,48
}

Explanations:
Driver1: the name of the driver, should match the name on .veh file
numbers 2&3 are the number of pit stops that you want that driver to do
numbers 29,46,27,40.... the lap when you want them to stop

I usually write this lines after SetingFolder,SettingsCopy,SettingsAI lines but i think it doesn't matter.

hope this helps you

by the way, you also have to respect the spaces betwen numbers and betwen =
 

Back
Top