UPDATE: BeamNG Tutorial - How To Set AI Scripting For Laps & a 12 Car Example
*By the way, I tried adding just two nodes in and the AI got confused. If it's a straight road, you should only need to put the first and last nodes in the script. I removed all the testing to keep the video to a decent length.
So a few things have changed since I did the last tutorial on how to run AI Scripts for cars on BeamNG and a few people have asked me to do a new Tutorial, also I don't think things being incorrect, so here's an update.
Also, a 12 car example which was pretty manic!
Example AI Script:
ai.driveUsingPath{wpTargetList = {'derby_wp15', 'derby_wp16', 'derby_wp17', 'derby_wp18', 'derby_wp19', 'derby_wp20', 'derby_wp21', 'derby_wp22', 'derby_wp23', 'derby_wp24', 'derby_wp25', 'derby_wp26', 'derby_wp27', 'derby_wp1', 'derby_wp2', 'derby_wp3', 'derby_wp4', 'derby_wp5', 'derby_wp6', 'derby_wp7', 'derby_wp8', 'derby_wp9', 'derby_wp10', 'derby_wp11', 'derby_wp12', 'derby_wp13', 'derby_wp14', 'derby_wp15',}, noOfLaps = 2, aggression = 1.44}
Add all nodes within these brackets and written like this, for example: ai.driveUsingPath{wpTargetList ={'node1', 'node2', 'node3',}, noOfLaps = number, aggression = number}
#Beamng #AIScripting #Tutorial
Mod used:
Ibishu JBX100 AX53
Link: https://www.beamng.com/resources/ibishu-jbx100.14139/
Intro Music:
Caspro - Sunset Tracer, Full Track Here: https://www.youtube.com/watch?v=FjDyyAInn7c
Get the game:
https://store.steampowered.com/app/284160/BeamNGdrive/
Me:
My Twitter @Buster_Bootlace
https://twitter.com/Buster_Bootlace
Facebook:
https://www.facebook.com/BusterBootlace/
My new Instagram to cover my S15:
https://www.instagram.com/s15_on_the_rock/
My Discord: https://discord.gg/FreF5Nx
Other Videos By Brett Charles Bass
Other Statistics
BeamNG.drive Statistics For Brett Charles Bass
There are 65,817 views in 53 videos for BeamNG.drive. The game makes up 20 hours of published video on his channel, or 15.91% of the total watchable video for BeamNG.drive on Brett Charles Bass's YouTube channel.