AI Too Slow on Straights

I think the last update on this. I tried to force the AI to have a track specific setup which I could not get to work, and I have no idea why. I might need to look further into that. However, I went into the applicable car models, and forced them to use the taller final gear. Doing that in each car file did work.

Now the work of understanding why having a setup with gear ratios specified in the proper folders did not work.
 
From digging around, in GTR2 the SVM files reside in the individual car folders. I found the setups to other tracks in their respective car folders.

I did try to copy and rename one of the existing car setup files, and then create my own. I also attempted to place the setup in the track folder, the car folder, and the main teams folder just to try. None of those attempts netted any different result.

When I opened the default setups, they were just lines for the differential settings (Differential = 5 for example).

Is there a baked in default setup somewhere else in the sim that can be adjusted? If the track specific SVM file is missing then where would the setup be that the sim falls back on for the AI?
I was poking around in the Race07 file system and noticed the svm files. Reminded me of this discussion. Then when I opened the file, I remembered something that might be relevant.

I checked GTR2 as well to make sure I was not confused as usual. So in the cars team folder, I am talking about the svm file that would be named after a specific track. Be sure this name is correct and matches the name specified in the track GDB file.

Ok, the thing I noticed, which you probably know, but just in case.

In the SVM file, it specifies the gear ratios as follows.

[DRIVELINE]
FinalDriveSetting=0
ReverseSetting=0
Gear1Setting=0
Gear2Setting=3
Gear3Setting=8
Gear4Setting=15
Gear5Setting=22
Gear6Setting=24
DiffPumpSetting=0
DiffPowerSetting=6
DiffCoastSetting=8
DiffPreloadSetting=1

This is not the ratios.

It specifies which lines in the .GRB file to use. So here is an example of ratios specified in the GRB.

[GEAR_RATIOS]
Ratio=(13,38) // 2.92
Ratio=(14,35) // 2.50
Ratio=(15,32) // 2.13
Ratio=(15,31) // 2.07
Ratio=(16,30) // 1.88
Ratio=(17,30) // 1.76
Ratio=(17,29) // 1.71
Ratio=(18,29) // 1.61
Ratio=(18,28) // 1.56
Ratio=(18,27) // 1.50
Ratio=(18,26) // 1.44
Ratio=(18,25) // 1.39
Ratio=(18,24) // 1.33
Ratio=(20,26) // 1.30
Ratio=(19,24) // 1.26
Ratio=(21,26) // 1.24
Ratio=(19,23) // 1.21
Ratio=(22,26) // 1.18
Ratio=(19,22) // 1.16
Ratio=(21,24) // 1.14
Ratio=(26,29) // 1.12
Ratio=(24,26) // 1.08
Ratio=(20,21) // 1.05
Ratio=(24,24) // 1.00
Ratio=(25,24) // 0.96
Ratio=(26,24) // 0.92


I believe it starts counting from zero. So gear one is the first line or 2.92


Anyway, Hope this helps someone. It helped me to go over it again and refresh my memory.
 
Yes, all ratios are listed in order, so if you have a 5 spd gearbox with four optional ratios for each gear there will be 20 ratios listed, plus one for reverse; thus the "odd" values in the hdc file. This is much easier to picture, and work with, if you use Maneschijn's Gear Ratio Calculator.

grc.jpg


For the AI to use a specified setup it must not only be named correctly and placed in the car folder (with hdc, eng files, etc.) but you must edit the two lines in the plr file:
Vehicle Specific AI Setups="1"
Default Player Setup="1"

(Note; on some hdc files the Gear Calculator will throw an error message which you cannot cancel, click "OK" and it just opens another message box, all you can do is kill it in Task Manager. This is rare and I've not found what it doesn't like about those files, though often editing them by hand clears the problem and it will read them.)
 
Last edited:

Latest News

What would make you race in our Club events

  • Special events

    Votes: 2 11.1%
  • More leagues

    Votes: 1 5.6%
  • Prizes

    Votes: 3 16.7%
  • Trophies

    Votes: 2 11.1%
  • Forum trophies

    Votes: 0 0.0%
  • Livestreams

    Votes: 4 22.2%
  • Easier access

    Votes: 14 77.8%
  • Other? post your reason

    Votes: 2 11.1%
Back
Top