The new adaptive AI

Discussion in 'General Discussion' started by Paradox Agi, Apr 18, 2016.

  1. Christian G

    Christian G Topological Agitator Beta tester

    Joined:
    Apr 8, 2015
    Ratings:
    +2,411 / 0 / -0
    It's in the windows documents folder > my games > Simbin.
    C:\Users\abc\Documents\My Games\SimBin\RaceRoom Racing Experience\UserData\Player1
     
    • Agree Agree x 1
  2. Tobias Schröder

    Tobias Schröder Well-Known Member

    Joined:
    Jan 29, 2015
    Ratings:
    +273 / 0 / -0
    Ahhhh now this makes sense. Thanks!
     
    • Winner Winner x 1
  3. Not Lifting Off

    Not Lifting Off Well-Known Member

    Joined:
    Dec 5, 2015
    Ratings:
    +368 / 0 / -0
    I was bored last night and as im a bit of a tweaker thought id have a look.
    This works, i was having a look at it last night trying the ai at Brands.
    From the r3e-data file Brands hatch
    "2519": {
    "Name": "Brands Hatch",
    "Id": 2519,
    "layouts": [
    {
    "Name": "Indy",
    "Track": 2519,
    "MaxNumberOfVehicles": 24,
    "Id": 2520
    }

    In the ai file Brands hatch indy
    <!-- Index:45 -->
    <key type="int32">2520</key> Indy layout id, then a few rows below
    <key type="int32">1703</key> 1703, this is the car class, and the below that you have your own lap times and the % strength the ai used and the lap time they got,
    <key type="int32">1703</key> 1703 car class = gt3
    <custom>
    <custom>
    <!-- Index:0 -->
    <custom type="float32">46.94735718</custom> my 10 lap times
    <!-- Index:1 -->
    <custom type="float32">46.85037994</custom>
    <!-- Index:2 -->
    <custom type="float32">50.43113708</custom>
    <!-- Index:3 -->
    <custom type="float32">46.62089157</custom>
    <!-- Index:4 -->
    <custom type="float32">46.56800079</custom>
    <!-- Index:5 -->
    <custom type="float32">46.65780640</custom>
    <!-- Index:6 -->
    <custom type="float32">46.95803833</custom>
    <!-- Index:7 -->
    <custom type="float32">47.30282974</custom>
    <!-- Index:8 -->
    <custom type="float32">46.67492676</custom>
    <!-- Index:9 -->
    <custom type="float32">47.32662964</custom>
    </custom>
    <custom>
    <!-- Index:0 -->
    <key type="uint32">90</key> The ai started at 90%
    <custom>
    <custom type="float32">52.28863525</custom> First ai lap time.
    <custom type="uint32">1</custom>
    </custom>
    <!-- Index:1 -->
    <key type="uint32">105</key> Then 105%
    <custom>
    <custom type="float32">48.49121094</custom>
    <custom type="uint32">1</custom>
    </custom>
    <!-- Index:2 -->
    <key type="uint32">113</key>
    <custom>
    <custom type="float32">47.06024170</custom>
    <custom type="uint32">1</custom>
    </custom>
    <!-- Index:3 -->
    <key type="uint32">115</key>
    <custom>
    <custom type="float32">47.09455109</custom>
    <custom type="uint32">2</custom>
    </custom>
    <!-- Index:4 -->
    <key type="uint32">116</key> all the way to 116%, here they were competitive
    <custom>
    <custom type="float32">46.79758835</custom>
    <custom type="uint32">2</custom>
    </custom>
    </custom>
    </custom>
    I did 4 or 5 10 min races to see what showed up in the adaptive ai file, one thing i noticed is the file only saves your last 10 laps regardless of time (prefer it if it saved your 10 best times), the next bit is guesswork, maybe totally way off, but im guessing the ai has its reference times (from the first 4 or 5 races) and and will then be set at a %speed close to the average of your last 10 laps for your next race at that track (a guess).
    Would imagine if you had a little scripting knowledge someone could knock up an editor in no time.
    Does anyone thats done a good run of gt3 races against the ai wish to share their AI file?
    Hope it helps someone.
     
    • Informative Informative x 2
    • Like Like x 1
    Last edited: Apr 21, 2016
  4. Christian G

    Christian G Topological Agitator Beta tester

    Joined:
    Apr 8, 2015
    Ratings:
    +2,411 / 0 / -0
    Unbenannt.PNG
     
    • Informative Informative x 2
  5. Paradox Agi

    Paradox Agi Active Member

    Joined:
    Dec 26, 2015
    Ratings:
    +31 / 0 / -0
    This is what an adaptive AI should do in my opinion. It should adapt to whatever I race so that it is always up to my current capabilities and gives me a comfortable feeling and fun instead of frustration when racing.

    Maybe this is bad for players looking for a real challenge but I like it that way.
     
  6. Not Lifting Off

    Not Lifting Off Well-Known Member

    Joined:
    Dec 5, 2015
    Ratings:
    +368 / 0 / -0
    Understand that, but if your like me and have a drink\smoke occasionally have a couple of races and not really care that your incapable, next time you come to race they are going to be on par with the drunken out of sorts you and not challenging you at your best. This then leads to the ai having to learn your speeds again and it takes two races for them to get upto your speed. If it just saved your best times or best averages you know from the start how the ai are going to drive every race - on top form and you have to be at your best day in day out.
     
  7. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    assuming you are not too intoxicated, you could save the old file, then do your "don't care race" and push back the old file.
     
    • Agree Agree x 1
  8. Not Lifting Off

    Not Lifting Off Well-Known Member

    Joined:
    Dec 5, 2015
    Ratings:
    +368 / 0 / -0
    If i was going to create an ai file i would write protect it and change that only when i go to learn a new track.
     
  9. Paradox Agi

    Paradox Agi Active Member

    Joined:
    Dec 26, 2015
    Ratings:
    +31 / 0 / -0
    And this kind of pressure is something I don't like at all. This is something that makes me stop playing a game because when I want to play I think how hard it was last time and I end up playing a different game, where I feel it will be fun and no frustration. I don't need really hard challanges, I play games for fun.
     
    • Like Like x 1
  10. Wikke

    Wikke New Member

    Joined:
    Oct 2, 2015
    Ratings:
    +0 / 0 / -0
    hi boys,
    big thx for the info in here...
    i deleted the all the folders in C:\Users\x\Documents\My Games\SimBin\RaceRoom Racing Experience
    then boot up the game again and indeed a lot of things changes in the good way :) .
    my ffb in my fanatec v2 base feels great now and many more. just all the maps and files in C:\Users\x\Documents\My Games\SimBin\RaceRoom Racing Experience are bleu ... is that normal ?

    this is the first time i deleted this files in the folder lol :)

    can somebody help me out : i use 900° Always most the time for all my games. what is the good steering lock then in this game ?
    big thx boys !!!!
    grtz
    wim
     
  11. Paradox Agi

    Paradox Agi Active Member

    Joined:
    Dec 26, 2015
    Ratings:
    +31 / 0 / -0
    What does 'the files are bleu' mean? The blue connection icon at the R3E folder is normal, if this was your question.
     
  12. Wikke

    Wikke New Member

    Joined:
    Oct 2, 2015
    Ratings:
    +0 / 0 / -0
    hi, this is what i mean. dont know if its normal but i take a screenshot...
    grtz and thx for the reply
     

    Attached Files:

  13. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    windows file system supports its own "compression" (right lick on file) and colors compressed files in blue
     
    • Agree Agree x 1
  14. Not Lifting Off

    Not Lifting Off Well-Known Member

    Joined:
    Dec 5, 2015
    Ratings:
    +368 / 0 / -0
    Only time ive seen my files in blue like that has been down to win 10 permissions, restore a win10 backup and files added to a second hard drive after the os was originally backed up show as blue irc.
     
  15. Wikke

    Wikke New Member

    Joined:
    Oct 2, 2015
    Ratings:
    +0 / 0 / -0
    again a new update today, do we need to delete the folder again ?
     
  16. Christian G

    Christian G Topological Agitator Beta tester

    Joined:
    Apr 8, 2015
    Ratings:
    +2,411 / 0 / -0
    No, it's not a requirement to delete your user folder or adaptive AI file after each update. I'm using the same file I've been using for months and it works just fine.
    It looks like in some rare ocassions the data in the file might get corrupted and then you'd need to delete and create a new one, but this is not the normal case.
     
  17. Wikke

    Wikke New Member

    Joined:
    Oct 2, 2015
    Ratings:
    +0 / 0 / -0
    ok thx.
     
  18. Not Lifting Off

    Not Lifting Off Well-Known Member

    Joined:
    Dec 5, 2015
    Ratings:
    +368 / 0 / -0
    You would be racing against ai using your top 10 lap times as a guide, there is no pressure unless you impose it on yourself. They are not going to suddenly be 3 seconds a lap quicker than you, as it currently is if you had a bad last session they may well be 3 seconds slower.
    Just my opinion but i would rather they remembered my best averages rather than my last session. Too many variables with last session whereas best averages come over time and as my average improves the ai does with it!
     
  19. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    Hang on......
    I've read that the best way to 'train' the AI was to do a series of short 10 minute races.
    However, if the AI is based on the last 10 laps you did, wouldn't it be more optimal to do one 11 lap race?
    That way you only have the flying laps in there.
    Or am I being immensely dense here?
     
  20. Blanes

    Blanes Well-Known Member

    Joined:
    Feb 29, 2016
    Ratings:
    +189 / 0 / -0
    ... or densely immense ? do not worry I have these same thoughts which bug my brain ! :eek: