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.

How to stop AI from driving on dirt roads (/unwanted roads)

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Danny Werewolf, Jul 5, 2022.

  1. Danny Werewolf

    Danny Werewolf
    Expand Collapse

    Joined:
    Mar 31, 2017
    Messages:
    2,286
    Most of the time that I play BeamNG, it's with AI and having them drive/race around a route or something, like a race track or a map like Altitude. Isn't Min_Drivability supposed to do something? I'd imagine it stands for 'Minimum', but even if I set the roads I don't want to be used to 0.5000 in the editor, it doesn't stop cars that I set to '0.9' in the AI menu from using those 0.5000 roads.
    upload_2022-7-4_22-42-40.png

    I'm just trying not to have to delete the roads I don't wanna use for myself, it kinda sucks having to do that. Am I just doing something wrong or is this feature a little buggy?
     
  2. Gamergull

    Gamergull
    Expand Collapse
    BeamNG Team

    Joined:
    Jun 3, 2018
    Messages:
    460
    I took a closer look, and yeah, it does seem that the feature is somewhat buggy. If a vehicle is given only one choice to spawn or drive on a low drivability road, it will do so anyways. For the pathfinding, the drivability value is used as a coefficient. Try setting the drivability to something like 0.01 (or if all else fails, 0).
     
  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