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,475
    Likes Received:
    509
    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:
    781
    Likes Received:
    706
    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:
    2
    Likes Received:
    0
    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:
    3
    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:
    88
    Likes Received:
    121
    you can go as far as you want, the values go as far as float values in c++ go
     
    • Informative Informative x 2
    • Like Like x 1
  6. Shanakar

    Shanakar New Member

    Joined:
    Dec 15, 2023
    Messages:
    3
    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:
    2
    Likes Received:
    0
    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,094
    Likes Received:
    544
    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:
    408
    Likes Received:
    278
    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-)
     

Share This Page