AI Script Path could use a revamp

Discussion in 'Ideas and Suggestions' started by TheRogue, Aug 29, 2023.

  1. TheRogue

    TheRogue
    Expand Collapse

    Joined:
    Jul 4, 2018
    Messages:
    16
    AI script is an amazing feature. I would like to see these added features to it.

    Proximity controls - where the vehicle will avoid hitting objects and will try to drive around them.

    Drive in reverse - If i record i script driving in reverse, in the playback the vehicle drives the path forward.

    Speed control - ability to set the speed of the vehicle rather than needed to record the speed with a vehicle.

    I have messed around with the actually AI script code file, but its a bit complex to figure out.
     
    • Like Like x 1
    • Agree Agree x 1
  2. LDogg48_Gaming

    LDogg48_Gaming
    Expand Collapse

    Joined:
    Jun 26, 2022
    Messages:
    720
    I agree. The script ai paths are good, but since they are just coordinates the ai tends to not follow them well, particularly on road courses.
     
  3. DeWorD

    DeWorD
    Expand Collapse

    Joined:
    Jan 20, 2017
    Messages:
    147
    can u use script ai to make decal roads so traffic ai follow those?

    i know this totally wrong place to ask lol
     
  4. Dave_

    Dave_
    Expand Collapse
    Research
    BeamNG Team

    Joined:
    Sep 21, 2023
    Messages:
    32
    Hello,
    As of the latest release, there is a new ScriptAI tool available in the world editor. Have a look here for some documentation: https://documentation.beamng.com/world_editor/tools/scriptai_editor/

    This tool addresses many of the above problems described in this thread, and allows for more complex vehicle-to-vehicle interaction behaviour to be modelled. ScriptAI vehicle trajectories can now behave much more accurately, with error reduced down to the centimeter range. Editable camera paths can also be added to produce scenarios/video content.

    Hope this can help.

    Dave
     
    #4 Dave_, Sep 22, 2023
    Last edited: Sep 23, 2023
    • Like Like x 2
  5. LDogg48_Gaming

    LDogg48_Gaming
    Expand Collapse

    Joined:
    Jun 26, 2022
    Messages:
    720
    I actually was wondering about the tool, because I do not understand how to use it, and I read the documentation. Does it use the files recorded in the old script ai manager?
     
  6. Dave_

    Dave_
    Expand Collapse
    Research
    BeamNG Team

    Joined:
    Sep 21, 2023
    Messages:
    32
    It is completely independent from the ScriptAI Manager. Recording can be done directly in the tool, along with manual draw-in of trajectories or import.

    Dave
     
  7. LDogg48_Gaming

    LDogg48_Gaming
    Expand Collapse

    Joined:
    Jun 26, 2022
    Messages:
    720
    Are there any tutorial videos on how to use it yet. I spent an hour screwing around with it and accomplished basically nothing.
     
    • Like Like x 1
  8. Dave_

    Dave_
    Expand Collapse
    Research
    BeamNG Team

    Joined:
    Sep 21, 2023
    Messages:
    32
    I will look at getting something up next week - at least a usage example.

    Dave
     
    • Like Like x 2
  9. DeWorD

    DeWorD
    Expand Collapse

    Joined:
    Jan 20, 2017
    Messages:
    147
    me wanna see big thumbs up :)
     
  10. Crash Frontier

    Crash Frontier
    Expand Collapse

    Joined:
    Apr 26, 2020
    Messages:
    88
    I would greatly appreciate it, as I also don't quite understand yet how this can make my workflow easier in terms of video production, or how it compares to ScriptAI Manager.
     
    • Like Like x 1
    • Agree Agree x 1
  11. Dave_

    Dave_
    Expand Collapse
    Research
    BeamNG Team

    Joined:
    Sep 21, 2023
    Messages:
    32
    • Like Like x 2
  12. JohnChargerbr1996's

    JohnChargerbr1996's
    Expand Collapse

    Joined:
    Feb 1, 2024
    Messages:
    239
    Idea to You a history into the 80's or 90's a classic police chase
     
  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