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 do you enable AI?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Rick Sanchez, Oct 17, 2015.

  1. Rick Sanchez

    Rick Sanchez
    Expand Collapse

    Joined:
    Oct 17, 2015
    Messages:
    2
    I am new to the game and I don't know how to enable it. I've gotten to spawn a car and use tab to control it but how do I enable the AI?
     
  2. randomshortguy

    randomshortguy
    Expand Collapse

    Joined:
    Aug 9, 2013
    Messages:
    1,562
    AI is still very WIP, but right now it's enabled through an app.

    Open the UI editor (you may have to enable advanced functions in settings to see it), click the plus button to add an app, add the AI Control app, close the UI.

    From there, be in the vehicle you want the AI to use, and select the AI mode from the dropdown list. Random will follow waypoints/roads on a map, driving aimlessly, and flee will use the roads to escape you (or whatever car you're in)
     
  3. Rick Sanchez

    Rick Sanchez
    Expand Collapse

    Joined:
    Oct 17, 2015
    Messages:
    2
    Thank you very much!
     
  4. Daystar

    Daystar
    Expand Collapse

    Joined:
    Aug 22, 2013
    Messages:
    51
    How do we set waypoints? When I use the AI feature the ai cars just go off to either left or right and go straight.
     
  5. randomshortguy

    randomshortguy
    Expand Collapse

    Joined:
    Aug 9, 2013
    Messages:
    1,562
    You don't need to set waypoints unless the map doesn't have any roads. All the official maps (except puregrid) have either waypoints or drivable roads, so the AI will use them. If you're working on your own map/using a mod map, I would suggest looking it up or waiting until the map is updated with waypoints/drivable roads.

    You can easily make any decal road into a drivable road by just selecting it in the editor and changing "drivability" from -1 to a positive number, 1 for ideal roads and less than that for less desirable roads.
     
    #5 randomshortguy, Nov 6, 2015
    Last edited: Nov 7, 2015
  6. Scepheo

    Scepheo
    Expand Collapse

    Joined:
    Feb 10, 2015
    Messages:
    601
    Higher number = better road. While the perfect road should be 1, a dirt road should get 0.5.
     
    • Like Like x 1
  7. randomshortguy

    randomshortguy
    Expand Collapse

    Joined:
    Aug 9, 2013
    Messages:
    1,562
    Ahh, okay. I knew the value did something to change the desirability of the AI's choice, but I couldn't quite remember the exact syntax. Thanks
     
  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