They just learn by experience, how much grip is available to them as they drive around. Then, each lap, based on this knowledge, they test out random small adjustments to their racing curves, and, applying their new knowledge of the available grip to the adjusted line, they work out their plan for braking and acceleration, and from that, their predicted lap time. If their predicated lap time on the updated line is quicker than their predicted lap time on the not updated line, they keep the new line, if not, they discard it.
Notice the fatal flaw in there - they decide to keep lines based on whether they *think* the line will be faster. Theyt don't then feedback experience into that, to change their decision after actually testing it.
Anyway, even with that flaw, it worked reasonably well in previous versions in cluding S1. But now it's quite bad because they have no understanding that their grip changes depending on temperature or if there is dirt on the wheels. Also they thing the same cornering force is available, regardless of their fuel load. Basically they haven't been coded at all for the new dynamically changing cars.
EDIT : To help them learn, i think you can just let them drive around, but let them have some varying experience, because one who is always in the lead, will get quite a different experience from one who is always driving behind someone else. But i wouldn't really recommended it at the moment, though it depends on the track. Some car / track combinations just end up with crazy AI drivers who can't stay on the track. Someone else may be able to advise you on which combinations work ok at the moment.
Well they start with this thing called the "path" which defines the route and the driveable area and is used for a lot of things. And they create their own line in there by fitting a series of curves
well how to train them??? ive set much times BL1 100% fuel 45 rounds XFG.
let them finish the race, after i wanted to drive bit online left single player mode and while lefting it says " COULDNT SAVE DRV " :Eyecrazy:
Scawen, could it be possible to make some kind of statistics list for the AI in the final S2 release? Actually it’s almost impossible to remember the experience of each AI. Look, if we train just 12 AI in “Pro” on each track, there will be at least 12(AI)*22(tracks without drift and drag)*2(reversed tracks)*18(cars)=9504 *.knw files. some kind of AI-tool maybe?..
When you set them not to use your own setup do they come up with totally random ones? I've noticed huge difference in AI performance if I tell them which setup to use vs letting them use their own.
If they find a setup succesful will they retain it and use it in the next race or do they just scrap it and go random again?
hmmm good point.. i always give them the same setup i am driving with trying to get them to speed up a bit but they are still so slow..
i have done a few laps around blackwood rallyx, whilst i do 1.07s they do 1.18s and this is on pro..... how long does it take them to learn? i have heard somewhere 90 laps?
I've done that also. But it works in case you train just a few of AI and just on limited amount of possible racing combinations (cars/tracks/opponent's strength etc.), IMHO. I mean it's hard to hold in mind every possible race config for each AI, especially after some time passed.
See, once you ask him, he keeps his mouth shut :banghead: But maybe you got him thinking about it, hopefully the people wanting improved AI will get their surprise
Can you find out which AI driver it is that causes this error and write his name here? Maybe his name contains illegal filename characters or something like that.
i think that happens with all AI's but i attach this AI by that im sure that it happens. by the way , while searching the AI file i found out that some KNW files already saved, but it doesnt save all time :Eyecrazy: heres the way i train them ( already wanna make them good for BL1 with XFG ) i set 45 rounds , 100% fuel and let them finish the race then i leave single player. do i make something wrong?
EDIT: im unable to upload the AI file cause its not allowed in this forum but theres a screenie with the names of my AI's
and i didnt change filename or something ive set dont show file endings