1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ai | Artificial Intelligence

Discussion in 'Automobilista 2 - General Discussion' started by Coanda, Jun 11, 2020.

  1. Great Ape

    Great Ape Member

    Joined:
    May 16, 2020
    Messages:
    45
    Likes Received:
    16
    I like how Content Manager adjusts AI skill in AC; you a range of -/+ 5 to the AI's skill level, so I can set the upper range to 1s faster than me, the lower range 1s slower and find myself in the middle of a pack.
     
    • Agree Agree x 3
    • Like Like x 1
  2. Raven_ARG

    Raven_ARG Member

    Joined:
    Apr 19, 2020
    Messages:
    34
    Likes Received:
    33
    I agree with Great Ape. For a better singleplayer experience it would be nice if you can configure an AI mistakes like rf2 and also Talent files too, with different individual characteristics.
    In most races it seems like racing against a inert train line
     
    • Agree Agree x 4
    • Like Like x 1
  3. Coanda

    Coanda aahhh whinge whinge f@#ken whinge.. Staff Member AMS2 Club Member

    Joined:
    Apr 8, 2020
    Messages:
    2,080
    Likes Received:
    1,932
    Coding Ai should never be underestimated..

    There is a lot of focus on the trailing car to pass cleanly and efficiently and rightly so.. One area I would like to see any developer have a crack at is the leading car behavior.

    It would be interesting if the leading car acquired pressure points whilst being harassed by either Ai or humans. With variability and stint time based focus logic coded in, this "potentially" could trigger a mistake. ie. lock a brake, miss a apex etc... Or not as it is variable... Pressure points could also be released when not being harassed under pressure therefor lowering the variability for a mistake. Stint time logic could potentially alter behavior as Ai may react differently early into a into a stint compared to being several hours into a race just like a human would..
     
    • Like Like x 2
    • Agree Agree x 1
  4. GJDriessen

    GJDriessen Member

    Joined:
    Aug 31, 2020
    Messages:
    63
    Likes Received:
    14
    RaceRoom has great AI. AMS1 was cool as well!
     
    • Agree Agree x 3
  5. Coanda

    Coanda aahhh whinge whinge f@#ken whinge.. Staff Member AMS2 Club Member

    Joined:
    Apr 8, 2020
    Messages:
    2,080
    Likes Received:
    1,932
    v1.0.6.2

    A small issue with multi class Ai at 100/100. Load a practice session at the current Hockenheim layout for P1 & GT3. The P1's continuously sit right up the rear bumper (too close) of the GT3 down the straights hesitating off and on throttle. Many times they will not pull out and overtake the much slower GT3. Eventually they pass however it's very awkward and delayed. By this time I am 10 seconds up the road.
     
    Last edited: Jan 5, 2021
  6. ahpigsy

    ahpigsy Member

    Joined:
    Apr 2, 2020
    Messages:
    30
    Likes Received:
    21
    Without starting a new thread, I'm going to put this out there. Is there AI elastic banding going on? It seems every race and I mean every race the AI is so bunched up. There never seems to be one car or a group of cars able to escape the pack. If a lead car is able to get a break of half to 1 second or more the following car/s are always able to real it in. It seems every race the winner always wins by less than 1 second. In fact I find a 1 second win is a large win, typically it's only a couple of tenths or less. I have my AI race settings at 99 strength and 58 aggression with race lengths at 30 minutes. Makes for very close and exciting racing but quite unrealistic.
    What are others finding?
     
    • Agree Agree x 1
  7. Roar McRipHelmet

    Roar McRipHelmet Well-Known Member AMS2 Club Member

    Joined:
    Feb 25, 2020
    Messages:
    1,418
    Likes Received:
    1,139
    ahpigsy, what you are describing isn't AI rubber banding in the traditional sense. (i.e. when if the player is very fast or very slow compared to the AI, at least one of the AI opponents will speed up or slow down to match your pace so that you have someone to race against and make the game exciting)

    Correct me if I'm wrong, but from my understanding the AI talents are not currently in the game? So currently every AI follows the same procedures and runs at the same pace if all other factors are equal (same car, no players nearby, no collisions or off-track ventures, etc.)

    Also, there are currently other bugs in the AI code in multiclass racing which lead to faster cars getting stuck directly behind slower cars instead of passing them and leaving them behind. My guess is that Reiza for the moment is focusing on getting the general AI speed to a fair baseline and making sure that AI behavior around the player is not too game-braking. At a later point, more work will be done on AI behavior when the player is not nearby, as well as introducing talent files and other factors that can increase the spread in the field.
     
    • Like Like x 3
  8. ahpigsy

    ahpigsy Member

    Joined:
    Apr 2, 2020
    Messages:
    30
    Likes Received:
    21
    Thanks Roar for your response. Your explanation makes sense. Hope this is in fact the case.
     
  9. Coanda

    Coanda aahhh whinge whinge f@#ken whinge.. Staff Member AMS2 Club Member

    Joined:
    Apr 8, 2020
    Messages:
    2,080
    Likes Received:
    1,932
    v1.1.0.1

    GT1/P1 at Spa with 100/100 in the dry.

    Much too slow through Eau Rouge.. ER can easily be taken flat. They don't so they are easily passed down the Kemmel straight.

     
    Last edited: Jan 15, 2021
  10. Coanda

    Coanda aahhh whinge whinge f@#ken whinge.. Staff Member AMS2 Club Member

    Joined:
    Apr 8, 2020
    Messages:
    2,080
    Likes Received:
    1,932
    ^
    v1.1.0.4

    Eau Rouge continues to be a problem for the Ai. Extremely slow as they lift massively.
     
  11. Great Ape

    Great Ape Member

    Joined:
    May 16, 2020
    Messages:
    45
    Likes Received:
    16
    Reiza's AI also suffers from the same fundamental problem that all SIM AI suffers from, too much damn stability compensation.

    AI isn't at all effected by grass or gravel from what I've seen the last few days and contact with them is like being hit by a moving wall; you go rebounding off and they hold their line and drive on through - yet another successful PIT manoeuvre.
     
  12. James Lee GTE

    James Lee GTE Active Member

    Joined:
    Mar 30, 2020
    Messages:
    253
    Likes Received:
    193
    Today was my first day to try all the recent updates and hot fixes and I was excited for the new AI.
    I jumped into my personal favourite AMS2 combo, the P3 Roco at Oulton Park International.
    At 100% AI and 50% Agg I was lapping 8, yes 8 seconds a lap faster than the AI. I changed to AI 120% and Agg 100% and they can’t get within two second’s per lap of me. I’m not an alien!
    They did look better behaved, I don’t remember any zig zagging, they weren’t ramming me, side swiping me down the straights or making last second moves as I out braked them going into a corner. All of these improvements seem to have come at the expense of them now being super slow.
    I’ve not tried any other combos, because I wanted to jump on the forum and see what other AMS2 fans were saying and experiencing.
     
    Last edited: Jan 16, 2021
  13. James Lee GTE

    James Lee GTE Active Member

    Joined:
    Mar 30, 2020
    Messages:
    253
    Likes Received:
    193
    AI 120% Agg 100% P3 Roco VIR Full tested and the AI have no speed on the straights.
    I went from 5th to 1st on the long back straight with no effort at all. I let them get back in front again and in each of the three long flat out straight ish sections at VIR the AI are a raft of sitting ducks.
    It’s like they only have the gas pedal down 90% or they are carrying a lot of extra weight.
    In the corners they are competitive, but as soon as you hit a long straight they are so slow and you can pass them with zero effort. I spent three races toying with them, passing them, then letting them pass me back and on the final two laps I put my foot down and watched them vanish from my mirror.
    120% is the new 70% I guess?
     
  14. ControlLogix

    ControlLogix Active Member

    Joined:
    Nov 22, 2020
    Messages:
    111
    Likes Received:
    54
    I agree the P3 class AI is way too slow. The GT3 class used to be the same way but now the GT3s are fixed. I assume Reiza will fix the P3 class eventually as well. I am looking forward to it because the Roco is one of the most fun cars to drive in the game IMO, especially on the smaller tracks like Brands, Oulton, Donnington etc
     
  15. SoloWingX

    SoloWingX New Member

    Joined:
    Jul 3, 2016
    Messages:
    28
    Likes Received:
    7
    AI is getting quite "usable", there are improvements for sure. Two main things that detract from the experience (which other members here mentioned as well) is that:
    1. AI does not want to overtake, even from faster classes while racing for position or lapping, often AI get side by side and the one behind keeps braking on the straight, not getting into position for an overtake (even on 100 aggression).
    2. AI gets really bunched up, I often see the top 3 going 3 wide into corners, swapping positions but nobody gets established as the leader. This slows them down a lot as well.
     
    • Agree Agree x 2
  16. sampopel

    sampopel Active Member AMS2 Club Member

    Joined:
    Mar 31, 2020
    Messages:
    315
    Likes Received:
    145
    The AI is coming along compared with where it was at release and with some car/tracks combos, it now provides a decent enough race as a one-off experience but I agree with both of SoloWingX's above 2 points.

    However, I really do hope that some sort of Talent File system is coming as I don't really see an individuality in the AI - it currently appears to be just a bunch of clones of equal ability who virtually never make serious mistakes and there's still way too much of a tendency for the entire pack to remain together for the whole race, neatly space out at 0.5 second gaps, except when they get involved with the human player. Whilst they do sometimes overtake each other, they very rarely go off (other than an occasion wheel on the grass) and they barely ever a crash, let alone a DNF.

    I've not tried any of the offline championships yet but there's little incentive to race a season against an AI field with no individuality, personality or range of attributes and abilities. The fact you can't edit their names doesn't help. For the offline championships to be worth playing, it's vital they don't suffer from the problem PCars 2 did, where the ability of AI drivers was random from one race to the next, so the winner of one race could finish near last the next, so no rivalries were established because each AI driver was so inconsistent. It amounted to a series of one-off, disconnected races against random nobodies, so had no immersion and was barely any different to doing a bunch of one-off quick races.

    The Talent File system in AMS1 worked very well - AMS2 needs an equivalent.
     
    • Agree Agree x 9
  17. tpw

    tpw Well-Known Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    621
    Likes Received:
    428
    Some great points here. I’d also add in the tendency for AI to drop back after being passed.

    While in general the AI is sort of consistent between classes, at the moment there is a tendency for some AI classes to be extremely difficult to keep up with, while others can be thrashed with ease at the same settings. I’d love to see a per class difficulty multiplier slider, same as the per class FFB gain. At least then the user could set a global AI difficulty that generally works, and apply a per class multiplier for those outliers.
     
    • Agree Agree x 1
  18. steelreserv

    steelreserv Well-Known Member Staff Member AMS2 Club Member

    Joined:
    May 25, 2020
    Messages:
    969
    Likes Received:
    1,219
    Id like the AI to improve in another department. Comparative consistency. If you’re in TT, a ghost that posts the same or similar time will generally show you that the car is the car. You may gain or lose a few tenths here and there sure. But against AI with the same lap times, they are sometimes impossibly fast in some sectors hen frustratingly slow in others. As a matter of racecraft, you cant gain time on them in the firsr instance, then overtake multiple cars in the second. If you race against them a lot it gets gimmicy.
     
    Last edited: Jan 17, 2021
    • Agree Agree x 3
  19. ControlLogix

    ControlLogix Active Member

    Joined:
    Nov 22, 2020
    Messages:
    111
    Likes Received:
    54
    Totally agree with the above 3 posts. A few things that would improve an already greatly improved AI system:

    1. Talent files (I'm not familiar with AMS1 though so not sure what this includes. Skill/Aggression/Consistency/likelihood to make mistakes - would be what I would want)

    2. If not included in the talent files - AI should make a few more mistakes. I'd like something like the following: When racing behind a particular AI player and pushing him, he starts to make mistakes like locking up the tires or oversteering out of corners because he's giving a bit too much throttle. Obviously not all the time, but a few times in a race would be good. This would add a "human" element that is so much fun in MP, making your opponent nervous and waiting for him to make a mistake.

    3. Better AI skills in terms of being consistent. As mentioned above some corners they are too slow, and others they are too fast.

    With all that said, I just did a 40 lap race against GT1 AI at Silverstone and they are so much better than a few months ago. Plenty of wheel to wheel action, they will not give up a position easily and will fight you over multiple corners. They give me space but also hold their line, depending on the corner. I'm quite impressed with the recent updates to the AI. Also after a few laps I pause and look at the last lap/best lap of the top of the pack and the back of the pack, and it appears the front of the pack are running faster times than the back. So it looks like the AI are not just identical to eachother, which is good. Looking forward to more improvements from here.
     
    • Like Like x 1
    • Agree Agree x 1
  20. sampopel

    sampopel Active Member AMS2 Club Member

    Joined:
    Mar 31, 2020
    Messages:
    315
    Likes Received:
    145
    The talent files had about 9 main parameters. Most could be altered from values between 0-100, and even included decimal places, so very fine tuning was possible.

    Speed - how fast they are
    MinRacingSkill - how poor their worst laps can be
    Aggression - how aggressively they attempt overtakes
    StartSkill - how good off the line they are
    TireManagement - how quickly they wear their tyres
    Composure - likelihood of error
    Crash - likelihood of crashing
    Recovery - likelihood of avoiding imminent crash
    Courtesy - how quickly they will react to blue flag

    These were sufficient attributes to make for reasonably interesting and distinct AI personalities.

    By keeping the speed stats fairly close, I found that over the course of a season, the better AI drivers usually finished in the top half of the field but the finishing order varied every race, so it was genuinely competitive and not just a case of the the driver with the best speed stat won every race. The other attributes all played their part in creating variety and randomness with enough errors and crashes to make you feel that you weren't racing against error-free bots. If you made a mistake and found yourself detached from the back of the field, it was worth carrying on as you never knew when you'd come round a corner and see a couple of AI crashed at the side of the track. In AMS2, once you're off the back, your race is pretty much over as all of the AI will invariably finish in their neat procession.

    A few additional attributes would be ideal, such as qualifying ability, and as you suggest, composure when under pressure from behind and perhaps composure when leading.
     
    • Like Like x 2
    • Agree Agree x 1

Share This Page