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,513
    Likes Received:
    532
    The skills in Race/Qualifying have a range from 85-100%.
    So, skill = 100 means that driver is at 100% strength.
    Skill=0 means driver is at 85%.
     
    Last edited: Nov 28, 2021
    • Informative Informative x 2
  2. Shpalman

    Shpalman Member AMS2 Club Member

    Joined:
    Mar 24, 2020
    Messages:
    79
    Likes Received:
    52
    is it planned an ingame interface to do this?
     
  3. YZAKY

    YZAKY New Member

    Joined:
    Jun 5, 2021
    Messages:
    18
    Likes Received:
    12
    What y understood is, if you play at 100 skill in the game, the ai skill is randomly generate between 95 and 105 ( to set some gap between the ai )

    The interest of the editor is to tell the game witch car will be at 95, 96....105.
    so, if at 100 skill you are at middle pack in quali and you are fine with it, it means that you are at 0.5 in the editor.

    So, in the editor, you will set the car you want in pole at 1.0 ( 105 ai skill ), and the last at 0.0 ( 95 ai skill ).

    If you want to " fight " with a specific driver during the event, you will set his car to 0.5 ( 100 ai skill )
    It means, don't be afraid to putt 0.0 in the editor to a car, it just tell the game, this car is ( more or less ) 5 skill level under the sill level you putt the ai in the game.

    Tell me if I'm right, or not ?
     
  4. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,513
    Likes Received:
    532
    Just testing the V12 files for F1 93, 94 and 95. Of course, I had some typos in it. :whistle:
    Should be available within 1 hour.
     
    • Like Like x 3
  5. Luke Blum

    Luke Blum Active Member AMS2 Club Member

    Joined:
    Feb 21, 2021
    Messages:
    162
    Likes Received:
    140
    Just wanted to make a PSA:

    I was doing a bunch of copying and pasting between xml files and whatnot, and it stopped working. Heres why (because it may happen to you)

    If any of the drivers are missing the "<driver livery_name> thing, it will make the entire file not work. I had missed copying and pasting that value for nigel mansells car (which was the version i chose, not sure how relevant that was) and it caused the entire grid to be the regular names. Hope this helps anyone who is stuck in troubleshooting mode.
     
  6. Shriukan

    Shriukan Touristenfahrten Community AMS2 Club Member

    Joined:
    Sep 23, 2019
    Messages:
    1,293
    Likes Received:
    931
    Online folks editing json files for the Dedicated Server:
    [​IMG]

    But on a serious note, good to have folks test and discover things ^^
     
  7. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,513
    Likes Received:
    532
    • Winner Winner x 5
  8. br1x92

    br1x92 Active Member

    Joined:
    Aug 1, 2021
    Messages:
    327
    Likes Received:
    146
    I was told the range for race and qualifying skill ist different for each car though.

    I was more specifically asking for the other values, as I don't know how to approach these.

    How fast do they lose pace with 0.0 stamina?
    How often does their skill get lowered with lower consistency?
    How much worse is their tyre management with a lower value?
    It's really hard to test these out, so some info would really help.
     
  9. chonk

    chonk Well-Known Member AMS2 Club Member

    Joined:
    Jul 3, 2021
    Messages:
    502
    Likes Received:
    265
    Would it be possible to have the default AI skills file? Just thinking this would be a nice base to start from.
     
  10. F1WGP

    F1WGP New Member

    Joined:
    Nov 16, 2021
    Messages:
    3
    Likes Received:
    0
    Just a question, sorry if it has been covered already but the new TSI cup has 2 car types with the exact same livery names. Anyway to adjust this so I can edit all the cars? I want to do a Brazilian driver .xml for this series. eg: Castro Neves, Massa etc.
     
  11. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,513
    Likes Received:
    532
    With stamina and tire management I did no experiments so far, sorry.
     
  12. br1x92

    br1x92 Active Member

    Joined:
    Aug 1, 2021
    Messages:
    327
    Likes Received:
    146
    Exactly, the range in his example was 90 AI, so the range of his example is 85-95.
    If the range was 80, the range was 75-85.
    But he said it varies, so I assumed it was by car.
    Clarification would be nice anyway.
     
  13. Sparviero

    Sparviero Member

    Joined:
    Aug 10, 2021
    Messages:
    78
    Likes Received:
    25
    The custom grid doesn't work properly.

    I create five class files with 12, 4, 4, 5, 5 livery/drivers each, than I selected 29 opponents. However, in race the grid is composed just by custom drivers (no other liveries, so it seems ok for this part) but number cars per class are changed (eg. 8, 5, 5, 6, 6) with duplicates (eg. two times the same driver).
     
    Last edited: Nov 28, 2021
  14. F1WGP

    F1WGP New Member

    Joined:
    Nov 16, 2021
    Messages:
    3
    Likes Received:
    0
    I can't seem to get my custom drivers to appear in game, I've included the file, is it possible if somebody could help to pinpoint what I am doing wrong? Note: Skill are random, from the template I used.
     

    Attached Files:

  15. chonk

    chonk Well-Known Member AMS2 Club Member

    Joined:
    Jul 3, 2021
    Messages:
    502
    Likes Received:
    265
    at first glance it's probably just a simple syntax error on line 3

    that closing </driver> tag shouldn't be there.
     
    • Like Like x 1
    • Agree Agree x 1
  16. guidc79

    guidc79 New Member

    Joined:
    Nov 28, 2021
    Messages:
    13
    Likes Received:
    0
    The custom AI drivers works fine when I play alone but it doesn't work in multiplayer. Is it possible to use it in multiplayer at this moment?
     
  17. Pieter Nienhuis

    Pieter Nienhuis Active Member AMS2 Club Member

    Joined:
    Mar 11, 2016
    Messages:
    209
    Likes Received:
    44
    Which letters do I use for a Swiss driver ? Is there a list we can use ?
     
  18. JKraemo

    JKraemo New Member

    Joined:
    Jan 6, 2021
    Messages:
    2
    Likes Received:
    5
    I made custom Drivers for the FIA F3 2020 mod, strengths are based on the 2020 season, so hauger for example is just in the midfield. If possible the drivers have the correct numbers, but sometimes I preferred having other drivers in the race, because each team only gets 2 cars instead of the 3 cars in reality. So Drivers are always in the correct team, but sometimes they have the wrong number.

    I already sent it to the mod creator so it might be included in the RD download soon
     

    Attached Files:

    • F-3.xml
      File size:
      6.5 KB
      Views:
      234
    • Like Like x 3
    • Useful Useful x 1
  19. JKraemo

    JKraemo New Member

    Joined:
    Jan 6, 2021
    Messages:
    2
    Likes Received:
    5
    • Like Like x 2
    • Informative Informative x 1
  20. TKracer

    TKracer Active Member

    Joined:
    Aug 16, 2021
    Messages:
    117
    Likes Received:
    119
    I've tried finding an answer in this thread but im just going to ask.

    Is it possible to have a custom grid that works for any car? So one file for all cars? I just want the names of F1 grid on any racetrack/car combo.

    I tried naming it custom_ai_drivers.xml and placing it in documents and steam folder but its not working.
     

Share This Page