• “Just being a mediocre driver has never been my ambition. That's not my style” ― Michael Schumacher
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dear Guest. Follow RaceDepartment on Twitter, Facebook, Instagram, Twitch, Steam and YouTube.

Championship race and AI

Discussion in 'Automobilista' started by juliel55, May 15, 2016.

  1. juliel55

    juliel55

    Messages:
    156
    Ratings:
    +24
    I am running an off line Championship using Superv8's and Aussie tracks ( Bathurst, Melbourne and Queensland etc). Races are 40 laps, I've noticed that the AI does not pit for tyres or fuel. Is there away to force the AI to pit during these races. Say like set parameters for the AI to pit between 20-25 laps. Is there a file somewhere that I can alter for this to happen ? Or what is the best race length to make the AI pit wether it be laps or a timed race ? Any help would be appreciated.
     
  2. Keith Windsor

    Keith Windsor

    Messages:
    1,775
    Ratings:
    +598
    http://www.racedepartment.com/threads/ai-pit-stop-strategies.68045/
    This has always worked well for me.

    (You could also double or treble the fuel/tyre use so that they need to pit quicker, but I find pitstrategies more reliable than waiting for the AI to get low on fuel, and if they choose for themselves when to pit for worn tyres they tend to stay out too long and get a bit slow in their last few laps)
     
  3. kamackeris

    kamackeris
    Premium

    Messages:
    1,802
    Ratings:
    +792
    It's a bit annoying and long winded if you have to do that for every race you want to run. I would rather reiza get the ai to it themselves
     
  4. Keith Windsor

    Keith Windsor

    Messages:
    1,775
    Ratings:
    +598
    Yes, it is a bit long winded, but once you have made a list for your favourite drivers, you can copy and paste to gdbs, and easily edit the numbers.

    Reiza did actually have the pit strategies in their gdbs in previous game versions, so I'm not sure why they were removed. (if you have SCE, I think many driver names have stayed the same so they could always be copy/pasted from there).
     
  5. juliel55

    juliel55

    Messages:
    156
    Ratings:
    +24
    I tried this with AMS but could not get it to work. Tracks I tried it on was Melbourne, Queensland and Winton. Melbourne and Queensland were upgraded to AMS by Patrick and Winton was from CSE also enhanced by Patrick. I followed all your instructions (Keith Windson) by couldn't get it to work which is a shame I really want the AI to make pit stops.
     
  6. Keith Windsor

    Keith Windsor

    Messages:
    1,775
    Ratings:
    +598
    I'm using this in AMS and it definitely works.
    If I can help I will.
    You need to double check the driver name, and ALL the spaces in your typing. And the brackets. If any of these are wrong it will not work.

    Which cars are you using? If you want, I'll make a gdb with some pit strategies in to get you started.
     
    • Like Like x 1
  7. PieterN

    PieterN
    Premium

    Messages:
    429
    Ratings:
    +95
    Thanks Keith, i've just tested this by adding the lines below to the gdb of a track and it works ! AI started to pit after the # of laps in the "strategie-lines".. This was using the skinpack by Rob.

    PitStopStrategies

    {

    Chris Pither = 1 - 3
    Aaren Russell = 1 - 6
    Tim Blanchard = 1 - 8
    Andre Heimgartner = 1 - 3
    James Moffat = 1 - 6
    Tim Slade= 1 - 8
    Lee Holdsworth = 1 - 3
    Scott Pye = 1 - 5
    Nick Percat= 1 - 8
    Chaz Mostert = 1 - 6
    Fabian Coulthard= 1 - 8
    David Reynolds = 1 - 3
    Cameron Waters= 1 - 8
    Rick Kelly = 1 - 6
    Todd Kelly = 1 - 3
    Scott McLaughlin= 1 - 8
    Michael Caruso = 1 - 6
    Jason Bright = 1 - 3
    Shane Van Gisbergen= 1 - 8
    James Courtney = 1 - 6
    Garth Tander = 1 - 3
    Mark Winterbottom= 1 - 8
    Jamie Whincup = 1 - 3
    Craig Lowndes= 1 - 8
    Will Davison = 1 - 3

    }
     
  8. juliel55

    juliel55

    Messages:
    156
    Ratings:
    +24
    I'm using Rob Fitness's V8 supercar skins with the drivers names that PieterN has listed here. Only difference I can see is that I haven't got a space between Pitstopstrategies and }, also no space between 1-3 (1=Pitstop, 3=lap No). This is an example of what I have (Rick Kelly = 2-10,30). Should it look like this, (Rick Kelly = 2 - 10,30). Thanks for the help.
     
  9. Keith Windsor

    Keith Windsor

    Messages:
    1,775
    Ratings:
    +598
    Yes, that one looks right - you MUST have the spaces exactly the same or it will not work.:

    Rick Kelly = 2 - 10,30

    Rick KellySPACE=SPACE2SPACE-SPACE10,30

    Always spaces round the equals,
    always spaces round the number of stops,
    always spaces round the hyphen,
    but no spaces between lap numbers & commas

    Silly I know, but that's how it works.
     
  10. juliel55

    juliel55

    Messages:
    156
    Ratings:
    +24
    This is how I set it up for the Queensland track and it worked a treat. Now I need to try it with 2 pit stops.

    PitStopStrategies

    {

    Aaren Russell = 1 - 15
    Andre Heimgartner = 1 - 14
    Cameron Waters = 1 - 10
    Chaz Mostert = 1 - 13
    Chris Pither = 1 - 9
    Craig lowndes = 1 - 11
    David Reynolds = 1 - 25
    Fabian Coulthard = 1 - 15
    Garth Tander = 1 - 16
    Jack Perkins = 1 - 7
    James Courtney = 1 - 15
    James Moffat = 1 - 14
    Jamie Whincup = 1 - 15
    Jason Bright = 1 - 11
    Lee Holdsworth = 1 - 8
    Mark Winterbottom = 1 - 14
    Nick Percat = 1 - 15
    Rick Kelly = 1 - 11
    Scott McLaughlin = 1 - 18
    Scott Pye = 1 - 11
    Shane Van Gisbergen = 1 - 15
    Tim Blanchard = 1 - 14
    Tim Slade = 1 - 13
    Warren Luff = 1 - 16
    Will Davison = 1 - 15
    }
    }
     
    • Like Like x 2
  11. juliel55

    juliel55

    Messages:
    156
    Ratings:
    +24
    I can get this to work in single race mode but not in a championship season. files are the same as above. all can do is keep at it until I work it out......
     
  12. Keith Windsor

    Keith Windsor

    Messages:
    1,775
    Ratings:
    +598
    I haven't used it in a championship season, so I'm sorry I can't help. I'm surprised if it doesn't work though.