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 V1.3

Discussion in 'Automobilista 2 - General Discussion' started by gian, Nov 19, 2021.

  1. SaxOhare

    SaxOhare Well-Known Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    2,205
    Likes Received:
    1,036
    edit
     
    Last edited: Nov 23, 2021
    • Like Like x 1
  2. eSTee3

    eSTee3 Active Member AMS2 Club Member

    Joined:
    Mar 17, 2020
    Messages:
    122
    Likes Received:
    68
    Just created this. All you need to do is make a copy of it and fill it in! I have yet to add all cars and liveries, but the formulas should help.

    TEMPLATE - AMS2 AI Creation Tool
     
    • Like Like x 10
    • Winner Winner x 3
    • Informative Informative x 1
  3. Maser V6

    Maser V6 Assume nothing._ Verify everything._Have fun AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    2,494
    Likes Received:
    1,416
    @SaxOhare @eSTee3
    Thanks for taking the time and effort chaps, this looks interesting and I will be keen to give it a go when able.
    Sure it will help lots of users.
    templates/files/scripts/skins ect not my thing but may give this a go.
     
  4. Rob Fitness

    Rob Fitness Active Member AMS2 Club Member

    Joined:
    Mar 28, 2016
    Messages:
    135
    Likes Received:
    154
    Thanks for this table
    Once i have filled in the list how do i get it to an .xml ?
     
  5. Harry H

    Harry H Active Member AMS2 Club Member

    Joined:
    Mar 25, 2020
    Messages:
    211
    Likes Received:
    177
    Instructions are in the sheet, top left :)
     
    • Like Like x 2
  6. Harry H

    Harry H Active Member AMS2 Club Member

    Joined:
    Mar 25, 2020
    Messages:
    211
    Likes Received:
    177
    Brilliant! Thanks!
     
  7. Rob Fitness

    Rob Fitness Active Member AMS2 Club Member

    Joined:
    Mar 28, 2016
    Messages:
    135
    Likes Received:
    154
    Didn't really work for me just copy/pasting. looks like i need to go through the .xml and "make good" to work. looks like to many " " in lines.

    Maybe i did something wrong? great table though :) saved a heap of time, looking forward to tweaking the xml now.

    thanks for the time it must have taken to make the table and for sharing it.
     
    Last edited: Nov 21, 2021
    • Like Like x 1
  8. Rob Fitness

    Rob Fitness Active Member AMS2 Club Member

    Joined:
    Mar 28, 2016
    Messages:
    135
    Likes Received:
    154
    got a SuperV8 grid sorted, now just a few days fiddling with values :).
    Please @reiza for the love of sim racing make the front, rear & back seat windows editable on this car. ;)
     
    • Like Like x 5
  9. SaxOhare

    SaxOhare Well-Known Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    2,205
    Likes Received:
    1,036
    Custom AI for Formula Ultimate, For skinpack F1 2020 Skinpack Conversion V1.0
    F1 2020 Skinpack - Conversion

    <<< System Changed File doesn't work anymore >>>>
     
    Last edited: Nov 23, 2021
    • Like Like x 2
    • Friendly Friendly x 1
  10. F_B

    F_B Well-Known Member AMS2 Club Member

    Joined:
    Apr 25, 2016
    Messages:
    778
    Likes Received:
    705
    A first try to recreate the '91 season with the F Classic Gen3.
    It's probably not perfect but it works.
    Get the skins here
     

    Attached Files:

    • Like Like x 5
  11. SaxOhare

    SaxOhare Well-Known Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    2,205
    Likes Received:
    1,036
    Last edited: Nov 23, 2021
    • Like Like x 5
  12. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,465
    Likes Received:
    505
    As I do not have the beta version, I just wanted to ask if there really is just one file for all driver names of the game? As I have many livery mods, this will get quite confusing pretty soon.
     
  13. Harry H

    Harry H Active Member AMS2 Club Member

    Joined:
    Mar 25, 2020
    Messages:
    211
    Likes Received:
    177
    Yup, just one custom ai file.... but it can include as many or as few customized cars as you want. You can also include any / all livery mods (or not). I'm pretty sure this is just an interim solution until Reiza figures out how to expand the Custom Championship functionality to include customizing drivers / grids.
     
    • Informative Informative x 1
  14. SaxOhare

    SaxOhare Well-Known Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    2,205
    Likes Received:
    1,036
    To make life a little easier I made a powershell script, It will ask you where your custom xml files is and copy or overwrites your custom_ai_drivers.xml file in de "%Documents%\Automobilista 2 Beta" directory
    I can now save my custom files with a name related to the skinpack used in a dedicated directory, the script will rename it and put it in place

    Rename de extension txt to ps1

    <<< System Changed File doesn't work anymore >>>>
     
    Last edited: Nov 23, 2021
    • Like Like x 1
  15. SaxOhare

    SaxOhare Well-Known Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    2,205
    Likes Received:
    1,036
    @gian What will happen if you use Custom AI in a multiplayer lobby (and add the AI drivers to the Race) ?
    Do they collide if the users in the lobby use different AI files for the same skinpack, Is the host dominant, does every client use its own (impossible I think) , or will they not be used at all in multiplayer ?
     
  16. deadly

    deadly Well-Known Member

    Joined:
    Jul 8, 2016
    Messages:
    1,465
    Likes Received:
    505
    One more question as a non-beta user: Let's say, I would just alter the driver names and the aggression values. In this case, the drivers have all other values from the original game, don't they?
     
    • Agree Agree x 1
  17. SaxOhare

    SaxOhare Well-Known Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    2,205
    Likes Received:
    1,036
    Yes the values you don't add in your xml come from the game
     
  18. SaxOhare

    SaxOhare Well-Known Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    2,205
    Likes Received:
    1,036
    @gian If I give All Formula Classic Gen3 classes the same values, will all cars perform the same, or is there still difference in class ?
    If so are these factors known or should I make a custom AI file and put all values to say 0.5 do some test races and calculate the factor by myself ?

    Say I will make Senna the fastest, is it done by giving him the best values, or should I add a factor because he is in a slower-class Car
     
  19. SaxOhare

    SaxOhare Well-Known Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    2,205
    Likes Received:
    1,036
    If you use custom liveries, it is easier to get the names from the xml in override directory to avoid typo's
    You can copy and paste
     
  20. SaxOhare

    SaxOhare Well-Known Member AMS2 Club Member

    Joined:
    Mar 10, 2016
    Messages:
    2,205
    Likes Received:
    1,036
    questions.......

    Is it possible to add an field to the XML defining if the car is used in the starting-field or not, or can the game get a feature to only use the cars that are included in the custom_ai_drivers.xml ?
    Since we can use the Custom_ai_drivers files, it would be nice if I could select what AI-cars are added to the field.
    This is Handy for testing and creating a starting-field for a class that has more cars in the game than Players defined in the custom_ai_drivers.xml
     

Share This Page