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 set AI go stright on intersections

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by 0rangeGhost, Dec 17, 2020.

  1. 0rangeGhost

    0rangeGhost
    Expand Collapse

    Joined:
    Oct 17, 2014
    Messages:
    115
    so i have two roads cross each other. how can i restrict AI from turning on that intersection and make it go only in stright direction?
    also, how to make a road only one way direction? one way check box doesnt seem to work
     
  2. 0rangeGhost

    0rangeGhost
    Expand Collapse

    Joined:
    Oct 17, 2014
    Messages:
    115
    pls help
     
  3. rodmunch99

    rodmunch99
    Expand Collapse

    Joined:
    Jun 25, 2015
    Messages:
    32
    One way to do this would be to add Waypoints to the road and edit a map.json file in the levels folders with a script to follow a specific path. If you search for waypoints in the forums there are some older posts that show how to do this. Also, you could look at some maps that use waypoints. (I think East Coast USA uses it and the Matrix Freeway map)
     
  4. 0rangeGhost

    0rangeGhost
    Expand Collapse

    Joined:
    Oct 17, 2014
    Messages:
    115
    thank you. as someone said - it's dirty way to do this, but at least it works. i used this method with waypoints elevation a while ago, then i used road path node elevation which did the same thing, but after one of the last updates - path node elevation had no effect. i just thought may be there is more legit way to do this. question about one way direction still active tho
     
  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