Ai don't finish the race

Discussion in 'Technical & Support' started by rixracer, Aug 12, 2018 at 1:29 AM.

  1. rixracer

    rixracer Registered

    Joined:
    Nov 5, 2011
    Messages:
    34
    Likes Received:
    4
    When I run a full-length F1 race, offline, with a full field of 21 AI cars, their ability at the highest settings, they quit the race about halfway through. Is there a setting i can adjust to keep this from happening?
     
  2. ADSTA

    ADSTA Registered

    Joined:
    Nov 19, 2011
    Messages:
    789
    Likes Received:
    425
    In the Standings screen does it say why they "quit" eg, fuel, damage?
    I have never heard of an AI vehicle quitting.
     
  3. rixracer

    rixracer Registered

    Joined:
    Nov 5, 2011
    Messages:
    34
    Likes Received:
    4
    I'll try again, to be sure, but i think it just said dnf.
     
  4. ADSTA

    ADSTA Registered

    Joined:
    Nov 19, 2011
    Messages:
    789
    Likes Received:
    425
    If they weren't in a Mercedes or Ferrari they may have decided there were better things to do. :D
     
  5. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    4,893
    Likes Received:
    1,148
    Which F1 mod?
     
  6. rixracer

    rixracer Registered

    Joined:
    Nov 5, 2011
    Messages:
    34
    Likes Received:
    4
    Ok, ran another full race, most that didn't finish were out of fuel, 1 dnf. Is there a line in the json's or elsewhere where i can make sure they take a full tank of fuel (120L)? I know you can force Ai to use a specified setup. Or maybe this has something to do with the league mod, where the originators didn't concern themselves with singleplayer offline use...
     
  7. ADSTA

    ADSTA Registered

    Joined:
    Nov 19, 2011
    Messages:
    789
    Likes Received:
    425
    I have no idea if this works but you can only try.
    In your player.JSON there are these two options:
    "Fixed AI Setups":false,
    "Fixed AI Setups#":"whether AI use the fixed setups, only applicable if \"Fixed Setups\" is also enabled (and can be used in single player to have the AIs use your favorite setup)",
    "Fixed Setups":false,
    "Fixed Setups#":"use fixed setups specified in UserData\\<plr>\\FavoriteAndFixedSetups.gal (based on track and vehicle class)",

    Change both of them to :true,
    I then suppose you make a setup with a full tank and put that in the FavoriteAndFixedSetups.gal. What that last step involves I have no idea. :oops:

    There is always the easier but probably the least desirable option, turn fuel usage off in the race setup options.
     
  8. rixracer

    rixracer Registered

    Joined:
    Nov 5, 2011
    Messages:
    34
    Likes Received:
    4
    I do want the fuel load to be a factor. I'll figure out how to load the setups. Thanks
     
    Last edited: Aug 13, 2018 at 3:24 AM
    ADSTA likes this.
  9. JimmyT

    JimmyT Registered

    Joined:
    Jan 16, 2012
    Messages:
    234
    Likes Received:
    96
    Is fuel still calculated for the AI by using the fuel usage in the track AIW file?
    If this is still the case then individual mods will calculate differently (Y/N I'm not a modder so guessing on that)
    Try on a couple of different tracks and see if the cars finish on any of them. Then maybe try a couple of different mods on the track you're having trouble on and see what happens.
    Let us know how you get on. :)
     
  10. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    395
    Likes Received:
    150
    Go to this site http://meetme.bplaced.net/rF2_onlineTools/ and scroll to the bottom of the site.
    There you'll find a tutorial about how to use fixed setups.
     

Share This Page