Tips for racing against the AI

Discussion in 'Automobilista - General Discussion' started by Lorencini, Jan 9, 2017.

  1. Lorencini

    Lorencini Luciano Lorencini AMS2 Club Member

    Joined:
    Oct 10, 2016
    Messages:
    529
    Likes Received:
    381
    @Alex Sawczuk and @Renato Simioni , you may want to take a look at it.

    Yesterday I've finally could spare some time to do my tests. So, I did the same race I had 3 days ago (Endurance Brasil @ Autopolis), since I was already trained.

    Race was set for 30 minutes, with a 30 minutes qualifying session.
    I change some setting according to Renato's suggestion and completelly turn off Track Usage and Track Progression, to avoid the track rubbering's extra grip to mask AI times somehow.
    Also set Fuel Usage to X2 to force a pit window with MCR in the specified time, and set Tyre Wear to normal, to check it's relevance in AI lap times.

    A note for clarification: the Endurance Brasil skinpack consists of multiclass racing with MR18 and MCR2000. I've raced with MCR2000, and ran a qualifying session first to ensure the two grids will be fully separated in race start, thus preventing one class mess with other's lap times. (I explain this tip in the OP).

    The picture below shows my findings:

    AMS-AI-Times.png


    In the left column, we have qualifying times. You can skip the first 10 positions (they are MR18 class, don't apply to our test).
    Then, after 11th position, I isolated 4 AI Cars (subjects marked A, B, C, D), which I think could best describe the issue.
    The complete qualifying and race results, laps, gaps, positions for this test race can be found here: http://simresults.net/170119-Xo1

    In the RACE LAPS columns, I isolate race lap times for ours subjects.
    The first two laps can be discarded, since in race start all cars are very close, some AI breaks too much to avoid touch, there's fight for position, etc.

    So, after this phase in race, I've marked in green a reference lap time for each AI. You can notice that, for this car/track combo, lap times are 1s to 1,5 higher than qualy times.

    As the race goes by, you can see that AI lap times start to decrease. Of course, there are some very slower times, due to AI errors, off-tracks, fights for position. But this behaviour is desirable, that's ok.

    Marked in orange are the lap AI performed a pit stop, and the lap after. You can notice that lap times before pit are much faster, closer to qualifying times. Those laps are marked in blue, the same color I've marked qualifying times as well.
    Interesting to notice that subject A could even be 1 tenth of a second FASTER than his qualifying lap. In those laps, AI have very low fuel, they are ligher and get faster times.

    At this point, we can observe another tip of mine: the 'Pit Window'. We can see that, when MCR2000 AI cars reached a 20-30% fuel left window, they initiated their pit stops, and all cars were distributed in a 3-lap Pit Window, problably to split teammates and avoid them to pit at the same time.

    After the pit stops, the AI cars fill up their tanks, which make them heavier. Their lap times as now compatible with race start times (marked as green for better comparison).

    We can clearly see that Tyre Wear have INSIGNIFICANT EFFECT in AI race lap times, close to none.

    This has been happening from a long time ago, in every car and track I tried (being default content or mods). So long that I could notice, test it, and create this system I talk in OP. As a matter of fact, I've been observing this behaviour since GSCE days. But is was worse then, AMS have fixed other important issues (like fuel usage influencing too much lap times, but this is past).

    On the other hand, I've struggle a lot with my tyre wear. Got off-track once. And in my last lap before pitting, my rear-left tyre wear bar marker in HUD was already yellow. I could cleary feel the wearing effects, It was difficult to make long corners, and I almost spin in the harpin in third sector.
    The negative tyre effect superceeds the positive fuel consumption for me.

    So, with all that, I'm standing my position about my tip: to have a fair race against the AI, turn off tyre wear, since with that option on, as race goes by, you're gonna get slower, and AI will be faster, almost to the point of qualifying times.
     
    Last edited: Jan 19, 2017
    • Informative Informative x 2
    • Like Like x 1
  2. Msportdan

    Msportdan Well-Known Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    1,897
    Likes Received:
    606
    wouldn't be surprised if this is in factor 2 too?
     
  3. Lorencini

    Lorencini Luciano Lorencini AMS2 Club Member

    Joined:
    Oct 10, 2016
    Messages:
    529
    Likes Received:
    381
    @Msportdan , while this is odd, I don't think it prevents long duration races, IF you know all the behaviour and commit to do the same. That's the main reason I keep this post updated: for helping people who wants a good race against the AI from start to finish.

    BTW, check it out the OP again, I added a nice tip about when to request and enter the pits.

    I assure you, if you follow my tips, you're gonna have a good time ;-)
     
    • Agree Agree x 1
  4. Alex Sawczuk

    Alex Sawczuk Well-Known Member AMS2 Club Member

    Joined:
    Feb 14, 2016
    Messages:
    1,022
    Likes Received:
    857
    This is really Renato's area. I can't really comment particularly.
     
    • Like Like x 1
    • Informative Informative x 1
  5. Msportdan

    Msportdan Well-Known Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    1,897
    Likes Received:
    606
    i appreciate the huge amount of time you spent committing to this Thank you.. Just makes me think how deep this issue goes in other isi motor sims?
     
    • Like Like x 2
  6. Renato Simioni

    Renato Simioni Administrator Staff Member

    Joined:
    Feb 14, 2016
    Messages:
    5,006
    Likes Received:
    47,950
    That´s a great deal of data @Lorencini, cheers :) I´ll look through it and run some tests.

    Keep in mind though before drawing conclusions, that each tire compound of each car has its own wear properties for both player and AI, each track may have its own abrasiveness which impacts tire wear, and each engine as well as each track have its own fuel consumption parameter - so the issues you observe might be car and / or track specific relating to one or a combination of these parameters.

    With this last test report for instance, it could be that the MCR2000 on this track runs out of fuel before tire wear starts impacting performance (and not necessarily just for the AI), which is not necessarily accurate (need to compare to the reference data in the same track) but a different issue altogether to the AI globally not wearing tires at all - I´ve already mentioned F-Reizas with 7x tire wear as an easy way to verify there is indeed AI tire wear. You´re also using a mod track which may have the correct fuel use, but may not.. I´d strongly recommend sticking to default content for such testing.

    Thanks again for the extensive reporting though, this is very useful. I might actually have an idea how this can be more productive, I´ll PM you about it :)
     
    Last edited: Jan 19, 2017
    • Like Like x 5
  7. Lorencini

    Lorencini Luciano Lorencini AMS2 Club Member

    Joined:
    Oct 10, 2016
    Messages:
    529
    Likes Received:
    381
    @Renato Simioni , sorry if I sound too extremist, after your kind explanations in this post, I stop stating the AI does not wear its tyres (even adjust OP text about it). But as I said, the above report is happening to me for so long time, with so many cars, that for practical purposes, I'm gonna keep my tip on OP, since that way I've been having nice races so far.

    Thanks for giving feedback on our issues, Renato. That motivates us to test and report even more, after all, we all wanna see the AMS on its best :)
     
    • Like Like x 2
    • Agree Agree x 1
  8. Professionalsimracing.com

    Professionalsimracing.com Active Member AMS2 Club Member

    Joined:
    Mar 12, 2016
    Messages:
    377
    Likes Received:
    132
    Dumb question I know but when you turn off tire wear does that turn off tire wear for AI too and also is this the same for fuel where if you turn fuel usage off then the AI does not use fuel. I realize might be obvious because if you multiply fuel usage it also affects AI but I just wanted to make sure turning fuel usage off affects the AI as I would expect because, for example, then presumably I could just turn both tire wear and fuel usage off so I can race the AI at Machwerk in 620R as a workaround until these issues get sorted.
     
  9. Lorencini

    Lorencini Luciano Lorencini AMS2 Club Member

    Joined:
    Oct 10, 2016
    Messages:
    529
    Likes Received:
    381
    @Professionalsimracing.com I believe so. I used to race like this in GSEC, and when you turn off both tyre and fuel, AI will be extremelly precise, they will perform virtually the same lap times lap after lap after lap (of course some minor AI mistake or fight for position can make 1 or 2 lap times differ).
     
  10. Professionalsimracing.com

    Professionalsimracing.com Active Member AMS2 Club Member

    Joined:
    Mar 12, 2016
    Messages:
    377
    Likes Received:
    132
    @Lorencini Interesting. Thanks. I'll give it a try :)
     
  11. Professionalsimracing.com

    Professionalsimracing.com Active Member AMS2 Club Member

    Joined:
    Mar 12, 2016
    Messages:
    377
    Likes Received:
    132
  12. Lorencini

    Lorencini Luciano Lorencini AMS2 Club Member

    Joined:
    Oct 10, 2016
    Messages:
    529
    Likes Received:
    381
    Was it just in this race?
    I'm so used to race with 1 pit stop (where I know AI always fill up its tanks) that I always start a race with full tank myself.
    Never pay attention to AI fuel usage in short no-pit race though. Gonna try some to see what happens.
     
  13. Professionalsimracing.com

    Professionalsimracing.com Active Member AMS2 Club Member

    Joined:
    Mar 12, 2016
    Messages:
    377
    Likes Received:
    132
    Can't be sure it is this race only as I don't always review result logs and also don't always pay attention to AI fuel because I mostly use the laps view in simresults.net to see what my possible lap time is but I can say that when I have looked at that view and did notice AI fuel that it has looked correct with around 2-3% left or something like that.

    One thing that is new though is that I am running longer races lately meaning 20 minutes instead of 10-12 minute races.
     
    • Like Like x 1
  14. Professionalsimracing.com

    Professionalsimracing.com Active Member AMS2 Club Member

    Joined:
    Mar 12, 2016
    Messages:
    377
    Likes Received:
    132
    FYI, figured I'd try a test to see if possibly related to timed race. So what I did was create 8 lap race and let AI take control of my car and used time acceleration. AI are still taking on more fuel than they should be...

    http://simresults.net/170123-gd2

    I now feel like I have to track what combos work and don't work :oops:
     
    • Informative Informative x 1
  15. roby13

    roby13 Active Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    251
    Likes Received:
    66
    An idea would be to not have set tyre ware only per car but to also have multipliers in the talent files @Renato Simioni
     
  16. krusti

    krusti RaceSimulatorItaly Founder AMS2 Club Member

    Joined:
    Apr 5, 2016
    Messages:
    82
    Likes Received:
    31
    I have a question: why when i pass my car to AI he is much slower then the others AIs? In the VEH file i have driver1 and driver2, both with talent files with these settings:

    Driver1
    Code:
        Aggression=85
        Reputation=89.93
        Courtesy=90.28
        Composure=92
        Speed=97
        Crash=4.49
        Recovery=5.39
        CompletedLaps=95
        MinRacingSkill=92
    Driver2
    Code:
        Aggression=94
        Reputation=44.93
        Courtesy=90.28
        Composure=79
        Speed=94
        Crash=10.49
        Recovery=5.39
        CompletedLaps=95
        MinRacingSkill=72

    but when i pass my car to AI (through I key) he is 2sec slower than the others AIs, even than the same car with other AI.
    The real question could be: when i pass the car to AI, wich talent file he uses? driver1-driver2 or nothing?
    I also noticed that i can't swap driver in the pit menu (MDF menu).
    Any ideas?
     
  17. Lorencini

    Lorencini Luciano Lorencini AMS2 Club Member

    Joined:
    Oct 10, 2016
    Messages:
    529
    Likes Received:
    381
    AFAIK, none. When using the "I key", it does not use any talent. But, contrary to you, when I've passed control to AI, my car was ALWAYS faster than anyone else, which I've always assumed it gets Speed=100 in this scenario.

    But maybe there's some randomness in this.
     
  18. krusti

    krusti RaceSimulatorItaly Founder AMS2 Club Member

    Joined:
    Apr 5, 2016
    Messages:
    82
    Likes Received:
    31
    So, since i'm using 105% AI strenght, when i pass my car to AI it uses speed=100, but unmultiplied (105%).
    It could be the answer, thanks!
    I'll do more tests.
     
    • Like Like x 1
  19. mkel1966

    mkel1966 Active Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    101
    Likes Received:
    26
    @Lorencini..many thanks for the tips, been using it since I only do offline races. For cars that does not refuel with tire wear=off, I edit the .gdb file so they would pit. Do you have another way of forcing AI to pit without editing the .gdb file?
     
    • Like Like x 1
  20. Lorencini

    Lorencini Luciano Lorencini AMS2 Club Member

    Joined:
    Oct 10, 2016
    Messages:
    529
    Likes Received:
    381
    Only changing fuel comspuntion in-game. Remember that AI only pits when ran out of gas. So I usually use Fuel Comsulption X2, X3 or even X5, depending on what car I'm using and how long race will last.
     
    • Like Like x 1

Share This Page