1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

AI - progress log

Discussion in 'General Discussion' started by tdev, Mar 8, 2015.

  1. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,074
    Feel free to post any content related to the new AI in here :)
     
  2. Dc5R

    Dc5R
    Expand Collapse

    Joined:
    Oct 29, 2014
    Messages:
    910
    I must say the new AI is very great , you don't have to deal with AI that crashes every minute , and you can reenact real crashes ! :D
    And how do you use the waypoints ?
     
  3. monte379

    monte379
    Expand Collapse

    Joined:
    Dec 24, 2013
    Messages:
    789
    Yes it looks great!! I was also wondering how you use the waypoints, can you just place them using the editor and make your own path?
     
  4. crimsonskull

    crimsonskull
    Expand Collapse

    Joined:
    Jan 1, 2013
    Messages:
    246
    so where do you plan the ai system to go? are we going to see a basic setup like this, or are we gonna see collision avoidance and more advanced ai path-finding.
     
  5. NaxNir

    NaxNir
    Expand Collapse

    Joined:
    Jan 28, 2014
    Messages:
    618
    How easy is it to setup the AI, will I have to set each coords as a number etc. or will it just be: Click REC then click on the map to create the path "clickity clickey" then press STOP REC then press PLAY? Will paths have the ability to save?
     
  6. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,074

    (imported from here)
    new AI control app WIP :)
     
  7. RayRodrigezz

    RayRodrigezz
    Expand Collapse

    Joined:
    Feb 1, 2015
    Messages:
    23
    I love the new AI, im so happy that it comes into beam, it opens so many possibilities :)


    Great work guys, please make beamng to the best best best best! Im happy about the future !
     
  8. SPIDERS_

    SPIDERS_
    Expand Collapse

    Joined:
    Mar 7, 2014
    Messages:
    3
    Will maps like Industrial Site and Hirochi Raceway have pre-set waypoints along the racetracks? That would be nice to have as an option instead of having to do it manually every time.
     
  9. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,074


    - - - Updated - - -

     
  10. monte379

    monte379
    Expand Collapse

    Joined:
    Dec 24, 2013
    Messages:
    789
    So you can pick the speed you want the car to go? Also what do you use to make the waypoints where you want?

    Thanks:)
     
  11. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    This looks really promising. :D
    Do these projected speed lines already consider different cornering speeds of the various vehicles or is it a fixed system at this point?
     
  12. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,074
    yes, its easy

    - - - Updated - - -

    We'll see how far we get and what time we have left :)

    - - - Updated - - -

    it needs waypoints that should be placed in the editor and then a file map.json that interconnects them. Since the system reloads when you save the file it works pretty quickly

    - - - Updated - - -

    yes, sure

    - - - Updated - - -

    you place them there simply?

    - - - Updated - - -

    It considers the G's that the vehicles are able to pull in a corner right now, seems to work well.


    So, video later :)
     
  13. monte379

    monte379
    Expand Collapse

    Joined:
    Dec 24, 2013
    Messages:
    789
    This answered my question, sorry I was not clear with what I was asking. Thanks:)
     
  14. LJFHutch

    LJFHutch
    Expand Collapse
    Environment Artist
    BeamNG Team

    Joined:
    Aug 4, 2012
    Messages:
    667
    Progress adding AI pathing to ECA (red stuff is the AI paths/waypoints):
     

    Attached Files:

    • aistuffs.jpg
  15. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,074
    extracting waypoints from decalroads WIP:
    screenshot_00033.jpg

    - - - Updated - - -

    decalroad point merging working :)

    before:
    screenshot_00038.jpg

    now, after it merges the points:
    screenshot_00037.jpg
     
  16. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    Really nice. :) What are the different colors about? Different road types?
     
  17. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,074
    different segments ;)
     
  18. Stormdrain

    Stormdrain
    Expand Collapse

    Joined:
    Jun 18, 2013
    Messages:
    480
    Presumably for different speeds?
     
  19. ryakra

    ryakra
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    215
    Loving how this is coming out. Just 1 question, if I have a waypoint on the bottom of the map (lets call it wp1) and multiple routes to a waypoint at the top of the map (lets call this one wp30) would I just tell the vehicle to go from wp1 to wp30 and it will find a route or would I have to tell it to go to wp1, then wp2 then wp3 etc to get it to wp30?
     
  20. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    Ideally both would work. Having a predefined route of waypoints that a car will follow as fast as it can is exactly what is required for actual race tracks (think of hirochi track, there are multiple routes, so you need to tell the AI cars which route they need to take). That could work via different configuration files (think of the part lists for vehicles, just for waypoints) for each level.

    The other version is useful for things like chases where there is no predefined route or for simple traffic driving around randomly.

    From looking at the screenshots I guess the "Mode" switch in the AI app can influence how a AI driven car selects the next waypoint.
     
  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