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

Information for Customizing AI drivers in AMS2

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

  1. Mazdaspeed

    Mazdaspeed Well-Known Member AMS2 Club Member

    Joined:
    Aug 25, 2022
    Messages:
    1,544
    Likes Received:
    786
    As far as I know the AI strategies are a separate code to their custom parameters, so I don't think a custom AI file would make a difference.
    • fuel_management: For now this parameter works in oval tracks only (but in future it will be extended to all track types); The higher the value, the more the AI will try to save fuel in some strategic situations instead of pushing, like when it sees it can maybe save a pitstop, it will try to stay in draft and coasting instead of overtaking while at the same time trying to not lose much distance to the race leader. It doesnt mean high value is better than low value, its just a characteristic of the driver.
    I don't think the fuel management matters much in the GT1's not fueling completely. At least with the Formula Cars the AI do fill their tanks to avoid pitting for fuel if they can.

    Have you tried without the custom AI?
     
  2. JavierZumaeta

    JavierZumaeta Active Member

    Joined:
    Aug 28, 2020
    Messages:
    304
    Likes Received:
    176
    Got it, yeah I figured. It's just frustrating. Thanks :) I hope the devs got visibility on this issue. No idea if it affects the lmdh's. I know they'll get on it when they get the chance.
     
    Last edited: Dec 6, 2024
  3. metzgerov

    metzgerov Member

    Joined:
    Apr 5, 2021
    Messages:
    47
    Likes Received:
    4
    The Tyre management does affect pit stops. Ive experimented with the default vs a modded file using accelerated wear.
     
    • Like Like x 1
  4. RmRx8

    RmRx8 New Member

    Joined:
    Jan 26, 2024
    Messages:
    9
    Likes Received:
    9
    Really old thread I guess...but I'm assuming there's still no remedy for the fact that your AI co-driver is slower than you? Honestly this defeats the whole feature of AI driver swap. They should be within a second of your time, give or take. If not you have to adjust the opponent AI downward--and I don't know if your AI adjusts downward with it, not to mention ruining the challenge when the human driver is on the track. Does anyone have any ideas for this? Or do we just pester Reiza or get used to just pausing 24h endurance races a lot (since we have no session save).
     
    • Agree Agree x 1
  5. mr cheese

    mr cheese Member

    Joined:
    Apr 16, 2024
    Messages:
    32
    Likes Received:
    12
    So your AI co drivers pace is tied to the in game difficulty. So if you want to make them faster, lower the race/quali skills of all drivers in your custom ai file, then raise the in game difficulty to balance out. The only real bug with ai driver swaps is tire wear is not reset when swapping to the ai driver.
     
  6. Sd9810

    Sd9810 New Member

    Joined:
    Dec 6, 2024
    Messages:
    2
    Likes Received:
    0
    Been looking through threads trying to find guidance on using custom AI drivers in 1.6 and not having much luck. I'm new to AMS2 with the 1.6 update and really pleased so far. Been sim racing for about a year (mostly iRacing). While I do online racing, I do spend a fair amount of time offline, and in iRacing really liked the level of customization you can to with sliders and various driver attributes. So, I downloaded the "custom driver utility", created a grid, saved to the AMS2 "user data" folder, etc.
    In game, when creating a custom session I do not see the grid I created (or anything else in the menu) for using custom AI. Can anyone help with what I am missing?
     
  7. mr cheese

    mr cheese Member

    Joined:
    Apr 16, 2024
    Messages:
    32
    Likes Received:
    12
    There’s nothing more to select. Make sure your number of opponents is set to the same number of drivers in your custom file or less. If it’s not working you most likely have a typo in the livery names. Make sure the livery names in the custom file match those in game EXACTLY. like case and space sensitive and everything.
     
    • Informative Informative x 1
  8. mr cheese

    mr cheese Member

    Joined:
    Apr 16, 2024
    Messages:
    32
    Likes Received:
    12
    So does anyone know of a way to edit the max number of custom drivers supported? I'm trying to recreate (or as close as I can get) to the 2024 Daytona 24hr grid. Right now I have 54 cars. (you can change the max grid size using cheat engine incase you didn't know). However I can only seem to get custom AI files to work with up to 47 AI drivers. Any more than that, and the custom grid breaks. I've tested each class individually. All working, so no typos anywhere. This has been the case long before the new 48 car grids were implemented. Anyone have any ideas?
     
  9. BrockBuster29

    BrockBuster29 Member

    Joined:
    Nov 5, 2024
    Messages:
    71
    Likes Received:
    36
    Steam}right click ams2} browse local files
    Go to userdata }customaiDrivers
    Make sure your file is in there.

    The custom drivers utility won't save there automatically.

    Edit I made a video

     
  10. BrockBuster29

    BrockBuster29 Member

    Joined:
    Nov 5, 2024
    Messages:
    71
    Likes Received:
    36
    Hey guys been working with John B Ellis giving his NAMeS files some skills
    Here a quick vid on how it's going
    Link to overtake download in the description

     
  11. anaheimduck

    anaheimduck New Member

    Joined:
    Dec 22, 2024
    Messages:
    5
    Likes Received:
    0
    Hello,
    when this feature will be enabled in multiplayer?
    I need that to drive a custom championship with a friend.
    For now in every race we get random opponents so we can't drive a championship.
     
  12. BrockBuster29

    BrockBuster29 Member

    Joined:
    Nov 5, 2024
    Messages:
    71
    Likes Received:
    36

    Try here man

    The Feature Request Thread...
     
  13. Ronaldo Ferraz

    Ronaldo Ferraz New Member

    Joined:
    Jun 19, 2021
    Messages:
    4
    Likes Received:
    1
    After the last update, I can no longer edit the number of opponents in the custom championship and the custom AIs stopped working. Do I have to modify any files after version 1.6?
     
  14. DannyDB

    DannyDB Member

    Joined:
    Oct 9, 2024
    Messages:
    80
    Likes Received:
    60
    In your opinion and based on your experience, what is an appropriate range of values for GT3 and prototypes for: aggression, defending, mistakes, and especially vehicle reliability?
     
    • Like Like x 1
    • Creative Creative x 1
  15. João Marcelo

    João Marcelo New Member

    Joined:
    Jan 3, 2025
    Messages:
    1
    Likes Received:
    0
    Hi, i made all the tutorials about change IA drivers name but none worked.
    follow the files below
     

    Attached Files:

  16. stealthradek

    stealthradek Smoothie operator AMS2 Club Member

    Joined:
    Nov 22, 2020
    Messages:
    800
    Likes Received:
    688
    On your second image the path looks like you have "CustomAIDrivers" folder twice. It should be just once in the path:
    upload_2025-1-3_21-58-37.png

    This worls for me well, but I haven't tried your XML file.
     
    Last edited: Jan 3, 2025
    • Agree Agree x 1
  17. anaheimduck

    anaheimduck New Member

    Joined:
    Dec 22, 2024
    Messages:
    5
    Likes Received:
    0
    when this feature will be enabled in multiplayer?
    a simple "use custom AI" on/off button would be nice.
    This feature is needed that we are able to race a custom championship with friends online
     
  18. Buzzhornet

    Buzzhornet New Member

    Joined:
    Mar 13, 2017
    Messages:
    10
    Likes Received:
    0
    Agree this is definitely required for multiplayer- such a shame playing the awesome Immersion F1 mods - that the custom names don’t work in multiplayer.
     
  19. anaheimduck

    anaheimduck New Member

    Joined:
    Dec 22, 2024
    Messages:
    5
    Likes Received:
    0
    Yes and it's a shame that you can not race against a normal full filled grid. Sometimes teams are missing and you have 3 cars of some other teams around. i don't won't to race against 3 benetton and 3 mclarens...why the hell it's not implemented yet in multiplayer?
     
  20. Aaron Green

    Aaron Green Well-Known Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    678
    Likes Received:
    327
    I've come back to this game since 1.6 and the IMSA content. Just trying to create an IMSA grid, reiza stated in the first page of this thread,

    For example, at 90% "Opponent Skill Level" slider setting: it builds a range from 85% to 95% (just example, the exact numbers vary for each vehicle model), so a 1.0 race skill driver would be 95% skill and a 0.0 race skill driver would be 85% skill in this example.

    Are those parameters still correct?! That's an incredibly tight set of parameters - I'm guessing that would explain some of the train like behaviour of the AI grouping together? Is there any way of making the game more in line with AMS 1 where 0.1 would denote 10% skill, 0.2 - 20% etc etc.
     
    • Like Like x 1

Share This Page