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. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,512
    Likes Received:
    532
    Blofeld GP is missing...:whistle:
     
    • Funny Funny x 1
  2. F_B

    F_B Well-Known Member AMS2 Club Member

    Joined:
    Apr 25, 2016
    Messages:
    849
    Likes Received:
    776
    You are doing a great job of continuing the Microprose F1GP naming tradition (Carlos Sanchez, Robert Davies, Helmut Becker etc). :D
     
    • Like Like x 1
    • Agree Agree x 1
  3. ott782

    ott782 New Member

    Joined:
    Mar 21, 2024
    Messages:
    8
    Likes Received:
    8
    Is it possible to get the in-game AI values as a reference?
    Maybe, it is accessible from game files or can be exported using the PCarsTools?
     
    • Agree Agree x 1
  4. Shanakar

    Shanakar New Member

    Joined:
    Dec 15, 2023
    Messages:
    7
    Likes Received:
    0
    I have a question regarding the AI values for race skill, etc. How far in the decimal points can the values go? For example. I understand it's from 0.0 to 1.0 but between that, can it be 0.001, 0.006, 0.075, 0.124?

    So for example, a driver with race skill 0.001 would be slower or worse than a driver with 0.006 or 0.075. Is that value system possible? I understand the differences may differ very little but that's what I want, just seeing how far the decimal values can go.
     
  5. gian

    gian Administrator Staff Member AMS2 Club Member

    Joined:
    Mar 16, 2020
    Messages:
    91
    Likes Received:
    123
    you can go as far as you want, the values go as far as float values in c++ go
     
    • Like Like x 2
    • Informative Informative x 2
  6. Shanakar

    Shanakar New Member

    Joined:
    Dec 15, 2023
    Messages:
    7
    Likes Received:
    0
    Thank you for the answer. I did play around with it and found out that race skill or qualifying skill at 0.98 with 110% AI skill results in quite unrealistic times, the AI are way too fast and have way too much grip compared to the player. At 0.01, the AI is so slow. I found the 0.85 to be a happy position with 110-120% AI skill. Interesting that as this means those values can have a massive effect on lap times too and the AI Skill % doesn't change too much going up or down compared to how much the laptimes change when adjusting the values in the XML file.

    Appreciate your answer though, had fun playing with it and learned quite a bit more. :)
     
  7. ott782

    ott782 New Member

    Joined:
    Mar 21, 2024
    Messages:
    8
    Likes Received:
    8
    In what "Failure Time Range" band the F-Trainer/F_Trainer_Advanced is falling into?
    Very Low (5-400)
    Low (25-700)
    Medium (50-1000)
    High (100-1500)
    Very High (300-2000)

    It is not listed in the documentation.
     
  8. Mako Reactor

    Mako Reactor New Member

    Joined:
    Mar 3, 2024
    Messages:
    2
    Likes Received:
    0
    Hi everyone, I just ran into a problem with my AI after installing the 2024 skin pack for the formula ultimate gen 2 car. All my AI are driving in a single file line after installing these skins and im not sure what im doing wrong to fix it. They arent battling each other or even passing at all. To the point that it looks strange. Any help would be greatly appreciated. thank you
     
  9. Mazdaspeed

    Mazdaspeed Well-Known Member AMS2 Club Member

    Joined:
    Aug 25, 2022
    Messages:
    1,461
    Likes Received:
    752
    Strange indeed, is it happening on every track? The Ultimate G2 got a new AI defense update, maybe the custom AI is causing some kind of conflict. Try erasing the aggression and defense parameters on the XML to see if that makes a difference, if not try deleting all the parameters and leave only the names and nationalities. If after that they still have issues delete the XML and use the vanilla AI, if they get fixed after that then there might be some conflict by using a custom XML that only Reiza can fix.

    The AI got worse at overtaking on the latest update but not so bad as to literally run in single file all the time. Might give it a try myself, haven't played the game much after the last update, on an RPG binge now.
     
  10. Mako Reactor

    Mako Reactor New Member

    Joined:
    Mar 3, 2024
    Messages:
    2
    Likes Received:
    0
    I deleted the skin pack and tried it without and the ai were great again. I then put the skin pack back in and all is well now. not sure what i did wrong but I definitely messed up somewhere. Thank you for the help!
     
  11. jota.191

    jota.191 (I'm Lando Garlando in AMS2 lobbies) AMS2 Club Member

    Joined:
    Jul 3, 2022
    Messages:
    511
    Likes Received:
    327
    This is easy to test but I do not have the game now, while I am building an AI file. Should be known but I could not find it in the forums.

    My question: If we have two AI entries assigned to the same livery and there are more AI cars in the session than liveries available, do the repeated liveries take different names? If this is not already a feature I guess it should be..

    (context: want to use the vintage indycar mod released lately with 31 AI without duplicated names, without doing modifications to the mod -that is the plan B-)
     
  12. Racer63

    Racer63 Member

    Joined:
    Jan 29, 2022
    Messages:
    53
    Likes Received:
    18
    Just a small newby question . Can I modify names in mods installed with CM?
     
  13. jota.191

    jota.191 (I'm Lando Garlando in AMS2 lobbies) AMS2 Club Member

    Joined:
    Jul 3, 2022
    Messages:
    511
    Likes Received:
    327
    Yes, just as with reiza content.
     
    • Like Like x 1
  14. metzgerov

    metzgerov New Member

    Joined:
    Apr 5, 2021
    Messages:
    29
    Likes Received:
    2
    How are the Formula USA Aero packages assigned to each track?
    In a custom championship the package stays on whatever the 1st race is. Can you edit the driver files to fix this?
     
    • Agree Agree x 1
  15. jota.191

    jota.191 (I'm Lando Garlando in AMS2 lobbies) AMS2 Club Member

    Joined:
    Jul 3, 2022
    Messages:
    511
    Likes Received:
    327
    AFAIK aero packages are automatically chosen according to the type of track. I personally run my championships using spreadsheets so I haven't noticed the bug you reported. It gives me more flexibility to change things in the middle of the championship.

    (of course the bug should be sorted, also a feature to force aero packages in tracks they are not the ones chosen by default is also an interesting feature to have)
     
  16. Andrew Curtis

    Andrew Curtis Active Member

    Joined:
    May 29, 2023
    Messages:
    217
    Likes Received:
    140
    The Wet Skill level doesn't do anything.
    I've been using the custom drivers utility for a few weeks now (it's great for creating ultra competitive races with the AI) the only problem is you can't race the AI in changable weather, they're FAR TOO fast in the wet.
    I did a test with the hi-tech 1992 F1 cars and Monza 1991. First I set the wet skill level to 99 and the single AI car on track with full wet tyres did a 1:37.5, so then I tried it with the wet skill level at 0 and they did the same 1:37.5.
    Do Reiza plan on addressing this anytime soon? It's incredibly frustrating that we can't race the AI in changable weather.
     
    • Like Like x 1
    • Agree Agree x 1
  17. Mazdaspeed

    Mazdaspeed Well-Known Member AMS2 Club Member

    Joined:
    Aug 25, 2022
    Messages:
    1,461
    Likes Received:
    752
    It's been a while now that the wet skill value has been disabled, same with the stamina and tire management. It will be probably stay like that for some time, as they want to dial in the AI wet/changeable conditions pace and tire wear before enabling those parameters again. Both are being worked for 1.6, so hopefully it's not that long till they activate them again, as it would be very cool to have the wet specialist like say a Ickx, Rodriguez, Senna, etc, excell when it gets wet.

    Thinking about it one of the first games to actually have some drivers being faster on the wet was F1 97 on PS1, ahh the good old days :p.
     
  18. Andrew Curtis

    Andrew Curtis Active Member

    Joined:
    May 29, 2023
    Messages:
    217
    Likes Received:
    140
    I hope you're right that they bring this back. I'm racing early 90's F1 cars (hitech) and not being able to have changable weather is a big let down.
    Lots of promises about 1.6... we'll see.
     
  19. Andrew Curtis

    Andrew Curtis Active Member

    Joined:
    May 29, 2023
    Messages:
    217
    Likes Received:
    140
    delete this please.
     
  20. Mazdaspeed

    Mazdaspeed Well-Known Member AMS2 Club Member

    Joined:
    Aug 25, 2022
    Messages:
    1,461
    Likes Received:
    752
    Oh. I am not promising anything, I am not a developer. Just pointing out that its being worked on for 1.6 (at least the tire wear, wet/changeable AI pace) whether it's ready or not by the time the update releases, I have no idea.
     

Share This Page