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

    F_B Well-Known Member AMS2 Club Member

    Joined:
    Apr 25, 2016
    Messages:
    845
    Likes Received:
    774
    Custom AI for the F1 1997 season. Skins are here

    Unfortunately there's nothing I can do about the two orange McLaren with their testing livery.
    I just left them out of the customization they appear however in the grid ofc.

    Just copy the content of the txt-file into your custom_ai_drivers.xml file.
     

    Attached Files:

    Last edited: Nov 22, 2021
    • Like Like x 5
  2. bandqit

    bandqit Active Member

    Joined:
    Dec 19, 2020
    Messages:
    257
    Likes Received:
    216
    You guys are f*cking kings
     
    • Like Like x 1
  3. gian

    gian Administrator Staff Member AMS2 Club Member

    Joined:
    Mar 16, 2020
    Messages:
    91
    Likes Received:
    123
    Currently this feature is disabled in multiplayer, as we didnt have time yet to confirm if it would work in all cases like host migration etc
     
    • Informative Informative x 4
  4. gian

    gian Administrator Staff Member AMS2 Club Member

    Joined:
    Mar 16, 2020
    Messages:
    91
    Likes Received:
    123
    Each vehicle (not livery) has its own performance, so you should account a factor for that if you want to make a slower vehicle driver perform better than a faster vehicle driver.

    In other words, if you give all drivers the same values, the drivers on the faster vehicles will be faster (because their vehicles are faster).
     
    Last edited: Nov 22, 2021
    • Informative Informative x 5
  5. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,512
    Likes Received:
    532
    delete
     
  6. SaxOhare

    SaxOhare Well-Known Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    2,234
    Likes Received:
    1,046
    I did a test with a Custom_ai_drivers all factor 1 for Skill
    and a rerun of the same race with no skills applied in the Custom_ai_drivers
    V10 Gen2 difficulty 100/50

    It makes me think I don't understand how the cars handle the skill values
    No "faster cars" are popping up in the row where skill=1

    skill compared.JPG

    After the explanation, I expected that in both columns the ratio in lap time differences would be the same
    Or is there something like a "x-1 multiply the standard differences" in the calculation?
     
    Last edited: Nov 23, 2021
  7. Erbinator

    Erbinator New Member

    Joined:
    Nov 23, 2021
    Messages:
    2
    Likes Received:
    0
    Could I include this in the skinpack?
     
  8. SaxOhare

    SaxOhare Well-Known Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    2,234
    Likes Received:
    1,046
    Yes you can, It isn't optimized jet especially the blue-flag values are a bit to high, If you want i can lower them so the cars will let other cars through a bit earlier
    You may add it as it is, I will post an update here when finished
     
  9. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,512
    Likes Received:
    532
    "1" corresponds with what was "100" in AMS 1, it is just the highest value in AMS 2. So, if all drivers have "<race_skill>1.00</race_skill>", all AI are set to maximum skill and perform almost the same as shown in your sheet (all pilots within 2/10 of a second).
    If you want that some guys lose like 4 seconds as Diniz in your example with the original skills of the game, you might set his value to maybe 0.1. This was the way it worked with the talent files in AMS 1 (with values between 1 and 100 there).
     
  10. Erbinator

    Erbinator New Member

    Joined:
    Nov 23, 2021
    Messages:
    2
    Likes Received:
    0
    I will do that! Thanks.
     
  11. gian

    gian Administrator Staff Member AMS2 Club Member

    Joined:
    Mar 16, 2020
    Messages:
    91
    Likes Received:
    123
    All drivers with 1.0 skill perform rougly the same because the vehicle performances in this case are rougly the same.

    When you dont apply any skills, the game applies the original skills of the drivers that would be picked for that event, so they have this variation in skill.
     
    • Informative Informative x 4
  12. Haris1977

    Haris1977 Active Member

    Joined:
    Apr 7, 2020
    Messages:
    395
    Likes Received:
    105
    2 questions:

    1) Is this custom xml being deleted with every game update?

    2) From what i understand, at the end of the day, we are going to have one big custom xml file which will include lots (if not all) of car classes/names/driver characteristics etc (i m sure lot of ppl will contribute to this), is this correct? (+ the overiding skins that may be present for many classes)
     
  13. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,512
    Likes Received:
    532
    Where is the country flag displayed? Just in the menu screen or even during races?
     
  14. Harry H

    Harry H Active Member AMS2 Club Member

    Joined:
    Mar 25, 2020
    Messages:
    229
    Likes Received:
    189
    Don't know the answer to 1) yet but I suspect it will not delete.

    For 2) that can contain as many or as few customized drivers for the various in-game and add-on liveries as the user wishes. Each user's custom config file will be different, depending on what they want to customize.
    @eSTee3 has created an excellent tool (TEMPLATE - AMS2 AI Creation Tool) that allows editing of all the driver parameters and then generates the necessary custom .xml file. There's a number of liveries he's already added. I think it'd be a great idea for the community to work on completing the full list of liveries, including skin mods, 'cause it's quite a lot of work (well over 1,000 liveries). Probably needs someone to organize this effort...:whistle:
     
    Last edited by a moderator: Dec 13, 2021
    • Like Like x 1
    • Informative Informative x 1
  15. krissangel

    krissangel Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    47
    Likes Received:
    6
    I can't do new champ anymore.
    custom AI + new champ (v10 gen 1) = crash
     
  16. Harry H

    Harry H Active Member AMS2 Club Member

    Joined:
    Mar 25, 2020
    Messages:
    229
    Likes Received:
    189
    There could be a typo in the custom.xml liveries list causing this perhaps? Would need to check. @SaxOhare mentioned that special characters can cause issues and may need to be manually corrected in the custom_ai_xml
     
  17. gian

    gian Administrator Staff Member AMS2 Club Member

    Joined:
    Mar 16, 2020
    Messages:
    91
    Likes Received:
    123
    could you try again without the custom AI or share your custom file for us to check?
     
  18. krissangel

    krissangel Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    47
    Likes Received:
    6
    I made few tests.
    Custom championship is ok, even with custom AI and even with V10 gen1
    Some champs are ok too (i didn't tested all)
    But V10 gen 1 champ crashes with and without custom AI
     
    • Informative Informative x 1
  19. krissangel

    krissangel Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    47
    Likes Received:
    6
    In fact, all the champs where i use custom liveries crash with or without le custom AI file.
    If i use custom champ and select the car with custom liveries and custom ai, it seems to be ok (not tested all)
     

    Attached Files:

    • Like Like x 1
  20. gian

    gian Administrator Staff Member AMS2 Club Member

    Joined:
    Mar 16, 2020
    Messages:
    91
    Likes Received:
    123
    no
     
    • Informative Informative x 2
    • Like Like x 1

Share This Page