Marco Versele
Hhmmm, yes ...
Another interesting feature I found in rFactor threads: you can improve the racing line of the AI on a track!
I tried it in GSC and it worked like a charm.
Here's how to do it:
1.
Make sure GSC is not running, otherwise all your effort will be overwritten when exiting GSC.
2.
Open UserData\YOURNAME\YOURNAME.prl with notepad, and look for the line
'Autocalibrate AI Mode="0" // When in a test day with 1 AI, AI will attempt to perfect his driving line, and save his knowledge for future use'
Change to Autocalibrate AI Mode="1", save and exit
3.
Start GSC, and choose the vehicle and track you want the AI to learn.
In Settings set the following options:
- Private testing = ON
- AI drivers = 1
- Race grid position = 1
- Race start time = 08:00 PM
- Type of start : STANDING
- Race length type = TIME
- Flagrules = NONE
- Ethanol usage = OFF
- Tyre wear = OFF
- Mech. failures = OFF
- Time scale = NONE
4.
Load the track. Don't start the race!
When you are in the monitor screen, choose Add AI.
The AI will start its training and a message appears: "STAY OUT OF MY WAY HUMAN". The longer the AI is learning, the better times it gets.
The messages inform you of the distance the AI drove per lap compared to the ideal line. With each lap this difference gets smaller.
Type 'R'-key to switch from 'delayed replay' to 'live'.
Right-clicking on the AI's name will switch to a list of all laps driven by the AI with the respective lap times.
You can speed up time by typing 'ctrl-T', this will not affect the learning of the AI.
After a number of laps the message appears 'AI finished the learning' or similar.
5.
Still some meters of difference with the ideal race line can be left over.
The AI can improve to about 0 m of difference!.
To obtain this, remove the AI from the drivers list, and add a new AI.
The new Ai will start where the previous AI ended, and will continue to improve.
6.
When the learning is finished for your car and track, a track.ini file has been created for your team in \GameData\Vehicles\mod\CarType\team folder.
(For Blancpain mod: \Gamedata\Vehicles\Teams\CarType folder)
In order for all other cars of the same vehicle type to profit from the learning of the AI, you can copy the track.ini file from the team folder and paste it into the \GameData\Vehicles\mod\CarType folder.
(For Blancpain mod: \GameData\Vehicles\Physics\CarType folder), that is: where the CarType.hdv files, CarType-Tires.tbc files and other car related files reside.
Remove the file from the team folder.
7.
This procedure is per car type and per track. You need to repeat for each different car or track
8.
DON'T FORGET!
Revert to the original state of your YOURNAME.prl file (see point 2.), and restore your ingame settings (see point 3.).
Enjoy
I tried it in GSC and it worked like a charm.
Here's how to do it:
1.
Make sure GSC is not running, otherwise all your effort will be overwritten when exiting GSC.
2.
Open UserData\YOURNAME\YOURNAME.prl with notepad, and look for the line
'Autocalibrate AI Mode="0" // When in a test day with 1 AI, AI will attempt to perfect his driving line, and save his knowledge for future use'
Change to Autocalibrate AI Mode="1", save and exit
3.
Start GSC, and choose the vehicle and track you want the AI to learn.
In Settings set the following options:
- Private testing = ON
- AI drivers = 1
- Race grid position = 1
- Race start time = 08:00 PM
- Type of start : STANDING
- Race length type = TIME
- Flagrules = NONE
- Ethanol usage = OFF
- Tyre wear = OFF
- Mech. failures = OFF
- Time scale = NONE
4.
Load the track. Don't start the race!
When you are in the monitor screen, choose Add AI.
The AI will start its training and a message appears: "STAY OUT OF MY WAY HUMAN". The longer the AI is learning, the better times it gets.
The messages inform you of the distance the AI drove per lap compared to the ideal line. With each lap this difference gets smaller.
Type 'R'-key to switch from 'delayed replay' to 'live'.
Right-clicking on the AI's name will switch to a list of all laps driven by the AI with the respective lap times.
You can speed up time by typing 'ctrl-T', this will not affect the learning of the AI.
After a number of laps the message appears 'AI finished the learning' or similar.
5.
Still some meters of difference with the ideal race line can be left over.
The AI can improve to about 0 m of difference!.
To obtain this, remove the AI from the drivers list, and add a new AI.
The new Ai will start where the previous AI ended, and will continue to improve.
6.
When the learning is finished for your car and track, a track.ini file has been created for your team in \GameData\Vehicles\mod\CarType\team folder.
(For Blancpain mod: \Gamedata\Vehicles\Teams\CarType folder)
In order for all other cars of the same vehicle type to profit from the learning of the AI, you can copy the track.ini file from the team folder and paste it into the \GameData\Vehicles\mod\CarType folder.
(For Blancpain mod: \GameData\Vehicles\Physics\CarType folder), that is: where the CarType.hdv files, CarType-Tires.tbc files and other car related files reside.
Remove the file from the team folder.
7.
This procedure is per car type and per track. You need to repeat for each different car or track
8.
DON'T FORGET!
Revert to the original state of your YOURNAME.prl file (see point 2.), and restore your ingame settings (see point 3.).
Enjoy