AI that obey traffic laws

Discussion in 'Ideas and Suggestions' started by Calico Games, May 16, 2018.

Tags:
  1. Calico Games

    Calico Games
    Expand Collapse

    Joined:
    Jan 22, 2018
    Messages:
    3
    I was thinking, (Oh, boy...) is it possible to program AI to obey common traffic laws like:
    - Stop at stop signs / red lights
    - Pull over when cop with lights flashing is heading towards them
    - Attempt to not bump into any other car
    - Use turning signals
    - Stop for buses (IDK if I spelt that right)
    - etc.

    Any BeamNG.Drive player to notice this who is good at making mods, consider this idea!
    But if this forum inspired you to make this mod, please don't say that it was your idea from the start, but you don't have to say that you were inspired by me.
     
    • Agree Agree x 4
  2. KaiserimnopYT

    KaiserimnopYT
    Expand Collapse

    Joined:
    Oct 9, 2016
    Messages:
    3,960
    I hope It Will be added
     
    • Agree Agree x 2
  3. BryceCharters

    BryceCharters
    Expand Collapse

    Joined:
    Mar 13, 2016
    Messages:
    406
    BeamNG recently partnered up with Audi, so that they could test their autonomous vehicle tech in beamng. (Or something along those lines)
    This might mean that we could see AI improvements in the future.
     
    • Informative Informative x 4
  4. VeyronEB

    VeyronEB
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,537
    Putting AI stuff aside (which is totally possible to create) this won't be happening soon with the game in its current state. While the game can now support a huge number of vehicles (limit was just upped to 100 last update) no CPU is able to do anywhere near that

    So until there is some sort of "sleep" mode on AI vehicles so their physics don't activate until they are within a certain distance of the player then there isnt really any way of creating proper AI traffic with more than ~10 cars active at once.
     
    • Agree Agree x 4
  5. Evandman12345

    Evandman12345
    Expand Collapse
    Banned

    Joined:
    Oct 23, 2017
    Messages:
    359
    I spawned a base grand Marshall put it on ai random in lane. I pulled in front of it and hit the breaks because I wanted it to hit me. It stopped and when I moved forward it moved forward. I reset the car and it just hit me.

    I haven't been able to replicate it:(
     
  6. Occam's Razer

    Occam's Razer
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    1,152
    Most modders don't bother with custom AI modes. AI is notoriously tricky to get right, and even more so with complex articulated vehicles such as those in BeamNG.

    However, two new buttons recently showed up in the editor: the AI Path Tool and the Navigation Mesh Tool. The former seems to be designed so the user can mark lanes for vehicles, and the latter seems to be able to show where each object is positioned in the level, so more complicated lane following and vehicle/obstacle avoidance may be soon forthcoming.
     
    • Like Like x 2
    • Informative Informative x 2
  7. TechnicolorDalek

    TechnicolorDalek
    Expand Collapse

    Joined:
    Dec 6, 2013
    Messages:
    1,026
    how do you expect me to enjoy this without any sauce
     
    • Agree Agree x 3
    • Like Like x 1
  8. VeyronEB

    VeyronEB
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,537
    • Agree Agree x 2
  9. Calico Games

    Calico Games
    Expand Collapse

    Joined:
    Jan 22, 2018
    Messages:
    3
    Interesting. I sure hope so.
     
    • Agree Agree x 2
  10. henryjhost

    henryjhost
    Expand Collapse

    Joined:
    Jan 1, 2018
    Messages:
    1,058
    Maybe we will get official Audis ingame.
     
    • Like Like x 1
  11. BryceCharters

    BryceCharters
    Expand Collapse

    Joined:
    Mar 13, 2016
    Messages:
    406
    I very highly doubt that. The article that contained that information made it clear that Audi was only using it to test their self driving car tech, not giving permission to the beamng team to use their vehicles in game. That's a whole different story. Nonetheless, it is exciting.
     
    • Agree Agree x 3
  12. henryjhost

    henryjhost
    Expand Collapse

    Joined:
    Jan 1, 2018
    Messages:
    1,058
    Oh well. A man can dream can't he?
     
    • Agree Agree x 1
  13. Bifdro

    Bifdro
    Expand Collapse

    Joined:
    Sep 29, 2017
    Messages:
    399
    But Aud has to give something in exchange for testing their BeamNG
    Here I am thinking of eg. they agree to have one or two audi ingams, that is, an official audi vehicle that could be in it.
    --- Post updated ---
    *Audi
     
  14. Calico Games

    Calico Games
    Expand Collapse

    Joined:
    Jan 22, 2018
    Messages:
    3
    I definatly agree with you, I'd love to see some real world cars in game.
     
    • Agree Agree x 1
  15. Bifdro

    Bifdro
    Expand Collapse

    Joined:
    Sep 29, 2017
    Messages:
    399
  16. MrAnnoyingDude

    MrAnnoyingDude
    Expand Collapse

    Joined:
    May 4, 2016
    Messages:
    2,006
    I'd rather prefer fictional car integrity.
     
    • Agree Agree x 5
  17. henryjhost

    henryjhost
    Expand Collapse

    Joined:
    Jan 1, 2018
    Messages:
    1,058
    Maybe they will just give Beamng the rights to the Audi name and designs and let Beamng put as many Audis as they want and/or feel necessary.
     
    • Informative Informative x 1
  18. thesubarulovah

    thesubarulovah
    Expand Collapse

    Joined:
    May 15, 2016
    Messages:
    46
    you might have glitched it into follow mode
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice