Information for Customizing AI drivers in AMS2

Discussion in 'Automobilista 2 - General Discussion' started by gian, Nov 19, 2021.

  1. Dimitris Papadamis

    Dimitris Papadamis New Member

    Joined:
    Jul 4, 2025
    Messages:
    6
    Likes Received:
    0
    Thanks for your immediate reply is any tutorial how to do it ? Any link somewhere here the guide ?
     
  2. Brett Nagle

    Brett Nagle Well-Known Member AMS2 Club Member

    Joined:
    Oct 14, 2016
    Messages:
    1,342
    Likes Received:
    712
    You're in the thread that explains it... Go to the first post to read about how to create custom AI files.
     
  3. Seb02

    Seb02 Well-Known Member

    Joined:
    Mar 12, 2022
    Messages:
    567
    Likes Received:
    253
    The first page of this thread is updated by Reiza. All the information is there.
     
  4. Erik G

    Erik G Member

    Joined:
    Sep 8, 2022
    Messages:
    38
    Likes Received:
    5
    This did not work for me when I wanted to create a multiclass GT3/GT3gen2 championship with 48 cars, filling up the gap from GT3gen2 with cars from GT3. When creating a XML with only the number of GT3 cars I wanted to attend the game picked cars at random from the entire GT3 grid.

    Might be a multiclass thing though.
     
  5. Brett Nagle

    Brett Nagle Well-Known Member AMS2 Club Member

    Joined:
    Oct 14, 2016
    Messages:
    1,342
    Likes Received:
    712
    No it's because you need a custom AI for every class you're using, even if you max out one class, it still needs a custom AI file. So if you're using GTE, GT3 Gen 2, and GT3 Gen 1 you need a custom AI for each class.
     
    • Agree Agree x 1
  6. Erik G

    Erik G Member

    Joined:
    Sep 8, 2022
    Messages:
    38
    Likes Received:
    5
    I did.

    I had one full XML for Gen 2, can't recall on the top of my head the exact number but it covered the entire grid, so let's say 41 drivers. Then one XML for Gen 1 with only, let's say, seven drivers. The assumption being that the grid would only consist of the full custom Gen 2 and these seven Gen 1 drivers. But the game did not load my custom Gen 1 (or at the very least not more than a couple) drivers. Only when I added a complete custom Gen 1 grid XML file did the game fill all Gen 1 slots with custom drivers. Note: I was myself driving a Gen 2 car if that matters at all.
     
  7. Brett Nagle

    Brett Nagle Well-Known Member AMS2 Club Member

    Joined:
    Oct 14, 2016
    Messages:
    1,342
    Likes Received:
    712
    Something wasn't right then. You don't have to have a full AI list for a custom grid, just the cars that you want. I recently had an issue with custom AI and thought I had everything correct, but in one file I had a very small, easily missed typo that broke it all. I only found it because I tested adding one car at a time for the class I knew wasn't working correctly. You could try the same for your GT3 Gen 1 class.
     
    • Agree Agree x 1
  8. Seb02

    Seb02 Well-Known Member

    Joined:
    Mar 12, 2022
    Messages:
    567
    Likes Received:
    253
    Brett Nagle said it all
     
    • Friendly Friendly x 1
  9. Erik G

    Erik G Member

    Joined:
    Sep 8, 2022
    Messages:
    38
    Likes Received:
    5
    That was my assumption. But I use Notepad++ with an XML plugin which would have pointed out the errors of my ways. Of course it is possible the script missed something. My hope was to have only the Nissans (and one or other different car added) join.

    I'll give it another try someday.
     
  10. Erik G

    Erik G Member

    Joined:
    Sep 8, 2022
    Messages:
    38
    Likes Received:
    5
    I did give it another try. Gen 1 with 7 custom drivers, Gen 2 with 40, me in Gen 2. Loaded in. Zero custom drivers selected, so all vanilla. Went back in the XML file. Added two more custom drivers, so 9 custom drivers in the file. In game, changed grid setup to 8 Gen 1 and 39 Gen 2. Loaded in, driving Gen 2. Now it works, field is filled with all custom drivers. But, here's the kicker: there are now 9 Gen 1 drivers on the grid, which matematically isn't correct, 39+8 is 47 and then add me as a Gen 2 driver makes it 48.

    I guess the game decided to add one extra Gen 1 in the mix. But why did it then not work the same way with 7 drivers? If the game actually really needed to add another driver or two it could've summoned up a vanilla driver. Might any of this happen because I 'overwrite' an AI by picking a car that is in the Gen 2 file. It's very confusing to say the least.
     
  11. Brett Nagle

    Brett Nagle Well-Known Member AMS2 Club Member

    Joined:
    Oct 14, 2016
    Messages:
    1,342
    Likes Received:
    712
    How many actual cars are there for GT3 Gen 2? I don't know off the top of my head, but if you're exceeding it that could be the issue. Why don't you post your AI files so we can look at them and test them on our side.
     
  12. Erik G

    Erik G Member

    Joined:
    Sep 8, 2022
    Messages:
    38
    Likes Received:
    5
    My file has 40 drivers in Gen2, based on a template from somewhere. Now that you mention it, without the XML there is only 39 drivers available in Gen2 without the custom drivers file. That would solve the issue, well partly, now I got to figure out which driver is superfluou. :D

    Thanks for the nudge in the right direction!
     
    • Friendly Friendly x 1
  13. john Ellis

    john Ellis The Rectifier of Names AMS2 Club Member

    Joined:
    Mar 18, 2020
    Messages:
    907
    Likes Received:
    1,118
    What is the .xml file name for the Ligier JS2 R class? I have a custom file that adds drivers from the Ligier European Series, but neither LES.xml, Ligier.xml, LigierCup.xml, nor JS2R.xml ... oh, its LES_2025.xml.
     
    Last edited: Jul 30, 2025
  14. RockettSally

    RockettSally The Average AMS2 enjoyer

    Joined:
    Mar 31, 2020
    Messages:
    82
    Likes Received:
    83
    I created a series of fake drivers with full params just for giggles, and had a blast.

    Ligier Euro Series - Fantasy Custom AI File
     
  15. DannyDB

    DannyDB Member

    Joined:
    Oct 9, 2024
    Messages:
    89
    Likes Received:
    65
    AMS2 Custom AI Performance
    This is a collection of custom AI drivers tailored for various specific classes in the game. I've tried to compile the driver rosters based on their real-world performance in both qualifying and race conditions — and where possible, also for wet-weather events.

    Sprint Race Brasil (season 2019)
    Super V8 (season 2019)
    Ginetta G55 Supercup (season 2019)
    GT4 European Series (season 2019)
    GTE (2018/2022 IMSA + WEC)
    Copa Montana (season 2010 + 2011/2012 guest)
    Stock Car Brasil (season 2019)
    Stock Car Brasil (season 2020)
    Stock Car Brasil (season 2021)
    Stock Car Brasil (season 2022)
    Stock Car Brasil (season 2023)
    Stock Car Brasil (season 2024)
    Carrera Cup Brasil/Porsche Supercup (season 2020)
    Lamborghini Super Trofeo USA (season 2024)
    LMP2 Gen1 (IMSA 2018/2020 + ELMS 2020)
    LMP2 Gen2 (season 2024 IMSA Oreca/Ligier)
    LMP2 Gen2 (various seasons ELMS/WEC for Ligier skins)
    DPi (2018/2022 IMSA)
    GT3 Gen1 (IMSA 2018/2022 + Blancpain 2020)
    GT3 Gen2 (season 2024 IMSA + 2024 WEC)
    LMDh (season 2024 IMSA + 2024 WEC)

    https://www.overtake.gg/downloads/ams2-custom-ai-performance-by-dannydb.79113/
     
  16. Brett Nagle

    Brett Nagle Well-Known Member AMS2 Club Member

    Joined:
    Oct 14, 2016
    Messages:
    1,342
    Likes Received:
    712
    I'm curious you advise run a 10-20 min practice along with private qualifying. I get the private qualifying, but what does practice have to do with anything in terms of calibrating for a race?
     

Share This Page