The new adaptive AI

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

  1. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    Wish we had an offline tool, running the sim/ai faster than real-time etc. (no graphics...), that way we could populate the data fully automatically. Using shared memory you could still have a look at the race in a 2d simplified view, see how the AI behaved etc.
    If s3s somehow wants to leverage the physics + ai code for GTR3 they would probably would want to modularize it for stuff like this anyway.
     
    • Agree Agree x 1
  2. Jynn

    Jynn Member

    Joined:
    Jun 7, 2015
    Ratings:
    +24 / 0 / -0
    Once you've trained the AI in adaptive mode, is there any way to see what level they are at? ie '105' or whatever. I'm very much a goal oriented person, so might use this as part of a championship goal to get the AI to a particular level by the end.
     
    • Agree Agree x 1
  3. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    Not in-game (and yes, that's a pet peeve of mine as well. :D ).
    You can however see the levels used within the index-file itself.
     
  4. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    Got time for a 10 minute one? :D


    Attached the updated files.
    assets.txt goes into your main adaptive primer folder (overwrite the current one)
    the rest goes into the adaptive primer/results folder.
     

    Attached Files:

    • Like Like x 2
    • Love it! Love it! x 1
  5. MarcG

    MarcG Active Member

    Joined:
    Nov 20, 2016
    Ratings:
    +36 / 0 / -0
    Excellent mate nice one, will make time at work tomorrow :D
     
  6. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    • Like Like x 1
  7. jimortality

    jimortality Active Member

    Joined:
    Jun 11, 2015
    Ratings:
    +39 / 0 / -0
    When I open up the primer, I'm just getting a blank screen on top of the black one.
     

    Attached Files:

    • Agree Agree x 1
  8. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    You're going to need @pixeljetstream for that one.
    I just use the program, I have no idea how it actually works. :)

    EDIT: Actually, something just occurred to me.
    Did you move/delete your AI file prior to starting the Primer tool?
    Given that it's designed to edit the AI file, I'm not sure what happens if it isn't there.
    Easy fix if that's the case. Run two laps against the AI, and it'll generate a new one.
    Something, anything, it doesn't matter.
     
    Last edited: Mar 18, 2017
  9. aloaz

    aloaz New Member

    Joined:
    Feb 24, 2017
    Ratings:
    +3 / 0 / -0
    Hey there! I had a similar problem as you did (same error screen). What I figured out is that my install under "My Games > SinBim > RacingRoom Racing Experience Install 2".

    First, I tried editing "config.lua" to target the above address, to no avail. After that, I backed up that dir and renamed it to "My Games > SinBim > RacingRoom Racing Experience", and it solve the issue for me.

    Hope that works for you!
     
    • Like Like x 1
  10. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    Aaah....
    So it's simply a question of the path not being the default one.
    Nice find, cheers mate. :)
     
  11. jimortality

    jimortality Active Member

    Joined:
    Jun 11, 2015
    Ratings:
    +39 / 0 / -0
    When you click apply, should I see my time move to the right column?
     
  12. CheerfullyInsane

    CheerfullyInsane Well-Known Member

    Joined:
    Oct 24, 2015
    Ratings:
    +402 / 0 / -0
    Nope.
    There'll be nothing signifying that it has done its job.
    Well okay, if you look at the command window (the black one in the background) you'll see that it has inserted the times.
    But nothing on the main display.
     
  13. jimortality

    jimortality Active Member

    Joined:
    Jun 11, 2015
    Ratings:
    +39 / 0 / -0
    Ok thanks
     
  14. jimortality

    jimortality Active Member

    Joined:
    Jun 11, 2015
    Ratings:
    +39 / 0 / -0
    Do I have to leave the primer open when playing RRE? last question honest!
     
  15. Andy Blade

    Andy Blade Well-Known Member

    Joined:
    Feb 21, 2016
    Ratings:
    +302 / 0 / -0
    No close it
     
    • Like Like x 1
    • Agree Agree x 1
  16. Yatzeck

    Yatzeck Member

    Joined:
    Mar 31, 2015
    Ratings:
    +24 / 0 / -0
    Sorry guys I have some question. Is there some news about work in progress about awfull AI behawiour which not seeing player car?
     
    • Disagree Disagree x 1
  17. pixeljetstream

    pixeljetstream Well-Known Member Beta tester

    Joined:
    Jan 29, 2015
    Ratings:
    +412 / 0 / -0
    the latest version properly shows the error message when the file is not found. Thanks for reporting.
    However I am puzzled why changing the config.lua didn't work,

    you changed this
    Code:
    targetfile   = [[$USER_DOCUMENTS$\My Games\SimBin\RaceRoom Racing Experience\UserData\Player1\aiadaptation.xml]]
    to this
    Code:
    targetfile   = [[$USER_DOCUMENTS$\My Games\SimBin\RaceRoom Racing Experience Install 2\UserData\Player1\aiadaptation.xml]]
    and it didn't work?
     
  18. Yatzeck

    Yatzeck Member

    Joined:
    Mar 31, 2015
    Ratings:
    +24 / 0 / -0
    I think that AI are unacceptable for now. And I disagree with all my disagreeers :D And give me a break wit your disagree... Boring...
     
    • Disagree Disagree x 3
    • Agree Agree x 1
    Last edited: Mar 28, 2017
  19. Mr_Mints_Taboo

    Mr_Mints_Taboo Well-Known Member

    Joined:
    Jan 19, 2017
    Ratings:
    +152 / 0 / -0
    This thread is about the ADAPTIVE AI.


    Please read:
    https://forum.sector3studios.com/index.php?threads/sector3-make-a-normal-ai.7481/

    which attacks and defends the current AI.

    Once you have read all 7 pages, for and against, then you can tell us what it is you don't like.
    Most of us agree it could be better.
    Most of us hate getting slammed into.
    Most (probably all) of us wish it was better.

    This thread is about getting the AI to race consistently at YOUR level of speed, on all the tracks, something it doesn't do at the moment. The AI will still be the AI, just a bit faster or slower.

    If you don't like the WAY the AI races, then this thread will not help.
     
    • Like Like x 2
  20. Yatzeck

    Yatzeck Member

    Joined:
    Mar 31, 2015
    Ratings:
    +24 / 0 / -0
    Mr_Mints_Taboo, thank you for your replay. This will help me much. :)
     
    • Like Like x 2