AI Tyre wear problem

Kyle Puttifer

@Simberia
A1GP 2010 is close to release, but first I need to eliminate a serious bug with AI tyre pitstops.

First scenario: AI tyre wear is equal to player tyre wear.
Test race at Interlagos - 15 laps, tyre wear x1 (normal).
All cars started on the soft compound, and I pitted for hards on lap 8. The AI cars didn't pit at all. Test failed.

Second scenario: AI tyre wear is much higher than player tyre wear.
Test race at Interlagos - 15 laps, tyre wear x1 (normal).
All cars started on soft compound, I pitted for hards on lap 8. At about the same time, I saw AI cars spinning all over the place in the traction zones and ending up on the grass, effectively DNFs as they could not get going again. The spinning caused other AI cars to slam into each other, and debris flew everywhere. Test failed.

Third scenario (what I have now): AI FRONT tyre wear is the same as Scenario 2, but rear tyre wear is virtually non-existent.
Test race... Do I really need to type that again? :mad:
All cars started on... etc etc... I pitted for hards on lap 8. The AI cars came in at the same time as me. !!!BUT!!! their in-lap was about 20 seconds slower than mine due to severe understeer. Their front tyres had completely worn out and they had not bothered to pit for new tyres until that lap. I had tweaked the value for AI front tyre wear constantly until I had them pitting about the same time as me. There were no traction problems due to the lack of rear tyre wear on the AI cars.

My question - is there ANY way at all in which I can force an AI to pit near the end of the tyre's life, before it hits the infamous Pirelli "cliff"? I want to be able to race the AI, and have them pitting at the same time as me. Otherwise, what was the point in creating the Pirelli tyre physics if they can only be properly used online?
And ABSOLUTELY NO JOKES ABOUT RAMMING THE AI TO DAMAGE THEIR CARS!!! THIS IS A GENUINE PROBLEM THAT WILL DELAY THE RELEASE OF A MOD!!!

Here is the TBC file, without the slip values from the top (just paste this code into an RFT 2010 TBC).
Soft Compound=Soft tyre
Intermediate Compound=Hard tyre (this is necessary for the tyre texture feature to work)
Code:
[COMPOUND]
Name="Soft Compound"
FRONT:                               // Arguments: ALL, FRONT, REAR, LEFT, RIGHT, FRONTLEFT, FRONTRIGHT, REARLEFT, REARRIGHT
DryLatLong=(2.140908, 2.33355)       // Lateral/longitudinal coefficients in dry weather
WetLatLong=(0.8563632, 0.93342)      // Lateral/longitudinal coefficients in wet weather
Radius=0.327                         // Radius of tire
RadiusRPM=1.712e-6                   // Increased radius per unit RPM
Width=0.340                          // Width of tire
Rim=(0.166, 750000.0, 7500.0, 3.0)   // Rim radius, spring rate, damper rate, minimum velocity to produce sparks
SpringBase=51000.0                   // Base spring rate with no pressure
SpringkPa=1200.00                    // Spring rate per unit pressure
Damper=522.4                         // Damping rate of tire
SpeedEffects=(270.0, 18.40)          // Speed at which grip drops to half (m/s, 0.0 to disable), speed load equivalency (see above)
LoadSensLat=(-3.88e-6, 0.365, 23600) // Load sensitivity for lateral grip (initial slope, final grip multiplier, final load)
LoadSensLong=(-3.86e-6, 0.435, 23600) // Load sensitivity for longitudinal grip (initial slope, final grip multiplier, final load)
LatPeak=(0.0822, 0.233, 13950.0)    // Slip range where lateral peak force occurs depending on load
LongPeak=(0.0942, 0.247, 13975.0)    // Slip range where longitudinal peak force occurs depending on load
LatCurve="LatSlip"                   // Slip angle curve (data uses normalized angle)
BrakingCurve="DecelSlip"             // Slip ratio curve under braking
TractiveCurve="AccelSlip"            // Slip ratio curve under acceleration
CamberLatLong=(2.70, 0.125, 0.560)   // Peak camber angle, lateral gain at peak, longitudinal loss at 90 degrees
RollingResistance=3168.0             // Resistance torque (Nm) per unit deflection (m) on ground
PneumaticTrail=3.50e-6               // Pneumatic trail per unit load (m/N), adjusted based on slip
HeatBasePeak=(0.16, 0.05)            // Base peak slip to compute friction heat, fraction of base to use (0.0=use dynamic peak slip only)
Heating=(4.5507e-1, 9.174e-3)        // Heat caused by (rolling, friction)
Transfer=(7.30e-3, 4.00e-3, 1.40e-4) // Heat transfer to (road, static air, moving air)
HeatDistrib=(25.00, 163.0)           // (Max camber angle, max off-pressure) that affects heat distribution (higher number -> less temperature difference)
AirTreadRate=0.011                   // Heat transfer between tread and inside air
WearRate=21.720e-7                    // Wear rate constant
WearGrip1=(0.989,0.981,0.9745,0.96,0.94,0.92,0.9,0.86)
WearGrip2=(0.76,0.7,0.6,0.5,0.4,0.3,0.25,0.2)
Softness=0.62                        // Softness is now just for AI strategic use
AIGripMult=1.021                     // Grip multiplier for AI vehicles (due to tire model simplification)
AIPeakSlip=0.07                      // Simple peak slip angle for AI vehicles
AITireModel=0.4                      // 0.0 = original AI tire model in terms of slip, 1.0 = more similar to player tire model
AIWear=35.720e-7                      // AI wear rate constant
Temperatures=(105.0, 75.0)           // Optimum operating temperature for peak forces (Celsius), starting temperature
OptimumPressure=(60.5, 0.0221)       // Base pressure to remain flat on ground at zero deflection, and multiplier by load to stay flat on ground
GripTempPress=(2.530, 1.320, 0.845)  // Grip effects of being below temp, above temp, and off-pressure (higher number -> faster grip dropoff)
//
REAR:
DryLatLong=(2.20446, 2.375)
WetLatLong=(0.881784, 0.95)
Radius=0.327
RadiusRPM=1.728e-6
Width=0.360
Rim=(0.166, 750000.0, 7500.0, 3.0)
SpringBase=50600.0
SpringkPa=1200.0
Damper=578.4
SpeedEffects=(268.5, 18.3)
LoadSensLat=(-3.89e-6, 0.360, 23850.0)
LoadSensLong=(-3.86e-6, 0.432, 23850.0)
LatPeak=(0.0832, 0.229, 15500.0)
LongPeak=(0.0952, 0.237, 15550.0)
LatCurve="LatSlip"
BrakingCurve="DecelSlip"
TractiveCurve="AccelSlip"
CamberLatLong=(1.82, 0.092, 0.600)
RollingResistance=3308.0
PneumaticTrail=3.50e-6
HeatBasePeak=(0.16, 0.05)
Heating=(3.4776e-1, 7.574e-3)
Transfer=(7.45e-3, 4.00e-3, 1.35e-4)
HeatDistrib=(24.75, 164.0)
AirTreadRate=0.011
WearRate=21.570e-7
WearGrip1=(0.989,0.981,0.9745,0.96,0.94,0.92,0.9,0.86)
WearGrip2=(0.76,0.7,0.6,0.5,0.4,0.3,0.25,0.2)
Softness=0.62
AIGripMult=1.032
AIPeakSlip=0.06
AITireModel=0.4
AIWear=13.720e-7
Temperatures=(105.0, 75.0)
OptimumPressure=(60.2, 0.0204)
GripTempPress=(2.530, 1.320, 0.845)


[COMPOUND]
Name="Intermediate Compound"
FRONT:                               // Arguments: ALL, FRONT, REAR, LEFT, RIGHT, FRONTLEFT, FRONTRIGHT, REARLEFT, REARRIGHT
DryLatLong=(2.140908, 2.33355)       // Lateral/longitudinal coefficients in dry weather
WetLatLong=(0.8563632, 0.93342)      // Lateral/longitudinal coefficients in wet weather
Radius=0.327                         // Radius of tire
RadiusRPM=1.712e-6                   // Increased radius per unit RPM
Width=0.340                          // Width of tire
Rim=(0.166, 750000.0, 7500.0, 3.0)   // Rim radius, spring rate, damper rate, minimum velocity to produce sparks
SpringBase=51000.0                   // Base spring rate with no pressure
SpringkPa=1200.00                    // Spring rate per unit pressure
Damper=522.4                         // Damping rate of tire
SpeedEffects=(270.0, 18.40)          // Speed at which grip drops to half (m/s, 0.0 to disable), speed load equivalency (see above)
LoadSensLat=(-3.88e-6, 0.365, 23600) // Load sensitivity for lateral grip (initial slope, final grip multiplier, final load)
LoadSensLong=(-3.86e-6, 0.435, 23600) // Load sensitivity for longitudinal grip (initial slope, final grip multiplier, final load)
LatPeak=(0.0822, 0.233, 13950.0)    // Slip range where lateral peak force occurs depending on load
LongPeak=(0.0942, 0.247, 13975.0)    // Slip range where longitudinal peak force occurs depending on load
LatCurve="LatSlip"                   // Slip angle curve (data uses normalized angle)
BrakingCurve="DecelSlip"             // Slip ratio curve under braking
TractiveCurve="AccelSlip"            // Slip ratio curve under acceleration
CamberLatLong=(2.70, 0.125, 0.560)   // Peak camber angle, lateral gain at peak, longitudinal loss at 90 degrees
RollingResistance=3168.0             // Resistance torque (Nm) per unit deflection (m) on ground
PneumaticTrail=3.50e-6               // Pneumatic trail per unit load (m/N), adjusted based on slip
HeatBasePeak=(0.16, 0.05)            // Base peak slip to compute friction heat, fraction of base to use (0.0=use dynamic peak slip only)
Heating=(4.5507e-1, 9.174e-3)        // Heat caused by (rolling, friction)
Transfer=(7.30e-3, 4.00e-3, 1.40e-4) // Heat transfer to (road, static air, moving air)
HeatDistrib=(25.00, 163.0)           // (Max camber angle, max off-pressure) that affects heat distribution (higher number -> less temperature difference)
AirTreadRate=0.011                   // Heat transfer between tread and inside air
WearRate=13.256e-7                    // Wear rate constant
WearGrip1=(0.939,0.931,0.9245,0.91,0.89,0.87,0.85,0.81)
WearGrip2=(0.71,0.65,0.55,0.45,0.35,0.25,0.2,0.15)
Softness=0.60                        // Softness is now just for AI strategic use
AIGripMult=1.021                     // Grip multiplier for AI vehicles (due to tire model simplification)
AIPeakSlip=0.07                      // Simple peak slip angle for AI vehicles
AITireModel=0.4                      // 0.0 = original AI tire model in terms of slip, 1.0 = more similar to player tire model
AIWear=27.256e-7                      // AI wear rate constant
Temperatures=(105.7, 75.0)           // Optimum operating temperature for peak forces (Celsius), starting temperature
OptimumPressure=(60.5, 0.0221)       // Base pressure to remain flat on ground at zero deflection, and multiplier by load to stay flat on ground
GripTempPress=(2.534, 1.318, 0.845)  // Grip effects of being below temp, above temp, and off-pressure (higher number -> faster grip dropoff)
//
REAR:
DryLatLong=(2.20446, 2.375)
WetLatLong=(0.881784, 0.95)
Radius=0.327
RadiusRPM=1.728e-6
Width=0.360
Rim=(0.166, 750000.0, 7500.0, 3.0)
SpringBase=50600.0
SpringkPa=1200.0
Damper=578.4
SpeedEffects=(268.5, 18.3)
LoadSensLat=(-3.89e-6, 0.360, 23850.0)
LoadSensLong=(-3.86e-6, 0.432, 23850.0)
LatPeak=(0.0832, 0.229, 15500.0)
LongPeak=(0.0952, 0.237, 15550.0)
LatCurve="LatSlip"
BrakingCurve="DecelSlip"
TractiveCurve="AccelSlip"
CamberLatLong=(1.82, 0.092, 0.600)
RollingResistance=3308.0
PneumaticTrail=3.50e-6
HeatBasePeak=(0.16, 0.05)
Heating=(3.4776e-1, 7.574e-3)
Transfer=(7.45e-3, 4.00e-3, 1.35e-4)
HeatDistrib=(24.75, 164.0)
AirTreadRate=0.011
WearRate=13.313e-7
WearGrip1=(0.939,0.931,0.9245,0.91,0.89,0.87,0.85,0.81)
WearGrip2=(0.71,0.65,0.55,0.45,0.35,0.25,0.2,0.15)
Softness=0.60
AIGripMult=1.032
AIPeakSlip=0.06
AITireModel=0.4
AIWear=5.256e-7
Temperatures=(105.0, 75.0)
OptimumPressure=(60.2, 0.0204)
GripTempPress=(2.530, 1.320, 0.845)
 
Hello, ok it's quite late to reply this outdate post, but actually i have the same problem: AI seems to follow differents parameters on the .tbc file. Maybe there are other unknown parameters that affect the tire wear....
Anyway, you have found a solution?
 
I can't believe there is no solution to this, I spent many hours trying to find the answer in tbc files, I never did solve it, and I always end up controlling pit stops with fuel instead.
 
edited the gdb file and put pitstop stratigies under it then all the drives names in the sim

like for an example

{
pitstopstratigies
m.webber
s. vettel
f. alonso

then put a umber next to them the first number is the amount of times they will pit then the seoncd number is the lap they will pit(but they only stop around only sometimes on the lap!

so it looks like this



pitstopstratigies
{
m.webber 1 - 8
s. vettel 1 - 7
f. alonso 1 - 9
 

Latest News

Online or Offline racing?

  • 100% online racing

    Votes: 77 7.0%
  • 75% online 25% offline

    Votes: 118 10.8%
  • 50% online 50% offline

    Votes: 158 14.4%
  • 25% online 75% offline

    Votes: 303 27.7%
  • 100% offline racing

    Votes: 434 39.7%
  • Something else, explain in comment

    Votes: 4 0.4%
Back
Top