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,457
    Likes Received:
    751
    So I was doing some testing in the formula vintage and I am having trouble getting the cars with low values to have failures. I tried to get Gurney's Eagle to blow up by puting very low values, (.45, .15, .10) and tried 4 different sessions over 40 min each and never had a failure. Without any custom value its working fine, had over 6 failures in 40 min, but I would like to simulate the bad realiability certain drivers had. Any idea how to manage it? Thanks!
     
  2. jusk

    jusk Well-Known Member AMS2 Club Member

    Joined:
    Jan 13, 2022
    Messages:
    233
    Likes Received:
    369
    So it seems people have started to figure it out themselves - but it would be good to get the two lists (under the spoiler tags) in the OP updated when someone gets a moment ;), i.e.:
    - Full list of vehicle class names (to include all the new variants requiring extra AI xmls)
    - Full list of track names (to include the new tracks and layouts for overrides)
     
  3. jusk

    jusk Well-Known Member AMS2 Club Member

    Joined:
    Jan 13, 2022
    Messages:
    233
    Likes Received:
    369
    I've started to update some of my files and first impressions on F-USA Gen3 seem to suggest the same thing you are seeing - i.e. oval performance bears little or no relation to the values I've put in the xml .
     
    • Like Like x 2
  4. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,512
    Likes Received:
    532
    My AI files all refer to Custom Liveries, without them, they are useless. And I can not share 40 ore more full mods with liveries and AI, because it would take ages to upload.
     
  5. Seb02

    Seb02 Active Member

    Joined:
    Mar 12, 2022
    Messages:
    519
    Likes Received:
    237
    F3 custom AI (Racedepartment) doesn't work anymore. Any idea?
    Edit : already renamed F309 but without success.
     
  6. john Ellis

    john Ellis The Rectifier of Names AMS2 Club Member

    Joined:
    Mar 18, 2020
    Messages:
    833
    Likes Received:
    993
    To which F3 Al file or livery set w/ AI file are you referring?
     
  7. Seb02

    Seb02 Active Member

    Joined:
    Mar 12, 2022
    Messages:
    519
    Likes Received:
    237
    Livery set with AI file
     
  8. Yerffej

    Yerffej Active Member

    Joined:
    Aug 30, 2020
    Messages:
    133
    Likes Received:
    128
    Which livery set Seb ?
     
  9. Seb02

    Seb02 Active Member

    Joined:
    Mar 12, 2022
    Messages:
    519
    Likes Received:
    237
    FIA F3 2020
     
  10. Yerffej

    Yerffej Active Member

    Joined:
    Aug 30, 2020
    Messages:
    133
    Likes Received:
    128
    Ah right, sorry Seb, i don't use that Livery set, i use the British F3 1999 set.

    Hope you get it working soon.
     
  11. Seb02

    Seb02 Active Member

    Joined:
    Mar 12, 2022
    Messages:
    519
    Likes Received:
    237
    Thanks, have a good day
     
  12. sampopel

    sampopel Active Member AMS2 Club Member

    Joined:
    Mar 31, 2020
    Messages:
    337
    Likes Received:
    150
    What happens with this now that in-game Aggression setting is a textual value from Low to Max?
     
  13. Shriukan

    Shriukan Touristenfahrten Community AMS2 Club Member

    Joined:
    Sep 23, 2019
    Messages:
    1,293
    Likes Received:
    931
    I think under the UI, they're still numerical values (they still are on the DS). The text entries is just to make it easier to quickly set up lobbies.
     
  14. sampopel

    sampopel Active Member AMS2 Club Member

    Joined:
    Mar 31, 2020
    Messages:
    337
    Likes Received:
    150
    Specifically, in terms of how to ensure the exact aggression values in our custom .xml files are used, as per gian's old explanation:
    • At 50% "Opponent Aggression" slider setting, the driver aggression will be identical to the overriden value.
    is setting it to "Medium" in-game now the equivalent of 50%?
     
  15. Shriukan

    Shriukan Touristenfahrten Community AMS2 Club Member

    Joined:
    Sep 23, 2019
    Messages:
    1,293
    Likes Received:
    931
    I think it’s 40 Low, 60 Medium, 80 High, 100 Max but don’t quote me on that xD
     
  16. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,512
    Likes Received:
    532
    Yes, medium should be the right choice.
     
  17. gian

    gian Administrator Staff Member AMS2 Club Member

    Joined:
    Mar 16, 2020
    Messages:
    91
    Likes Received:
    123
    New in update V1.4.0.0:

    Two new custom AI parameters were added in V1.4.0.0:

    vehicle_reliability: In short this is a ratio between the lowest and highest possible reliability for the car/class in question. @oez explained it in more detail in the OP.

    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.

     
    • Like Like x 4
    • Informative Informative x 1
  18. gian

    gian Administrator Staff Member AMS2 Club Member

    Joined:
    Mar 16, 2020
    Messages:
    91
    Likes Received:
    123
    As Shriukan said, Low is the old 40%, medium is the old 60%, High is the old 80% and max is the old 100%.

    OP updated with this info to explain how the custom 0.0-1.0 AI aggression values are mapped.
     
    • Informative Informative x 1
    • Friendly Friendly x 1
  19. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,512
    Likes Received:
    532
    So, you can not get the exact AI aggression as set in the custom file anymore?
     
  20. gian

    gian Administrator Staff Member AMS2 Club Member

    Joined:
    Mar 16, 2020
    Messages:
    91
    Likes Received:
    123
    Its just that the max range possible was reduced a bit (with 50% slider you got a slightly bigger range), but the custom AI agression 0.0 and 1.0 are still mapped to the min and max of the range of each setting, and proportionally in between.
     
    • Informative Informative x 2

Share This Page