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:
I'm looking for the same thing too, but in my case I just want the AI not to be slow on the straights when I lower the strength of the AI, for example, if I play with 90% of the strength of the AI, this is very slow on the straights. Is there a way to solve this?
 
Balancing their speed on the straights with their cornering speed is done with the talent files. First increase the driver race ability -
RaceAbility = 0.073 //Range 0 - 6.2 (0 is fastest)

(or raise the AI strength globally or in each track AIW file) til their straight line speeds are what you want, then lower their cornering ability -

// Increase attempted low-speed cornering by adding a minimum onto calculated speed.
// Reduce attempted high-speed cornering by multiplying speed by a number less than 1.0.
// <adjusted speed> = CorneringAdd + (CorneringMult * <original speed>)
CorneringAdd = 5.956 // Higher number increases low speed cornering
CorneringMult = 1.135 // Higher number increases high speed cornering
 
Balancing their speed on the straights with their cornering speed is done with the talent files. First increase the driver race ability -
RaceAbility = 0.073 //Range 0 - 6.2 (0 is fastest)

(or raise the AI strength globally or in each track AIW file) til their straight line speeds are what you want, then lower their cornering ability -

// Increase attempted low-speed cornering by adding a minimum onto calculated speed.
// Reduce attempted high-speed cornering by multiplying speed by a number less than 1.0.
// <adjusted speed> = CorneringAdd + (CorneringMult * <original speed>)
CorneringAdd = 5.956 // Higher number increases low speed cornering
CorneringMult = 1.135 // Higher number increases high speed cornering
Thank you! This worked for me, I found that putting those parameters (CorneringAdd, CorneringMult) at the same value (between .800 and .1200) seems to work as the AI force in the game menu, where you change the skill of the AI, but now this only applies to corners, and then you can reach the fast AI on the straights with, e.g. 120% force but a lower/higher level of cornering ability, This works pretty well, thanks again.
 

Latest News

Do you prefer licensed hardware?

  • Yes for me it is vital

  • Yes, but only if it's a manufacturer I like

  • Yes, but only if the price is right

  • No, a generic wheel is fine

  • No, I would be ok with a replica


Results are only viewable after voting.
Back
Top