Information for Customizing AI drivers in AMS2

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

  1. Andrew Wiggin

    Andrew Wiggin New Member

    Joined:
    Feb 20, 2022
    Messages:
    2
    Likes Received:
    0
    Renato basically confirmed this will never happen. I am super bummed about that information
    AMS2 AI Developer Q&A - Physics & AI
     
  2. Erik G

    Erik G Member

    Joined:
    Sep 8, 2022
    Messages:
    32
    Likes Received:
    5
    Currently running a custom GT3 sprint championship with custom drivers, 5 rounds. Three iterations so far. 47 AI (GT3 gen2 and GT3 "gen1"). 45 minute races.

    All damage is on and set to high.

    In the custom driver XMLs I've tried with in each different iteration of the championship; low rates (< 0.0005) , negative rates (-15), really large negative rates (-1500).

    I've tried the 10x mechanical failure rate in combination with low reliability - no cars ever retire And I've tried the sync to race failure rate with the same combination - no cars ever retire.

    15 races - not one retirement. Zero.

    Had a little looksie at the real sprint race results last year. Generally at least one car retired per race - probably not from mechanical failure all the time but since AMS2 AI never retire from damage then mechanical failure is all we've got to try to mix it up a bit.

    Anyone got any working vehicle_reliability value for the GT3 classes that gives at least some chance of a car retiring?
     
    • Informative Informative x 1
  3. Marg

    Marg Active Member

    Joined:
    Dec 7, 2021
    Messages:
    135
    Likes Received:
    56
    vehicle_reliability can be set to negative values like -1.0 or even -2.0
     
  4. Mazdaspeed

    Mazdaspeed Well-Known Member AMS2 Club Member

    Joined:
    Aug 25, 2022
    Messages:
    1,579
    Likes Received:
    804
    Math is not my forte, but the formula to apply negative values changes, so maybe it's not doing anything in the XML files because it's not coded properly and it's resetting to default values?

    I have done a lot of custom files but have never used negative values, so I dunno how it exactly works.
     
  5. Erik G

    Erik G Member

    Joined:
    Sep 8, 2022
    Messages:
    32
    Likes Received:
    5
    Tested this and don't seem to make any difference.

    Math is not a strong side for me either.

    Negative values are supposedly supported but with a completely different formula. As mentioned I've tried with low positive values as well, but I don't think the formula for this works for cars with higher mean time before failures. Could there perhaps be a limit for parsing decimals in the XML? Ran a championship with custom AI Ginetta G40 and G55 at one point before this and the low values worked very well with the G40 but not at all with the G55 so I don't really know. Puzzling.
     

Share This Page