1. Trouble with the game?
    Try the troubleshooter!

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

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

Path between waypoints 'XY' - 'YX' not found

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Saeble, Dec 6, 2021.

  1. Saeble

    Saeble
    Expand Collapse

    Joined:
    Jun 13, 2014
    Messages:
    53
    Hello!

    I've startet working with the "ai.driveUsingPath" Command and wanted to create a racetrack for the AI to follow on the map "WestCoast USA"
    this is what I had so far:
    ai.driveUsingPath{wpTargetList = {'wp_racetrack1', 'wp_racetrack2', 'wp_racetrack3', 'wp_racetrack4', 'wp_racetrack5', 'wp_racetrack6', 'wp_racetrack7', 'wp_racetrack8', 'wp_racetrack1', }, noOfLaps = 3, aggression = 2.00}

    The Car is set to the Start/finish-Line, but everytime I try to start, it says:
    "Path between waypoints 'DecalRoad12567_12' - 'wp_racetrack1' not found"

    I am so frustrated, what do I need to do to get this thing working?
    Thanks a lot!
     
  2. angelo234

    angelo234
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 11, 2017
    Messages:
    585
    That's because those waypoints are excluded from being used by the AI. You can include them for the AI to use but the AI from what I've tested can barely make it around any corners lol. If you want to see for yourself, go into the world editor (F11) and find those waypoints and uncheck their excludeFromMap field, and press Ctrl + L and Ctrl + R to reset Lua and try that command again.
    Capture.png
     
  3. Saeble

    Saeble
    Expand Collapse

    Joined:
    Jun 13, 2014
    Messages:
    53
    Alright, thanks a lot for your information!

    I'll have a try later
     
  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