Increasing AI realism

hamiltonfan2205

Hi

I currently run an F1 AI series, next year will be my fourth year of using rfactor to run it and each year the AI has had a huge step up in realism.

There are many ways that I'm wondering if the AI can be improved in a particular way.

First off, increase the rate of drivers crashing out (in a realistic way)

There are quite a few retirements each race in my AI series but most of them are mechanically related. what Im trying to work out is Is there a way I can increase the amount of retirements that are related to a driver mistake or something like that? I've tried turning AI mistakes in the PLR to maximum but it makes cars just go straight on at particular corners rather than causes drivers to say, go wide or accelerate too hard from a corner. Also is it possible to make the AI cars stall the engine from a spin or something like that?

Also what I find annoying about the AI cars is when they spin, they just accelerate straight into a barrier, they don't make an effort to avoid it. Is there a fix to that? Also what's annoying is they don't wait for a space to rejoin, they just rejoin whether there are cars coming or not, for example on one occasion a back marker spun, rejoined straight into the leader causing the leader to lose the front wing and the win.

Also is it possible to make rfactor automatically retire cars who lose their rear wings?


The second thing I'm wondering whether there can be an improvement on is the racing. First off there is only one type of pass that rfactor,s AI has often which is the inside pass. Is it possible to make it so the AI try things more risky, like try an overtake round the outside (like Grosjean on Hamilton in Valencia last year) and perform things like the switchback or the dummy. Also the thing I'm wondering about is AI Limiter. If I put it on 1.000000 the racing is too unrealistically close. If I put it on 0.000000 the racing is more realistic but can be really boring (like only 5 overtakes per race) What is the best number to put AI Limiter on to make the racing realistic (not too close) but it can be exciting as well, like in real F1 (I'd like to make it so there is a possibility of a driver dominating a race but also the possibility of an epic battle for the lead).

Finally, AI defending and overtaking. Is it possible to make the AI actually make an effort to defend their positions. Also another thing I find annoying about the AI is that sometimes when they try an overtake round the inside it backfires as they steer more to the inside and not only lose the position but lose a position to the guy behind as well.

I'm not hoping to sort out every single one of these issues. I'm asking, what is the best settings to put the AI on in the HDV and the PLR file

Any help will be appreciated
 
OK, at first i have to say that i don't race rfactor offline, only online with real opponents.

So i don't have much experience with the AI behaviour.
But what you want to have is not possible to come true without changing the coding of the game, i think.

Do you know a simulation where the AI behaves like you want it?

Another point is the fact that there are so many details having influence on the AI's behaviour that you will get old and grey by setting it up until everything matches for only 1 mod and 1 track. And even then it won't be perfect. :)
 
I'm not expecting to have all of this sorted out, I'm just looking for the best settings you can have the AI on.
 
I have AI limiter on 0.05 and AI mistakes on 1, almost your settings. Probably one thing that you would like is to have AI mistakes over 1, there is no upper limit on that parameter. Apart from the "AI Realism" (= aggression) parameter, the effect of which is hard to spot, but which is supposed to decrease the safety distance between cars, I think pretty much everything else you are asking about is hardcoded.
 
Tried that

The mistakes the AI made were realistic apart from when they suddenly slow down in a straight line which is annoying, is there a fix for that?
 
The only reason i know which makes the AI slow down suddenly (when ingame settings are set on normal) is, if the fast path has an offset at start/finish-line when it was bad made with AI-Editor. And it can happen that it's the same at pit-exit.

But all other reasons i would say are caused by worse editing of parameters directly in the files.
 
Hi Hamiltonfan,

The behavior of the AI in rfactor 1 is a sum of settings in different locations.
It depends on Mod-setting and also on track settings.

The reentering back to track can not be changed and is ****ed up.
You can only prevent the AI to spin as much as possible.
The mistakes they can make are: too late/early braking, bad line, bad shifting.

As long as the damage is repairable the AI wont retire.

As said above, for a really good AI ALL settings in mod, track and .PLR have to be right.
For first workaround try this:
PLR:
AI Limiter="0.50000"
AI Mistakes="0.12000" (values to 0.17 are good more will cause trouble most likely)
AI Realism="0.40000" (depends on aggression setting in the Talent-file! Don´t do more! This will cause ramming)

Don´t know which mod you use.
We can do a complete workaround if you PM me.

Greets
Pete
 
Thanks for the help.
I currently use F1RFT2012 physics.
What I am wanting to do is making it so if you lose your rear wing, the damage is unrepairable.
As I said, I'm not expecting to sort out all the problems mentioned, all I would like to do is make the AI as realistic as I can make it. :)
 
One suggestion to get around this: In the hdv file, under the PITMENU section, you could increase the repair time for rear wing to say, 5400 seconds (90 minutes). So if a car damages its rear wing, it will pit for repairs, but will sit in the pit for the rest of the race.
 
1) don't tie your championship to certain tracks. Be flexible because a lot of tracks out there are junk and have issues with AI. Unless you are a track modder, you can't fix this.

2) Train your AI. https://community.racesimcentral.net/showthread.php/12831-The-definitive-AI-Settings-Thread read this thread.

3) Test your tracks and test your mod. Don't go for the prettiest mod- go for the best mod. Make sure you test each track before using it to avoid things like AI suddenly slowing down at a certain point or AI just catapulting off track. Some mods are better than others with AI. Look for a mod with Talent Files.
 
I do test the AI before each race and I've been doing that for a while, I know how to modify the AI on particular tracks and that has ended up with some great results. Some tracks take more effort to prepare than others. Tracks like Bahrain or China are easy, they don't have many glitches but tracks like Monaco, Valencia and Singapore do take quite a bit of work to make the AI the best it can be.
 

Back
Top