• “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. Have a chance to win a copy of F1 2017 The Game (PC) by following RaceDepartment on Twitter, Facebook, Instagram, Twitch, Steam and / or YouTube.

Misc Highlands Traffic AI 1.2

TRAFFIC AI HIGHLANDS

  1. mms

    mms

    Messages:
    105
    Ratings:
    +82
    mms submitted a new resource:

    Highlands Traffic AI - TRAFFIC AI HIGHLANDS

    Read more about this resource...
     
  2. C.O.D.

    C.O.D.

    Messages:
    20
    Ratings:
    +4
    How can I make them leave the pits? They try to make a u-turn which doesn't work...
     
  3. Louizf

    Louizf

    Messages:
    19
    Ratings:
    +3
    Pits won't work with this file. You need to use it on quick race.
     
    • Like Like x 1
  4. mms

    mms

    Messages:
    105
    Ratings:
    +82
    I can try to record a working pit lane, but most probably won't work as it will cross the incoming AI lane :(

    Scratch that, it doesn't work...
     
    Last edited: Feb 20, 2017
  5. ALB123

    ALB123

    Messages:
    383
    Ratings:
    +237
    I am loving these new "traffic" situations on street tracks. Great job!

    Do you happen to use Content Manager? If so, that lineup of cars that you said you used in testing, you can share that setup and then other Content Manager users can just import your shared "Preset". It's just one of the million awesome features of Content Managers. The Share button is just to the left of the Go! button. Then it will give you a URL - that's all we Content Manager users need. You could just paste the URL in the Description on the Overview tab of your submission. If you don't use Content Manager you're probably thinking, "What the heck is he talking about?" :roflmao:
     
    • Like Like x 1
  6. mms

    mms

    Messages:
    105
    Ratings:
    +82
    I've heard about the content manager, but don't have it installed. But if you're kind enough to share that URL I would be more than happy to add it to the description.
     
  7. Louizf

    Louizf

    Messages:
    19
    Ratings:
    +3
    Hey @mms I really liked your mod. I have been using it everyday since you posted it.:)

    Can you explain vaguely how you did it?
    I tried to create it for the Long layout many times with the AI dev app but the AI just go bonkers and retire.
    Not a clue on how/why you did it the "ai_hints" file as well.
     
    Last edited: Feb 24, 2017
  8. Rift Racer

    Rift Racer

    Messages:
    12
    Ratings:
    +7
    I don't understand how to use this? Do I need to go in the same direction as the AI? In your screenshot you have cars going different ways?!
     
  9. mms

    mms

    Messages:
    105
    Ratings:
    +82
    Hey @Louizf , really happy to hear that.

    I suppose you know hot to record the AI line, there a a few important things:
    * in this case you nee to figure out where the cars will turn around, they need quite a space to be able to make the u-turn without crashing
    * your AI line cannot cross the finish line more than once, that's why they need to turn around in the pits when coming from the opposite direction
    * the line cannot cross itself either
    * when doing the line, always stay closer to right side of the road, this will allow the AI to pass when there's incoming traffic without a big crash

    The ai_hints is mainly there to slow them a bit when they turn around (and also can be used in some other sections where they should not go flat-out, I think I put an overall slow-down for the whole track).

    What you can do is look at my AI line and try to do the same thing for the long layout.

    If you still have issues just send me the line you recorded and I can guide you further.
     
  10. mms

    mms

    Messages:
    105
    Ratings:
    +82
    These files simulate traffic on a public road (well, some mad racing people, but still). You can go whatever direction you want, the idea is to have cars going the same direction, but also cars coming the other way, like you would have on a real public road, they will stay in their lane unless they need to pass a slower car.

    There's one main issue though, it takes a while for the cars to spread out, you also need to create the race with a grid having faster cars first otherwise they will start crashing before you get a good spread.

    But it can be fun after all :)
     
  11. electriC82

    electriC82

    Messages:
    20
    Ratings:
    +4
    So you have to create simply a "fast race" or a "race weekend" ? Maybe you can give a userguide how it works.
     
  12. mms

    mms

    Messages:
    105
    Ratings:
    +82
    Sorry, I missed that, I just updated the description with this:

    How to use:

    Start a quick-race (it's the only one that works with these files), put as much as cars as possible on the grid, faster cars at top, the more difference is between cars speed the faster they spread out.
     
  13. electriC82

    electriC82

    Messages:
    20
    Ratings:
    +4
    And how the cars go in the other direction?
     
  14. mms

    mms

    Messages:
    105
    Ratings:
    +82
    The AI line is made so the cars turn around when they arrive in the city, and again in the pits.

    EDIT: Updated descriptions too...
     
    Last edited: Feb 24, 2017
  15. Rift Racer

    Rift Racer

    Messages:
    12
    Ratings:
    +7
    They seem to kinda stay right most of the time, but I haven't seen any cars turning around. I think I done about 10 laps overtaking some of the slower cars but never saw any going the other way and never caught up to the front faster ones.

    I think I must be doing something wrong. It is the original layout for the track, yes?
     
  16. mms

    mms

    Messages:
    105
    Ratings:
    +82
    Just double-checking, did you follow the installation steps? You probably did as otherwise the cars should not stick to the right lane... The cars need several laps to spread out, but you should have cars coming from the other direction towards the end of your first lap.

    And yes, this is for the original layout.
     
  17. Rift Racer

    Rift Racer

    Messages:
    12
    Ratings:
    +7
    Yes, defo followed installation instructions. Will delete and try again, really want this to work.
     
  18. Rift Racer

    Rift Racer

    Messages:
    12
    Ratings:
    +7
    It's working now and is absolutely AMAZING! Thanks very much for this! Hope it can be done for more road tracks.
     
    • Like Like x 1
  19. mms

    mms

    Messages:
    105
    Ratings:
    +82
    Glad you sorted it out!

    It can be done for any track as long as there's enough room to allow the AI turn around without crashing.
     
  20. mms

    mms

    Messages:
    105
    Ratings:
    +82