1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. #GiveAwayFriday. Win a copy of F1 2017 - The Game. Click here to join.

Pit stop question

Discussion in 'Assetto Corsa' started by Billy Pilgrim, Jul 10, 2016.

  1. Billy Pilgrim

    Billy Pilgrim

    Messages:
    654
    Ratings:
    +99
    Hi
    When playing AC, I usually have 20-minute races against AI. I set the ai strength so that I can just about/almost win if I drive at my very best - this depends on no one pitting at all in the race (or, it could be, everyone including me having to pit once during the race).

    On one or two mod tracks (maybe more) some of the AI sometimes pit - this messes up my properly balanced AI race.

    This happened recently with Albert Park: I was racing against a variety of GT3 cars and all of the nIssan GT3 cars pitted once, no one else.

    Is there a way to stop any of the AI pitting? Or setting up a race where everyone has to pit once?
     
  2. Edu Martinez

    Edu Martinez
    Premium

    Messages:
    53
    Ratings:
    +24
    As much as I know, AI only goes to pit to re-fuel. So if you put fuel slider off, AI won´t go to pit.

    Another way, this is more difficult because default AI setup (usually no full fuel), you can change the fuel consumption in
    assettocorsa\cfg\templates and change Fuel rate, e.g. in pro file. 1 is x1, 2 is x2, 5 is x5, etc. etc. and AI will go often to pit.
     
    • Like Like x 1
  3. Stereo

    Stereo

    Messages:
    2,344
    Ratings:
    +1,370
    Mod tracks need their lap distance recorded in a fixed format or else the AI can't predict how much fuel to use. The 'length' in ui_track.json should be a distance in metres, nothing else.
     
    • Like Like x 1
    • Agree Agree x 1
  4. Billy Pilgrim

    Billy Pilgrim

    Messages:
    654
    Ratings:
    +99
    Thanks for your replies.

    I have the fuel consumption slider off, in fact.

    Anyway, I went in to the ui_track.json and it seems the length isn't expressed properly (it's written: "length": "5.027m"). So I'll change that to 5027m and see if that helps.
     
  5. Billy Pilgrim

    Billy Pilgrim

    Messages:
    654
    Ratings:
    +99
    I changed the ui_track json, as you suggested, and put it in metres. Just ran a race with AI at Albert Park and the Nissan GTRs all pitted still.

    Any other ideas?
     
  6. Helmut Skrdla

    Helmut Skrdla
    Premium

    Messages:
    382
    Ratings:
    +218
    AI might pit for damage (I think). Why only the Nissans... makes no sense. What does the replay tell you about those cars?
     
  7. Billy Pilgrim

    Billy Pilgrim

    Messages:
    654
    Ratings:
    +99
    I haven't looked at the replay that closely. And I have had damage turned off for these races anyway.

    Also, I've remembered that the other track where I have this pitting problem is Mountain Peak. And I haven't raced GT3 cars there yet. So I don't think it's just a problem with the Nissan GT3 cars - it just appeared to be in the Albert Park races (on several occasions though).

    This is puzzling
     
  8. Helmut Skrdla

    Helmut Skrdla
    Premium

    Messages:
    382
    Ratings:
    +218
    Use the replay and check the fuel levels. Check for impacts/damage. If neither, submit a bug report to the maker of the mod track...
     
  9. LilSki

    LilSki
    Premium

    Messages:
    807
    Ratings:
    +2,252
    Go to the AI folder of the track and copy the fast_lane.ai file and paste it into the data folder. Then rename it to ideal_line.ai.
     
    • Like Like x 2
  10. Billy Pilgrim

    Billy Pilgrim

    Messages:
    654
    Ratings:
    +99
    Your advice has totally fixed the problem.
    Thank you very much for your help. :)
     
    • Like Like x 2