Awareness for Script AI?

Discussion in 'Utilities and programming' started by bowtiedylan, Mar 31, 2022.

  1. bowtiedylan

    bowtiedylan
    Expand Collapse

    Joined:
    Mar 31, 2022
    Messages:
    1
    I recently found a forum post on here about the ai script https://www.beamng.com/threads/does-ai-manual-mode-work.42729/ and the comment by retrospek in that thread was very helpful, however, is there a way to add in awareness for this script? I see you can adjust waypoints to follow, aggressiveness, number of laps, and others but not option for awareness. When I try this out the cars always hit each other and I'd like to have a clean race. The post is 5 years old so maybe there are some new updates that I am not aware of.

    Example code:

    ai.driveUsingPath{ wpTargetList = {'wp1', 'wp2', 'wp3', 'wp4', 'wp5', wp1}, noOfLaps = 5, aggression = 1.3 }

    If there is any way awareness can be achieved it would be greatly appreciated if your knowledge was shared
     
  2. Hyperboloid

    Hyperboloid
    Expand Collapse

    Joined:
    Mar 31, 2022
    Messages:
    1
    Try adding avoidCars = 'on'
     
  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