Great tutorial, here a small useful tip. You don't really need to include A.I. in a weekend race to test the A.I. fast lane. Instead go to hot lap mode, drive to the center of the track and press "Ctrl-C" to enable an auto A.I. driver. Press "Ctrl-P" to regain control of your car again.
Thanks GPLaps, excellent tutorial. I am the author of a track called 'Pinwheel' and recently spent forever tweaking AI hints, however I wish there was the ability to have different hint files for different cars (just in some instances), as some mod cars can't handle the hints made for (better behaving) Kunos cars! It's careful balancing act for sure. Just the fact AC opens this up for devs is fantastic.
I was just talking to Ilja the other day about adding a second AI line that either 1) cars could dynamically switch to and from, or alternatively 2) one-third of the cars would be assigned from the start the second AI line.
One note... need to enable the AI Helper app in settings > assetto corsa > python apps > AI helper (check) else it wont appear after copying the files. Thanks for this help... i fixed a track i couldnt race offline on for a long time!
For all who are using Content Manager and CSP: You have to deactivate the cache payloads and cache grid in the "New AI Behaviour" in the settings area. (I think they are nor3 deactivated but I think I've activated them some time ago because they shorten the loading time) Then you have to delete the Payloads in the specific track folder. If you don't do that the new recoded AI line and the new track boundaries won't work.
The multiple Ai lines would be a good enhancement to content manager.. As it's simply managing text files. I tried changing AI for Goodwood a while back but ending up with mass pile ups at the chicane. I didn't know about the sideline app or hint file. So may give this another go. Is there anyway you can make the AI start the race any quicker. They always seem to take an age to get going.
I'm one of the guys you spoke of that is fully sending it on a rig with no real Sim experience. I grew up on the early gran turismos and forzas, top gear rally, and Tokyo extreme racer, so I am certain I will absolutely love it. Discovered your channel yesterday and have been binging, you make some really great content and I can't wait to use it for my own setup, i.e. the ac info and how to download Richard burns etc. Congrats on your new rig! Subbed and looking forward to future content
This is gonna help so many people. There are other tutorials about it but each is missing at least one important info. I think this is the most complete one. I adore vintage cars and racing but I just recently discovered and subscribed to the channel. So much to watch here... i watch few videos per day to catch up. Each video is made with great style and so easily digestible. Awesome presenting of awesome content. I ❤️ the channel.
To make things faster add as many ai drivers as possible so you don't need to wait for the one ai to leave pits. Having multiple ai cars going around also makes it easier to check a single corner as you can see one after another ai car going through it.
Wow im really impressed on how much you know about these in depth customizations! Until now i allways thought you were just driving around the track! Turns out you also know how to re programe the game!
Amazing, thanks for this - I really like the AI in AC overall, it copes with the vintage content relatively well all things considered, but the configs for tracks and cars play a HUGE part in that.
Yet again, another in an unending line of excellent videos. Now I'm gonna owe you two beers when I'm up in Mass, instead of just the one I promised before. Thank you thank you.
thx for this video. 1 small tip . i use winrar , right click on the ai file and put in archive if you want to put it back just right click and click extract here
This was brilliant, I have been following a very outdated tutorial on this and have been having trouble on multiple tracks where the AI isn't good enough and I end up making it worse😂, It's nice to have a refreshing turorial on this!
Thanks Jake - another excellent video. I'd had a very quick look at AI lines before but never produced anything useful from it, this vid is exactly what I needed to go forward. I had no idea that 'AI Hints' existed so that's really useful too - thanks again!
For the hints, I found that the hint value is actually the target for the END of the section, not the whole section. If you want the AI to keep 1.3 speed from the brake marker toward the apex, create another section BEFORE the brake marker, speeding them up to 1.3, then add the section to the apex and give that the value needed at the apex.
I created a fast AI for Sandevoerde67 some years back (since aopted by Sergio in later releases) and to give the AI more speed over the whole S/F straight I added a short section coming out of the last corner, speeding them up quickly to 1.9. Then I created the last section (to 0.999) at 1.9 as well. Without the short burst of acceleration in the 2nd to last section, the AI wouldn't have reached 1.9 until the finish line.
Thank you for this. At the 1967 version of Le Mans some times the ai brake waaaaaaay to late into the Mulsanne corner and end up flying off the track and they slow down way to much into white house and ive really wanted to fix this. im going to go fix it now.
@@alekspravdic4182 Yes, it might not be for a little bit though. I am doing a 1967 racing season on AC and i plan to fix it when i get to Le Mans. The next race im doing is the Monza 1000km so i still have a handful of races to go.
Great video! Well spoken and easy to understand. The ai.ini in the cars data folder does play an integral role in controlling how the al controls the car. Iirc, this car is set up to brake early for whatever reason. Mod cars and even the Kunos cars seem to be set up inconsistently and could use some kind of system to normalize them, imo. Would be cool if CM had a way to override the cars ai.ini without rendering the car unusable online.
I have a problem with side boundaries. When I record left and right side, everything is fine and the CSV files are created. I did a race and it worked but when I launch an another race, It no longer works but the CSV files are still there and if I record left and right sides again, It works for 1 race again. Plz help me
I think something that would be good for a future video would be pitting for AI cars in Assetto Corsa. Unfortunately I have to run races with unlimited fuel and tyres as cars just pit repeatdly.
Thank you once again for some amazing content and time you take to learn it to show us! I would love for a more intermediate guide into complex AI development if you ever desire to learn it. Especially since AC now allows through the server development team, traffic online with friends on private servers you make!
I edit the AI Line on a track using the option called Developer apps in the game, but when I finish the editing and start the race with the AI line I created, the car that should start the race in position number 4 does not start, so the cars behind it cannot pass it, so it also affects the race of the cars behind them. How can I solve this problem?
If you're going to do more videos like these in the future, I have a suggestion! Could you go over the process of assembling a grid of cars in GTR2/P&G? More specifically, a grid like the ones you have in your 24hr Daytona race. I might just be very dumb to how GTR2 works, but I have no idea how to set up a specific race with the specific cars from said race if that makes sense!
I'm sticking to gtr2 and GPL. For AC or rfactor2 etc I need a more powerfull pc. But once I'll sort that out I will definitely try it out. BTW, does anyone know if the SRMZ is down for maintenance or is there some kind of trouble?
Excuse moi l’ami les Tracks left et right tu les fais rejoindre à un moment la fast lane ou jamais et autre question serais tu pourquoi par moment il galère à démarrer la course et parfois il démarre direct
I have a question: I drive offline and offeoad on gravel tracks. I use the extreme e and dakar peugeot 3008dkr. All the Ai can do is slide of the track in the corners and then retire. What can i do so they stay on track. It happends with all gravel tracks made by different modders.
Awesome video! Thanks for this. Now i can record my own Ai racing lines to enjoy the game. For more modern road cars, before 2000 or after 2000, what cars are you suggesting to use to record nice competitive Ai lines? Obviously 300+hp car are not the same with a 200hp car. It has other specs. Or how i can make an "all-around" ai for road cars?
Guys does anyone know why my ai after i made everything goes every time in the second lap to the pitlane? I dont know why they go everytime there after two races, and i dont know if i can change when they need to go to the pits
Hi man! GREAT VIDEO!!! Helped me a lot correcting the AI in Interlagos. Tried to do the same to a local track we have, Mega Space. Unfortunately looks like it was poorly built. The red/pink lines are all crazy. What can I do to correct them?
I did some AI lines but its kinda a hit and miss. Sometimes the AI isnt able to find the new recorded line and just crashes into the barriers. Other times it works just fine. I haven't found out why it sometimes works and sometimes not. I tried start recording close to the start/finish line or on the back straight. It's a mystery..
What im wondering is, if someone already done this on most tracks. Is there a file of it? why invent the wheel again and again if i could download someones hard work?
Hey man, i just discovered your video and it is amazing! Though i have a couple issues : I'm trying to change the pit lines for my oval tracks and once i finish recording the line and go into the ai file, there is a fast_line_payloads.bin and a pit_line_payloads.bin file,and i don't really know what it might do. Also, and most important, when i change the lines in that folder and go test it out, the cars try to go straight to the end of the pit line i just made, therefore turning right and ending up in the pitwall without moving. If i revert to the original ai lines, the cars keep doing that, and i have to re-install the track.
I'm late to this party, but I hope this comment by another user helps to understand the .bin files and figure it out: "For all who are using Content Manager and CSP: You have to deactivate the cache payloads and cache grid in the "New AI Behaviour" in the settings area. (...) Then you have to delete the Payloads in the specific track folder." So from what I understand, they're files that help with load times, and you need to disable the settings + delete the files if you want to make changes.
How do I extend track limits?? Making a few rally tracks and as soon as go off track lose lap time/stage time which doesn't happen in rallys. I know how to edit ai lines and can see red track limits but don't know how to change it. Cheers anyone who can help.??
Yes, save your setup as ai_default. AI cars like yours will use that setup. If you have several different brands you will have to save a setup for each.
Love your vids and know you do some modding/tweaking urself and is therefore wondering if you know how to increase grid/pits size in Assetto Corsa. I'm trying to make a complete 1966 le mans grid, and the 1967 Le grand circuit I'm using only have 36 grid spaces. I know there is enough room at the pit lane and I'm thinking about adding 8-15 more slots. Do you know how to do so?
Its unfortunately not very easy to add pitstalls/gridstalls in AC. They are actually stored as a part of the track model itself, contained within one of the track's .kn5 models. It is possible to edit these using Assetto Corsa's standard kseditor or something like 3dsimed3 but I have never attempted to add grid stalls and do not know the process. I would also consider whether or not its possible to run that many cars. Maybe you are equipped with a high-end CPU, but I know once you have more than 30 - 40 cars a lot of time you can run into processor occupancy problems.
@@GPLaps Oh ok. Thanks for the fast response anyway. But as of yet I am running a 36 car grid with 60-80 fps and I only have an i5-9400f. So I think it could be done with a good processor.
@@GPLaps since you mentioned 3dsimed3 and kseditor, is it also possible to add more layouts to the track using them? Because one of the tracks I play pretty much allows for that but I'm not really sure how to make a new layout for the existing track itself.
It's such a shame that AI has been left behind. Multiplayer racing can be more exhilarating but also so much more frustrating. However online people don't seem to race much vintage stuff so AI lets you choose, rather than hoping there will be lobbies for what you want to race. Also screw equal blame safety rating systems. Makes it impossible to keep my A license in iracing.
Great tutorial, here a small useful tip. You don't really need to include A.I. in a weekend race to test the A.I. fast lane. Instead go to hot lap mode, drive to the center of the track and press "Ctrl-C" to enable an auto A.I. driver. Press "Ctrl-P" to regain control of your car again.
pressing Ctrl-P does not work for me so once i enable ai i can't stop it
@@scaleop4press ctrl-c a 2nd time
SURE it is not going to be the most popular video on a channel, but it is so valuable. Thanks!
Thank you! I really appreciate that. Glad you found it useful
Thanks GPLaps, excellent tutorial. I am the author of a track called 'Pinwheel' and recently spent forever tweaking AI hints, however I wish there was the ability to have different hint files for different cars (just in some instances), as some mod cars can't handle the hints made for (better behaving) Kunos cars! It's careful balancing act for sure. Just the fact AC opens this up for devs is fantastic.
I was just talking to Ilja the other day about adding a second AI line that either 1) cars could dynamically switch to and from, or alternatively 2) one-third of the cars would be assigned from the start the second AI line.
@@ACasualRacer I'm sure he could work that out with some of his usual magic.
Just been driving that track man great job!
One note... need to enable the AI Helper app in settings > assetto corsa > python apps > AI helper (check) else it wont appear after copying the files. Thanks for this help... i fixed a track i couldnt race offline on for a long time!
I’m not exactly into modding, especially at this level. But I just find everything you so interesting to watch. Thanks!
Esotic is a top guy, he helped me with the C1 Outerloop Ai Line. One thing he said was keep the speed low or the line can go all over the place
For all who are using Content Manager and CSP: You have to deactivate the cache payloads and cache grid in the "New AI Behaviour" in the settings area. (I think they are nor3 deactivated but I think I've activated them some time ago because they shorten the loading time) Then you have to delete the Payloads in the specific track folder.
If you don't do that the new recoded AI line and the new track boundaries won't work.
Thanks a lot ! I become crazy 🤣 I try a lot of time but never works...
Your comment saved me just before I redid my track edge the 4th time
thank you mate, i was going slightly mad over why the fastlane wasnt appearing on a track i was trying to fix
Any idea why whenever I record, no line shows up at the rear of my car and no new candidate file was created?
@Invincible the line doesn't show up in real time. You have to complete at least one lap
The multiple Ai lines would be a good enhancement to content manager.. As it's simply managing text files. I tried changing AI for Goodwood a while back but ending up with mass pile ups at the chicane. I didn't know about the sideline app or hint file. So may give this another go. Is there anyway you can make the AI start the race any quicker. They always seem to take an age to get going.
I'm one of the guys you spoke of that is fully sending it on a rig with no real Sim experience. I grew up on the early gran turismos and forzas, top gear rally, and Tokyo extreme racer, so I am certain I will absolutely love it. Discovered your channel yesterday and have been binging, you make some really great content and I can't wait to use it for my own setup, i.e. the ac info and how to download Richard burns etc. Congrats on your new rig! Subbed and looking forward to future content
This is gonna help so many people. There are other tutorials about it but each is missing at least one important info. I think this is the most complete one. I adore vintage cars and racing but I just recently discovered and subscribed to the channel. So much to watch here... i watch few videos per day to catch up. Each video is made with great style and so easily digestible. Awesome presenting of awesome content. I ❤️ the channel.
To make things faster add as many ai drivers as possible so you don't need to wait for the one ai to leave pits. Having multiple ai cars going around also makes it easier to check a single corner as you can see one after another ai car going through it.
25:50 I see someone has also discovered the magic of making AI boundaries closer to the racing line :)
Wow im really impressed on how much you know about these in depth customizations! Until now i allways thought you were just driving around the track! Turns out you also know how to re programe the game!
Amazing, thanks for this - I really like the AI in AC overall, it copes with the vintage content relatively well all things considered, but the configs for tracks and cars play a HUGE part in that.
Brilliant video. Clearing explained. Lots of good information. You have an excellent presentation style and your love for sim racing shines through.
Dev mode can also be enabled from within content manager by clicking several times on the version number found under the "About" tag
Yet again, another in an unending line of excellent videos. Now I'm gonna owe you two beers when I'm up in Mass, instead of just the one I promised before. Thank you thank you.
Great tutorial, Jake. You are very good at doing this. Clear, concise and focused. Excellent job. Cheers :) ( Bathurst, Australia)
thx for this video. 1 small tip . i use winrar , right click on the ai file and put in archive if you want to put it back just right click and click extract here
This was brilliant, I have been following a very outdated tutorial on this and have been having trouble on multiple tracks where the AI isn't good enough and I end up making it worse😂, It's nice to have a refreshing turorial on this!
Thanks Jake - another excellent video. I'd had a very quick look at AI lines before but never produced anything useful from it, this vid is exactly what I needed to go forward. I had no idea that 'AI Hints' existed so that's really useful too - thanks again!
For the hints, I found that the hint value is actually the target for the END of the section, not the whole section. If you want the AI to keep 1.3 speed from the brake marker toward the apex, create another section BEFORE the brake marker, speeding them up to 1.3, then add the section to the apex and give that the value needed at the apex.
I created a fast AI for Sandevoerde67 some years back (since aopted by Sergio in later releases) and to give the AI more speed over the whole S/F straight I added a short section coming out of the last corner, speeding them up quickly to 1.9. Then I created the last section (to 0.999) at 1.9 as well. Without the short burst of acceleration in the 2nd to last section, the AI wouldn't have reached 1.9 until the finish line.
Thank you for making those ai, i think you did some for spa as well? definitely helpful for the 67 cars!
I'll have to remember to leave my actual comment when I'm not super tired, but interesting video! Enjoyed it, as always.
Thank you for this. At the 1967 version of Le Mans some times the ai brake waaaaaaay to late into the Mulsanne corner and end up flying off the track and they slow down way to much into white house and ive really wanted to fix this. im going to go fix it now.
When you fix it could you share the files with me? I have the same problem
@@alekspravdic4182 Yes, it might not be for a little bit though. I am doing a 1967 racing season on AC and i plan to fix it when i get to Le Mans. The next race im doing is the Monza 1000km so i still have a handful of races to go.
Great tutorial Jake - I was always wonder how to fix this AI lines and here I got good starting point to understand how. Nice
My guy literally just made the perfect video for me, great tutorial man
Great video! Well spoken and easy to understand. The ai.ini in the cars data folder does play an integral role in controlling how the al controls the car. Iirc, this car is set up to brake early for whatever reason. Mod cars and even the Kunos cars seem to be set up inconsistently and could use some kind of system to normalize them, imo. Would be cool if CM had a way to override the cars ai.ini without rendering the car unusable online.
I have a problem with side boundaries. When I record left and right side, everything is fine and the CSV files are created.
I did a race and it worked but when I launch an another race, It no longer works but the CSV files are still there and if I record left and right sides again, It works for 1 race again. Plz help me
Thank you so much for this Jake. So much valuable help and information. I am sure I will use that info very soon.
As always jake another great video! Thanks for all the content!
I think something that would be good for a future video would be pitting for AI cars in Assetto Corsa. Unfortunately I have to run races with unlimited fuel and tyres as cars just pit repeatdly.
Thank you so much for this tutorial. I was wondering how to fix the Ai.
Thank you once again for some amazing content and time you take to learn it to show us! I would love for a more intermediate guide into complex AI development if you ever desire to learn it. Especially since AC now allows through the server development team, traffic online with friends on private servers you make!
This was pretty interesting to watch! :D
Best tutorial ever.
Thanks for all the details. On my side I can't find the AI Line Helper in my apps even after installing it just like you
I edit the AI Line on a track using the option called Developer apps in the game, but when I finish the editing and start the race with the AI line I created, the car that should start the race in position number 4 does not start, so the cars behind it cannot pass it, so it also affects the race of the cars behind them. How can I solve this problem?
Great tutorial Jake thanks. I did try this some time ago but looking at your video I don't think I did it correctly.
Thanks a lot ,trying to fix a few oval tracks for NASCAR
If you're going to do more videos like these in the future, I have a suggestion! Could you go over the process of assembling a grid of cars in GTR2/P&G? More specifically, a grid like the ones you have in your 24hr Daytona race. I might just be very dumb to how GTR2 works, but I have no idea how to set up a specific race with the specific cars from said race if that makes sense!
I'm sticking to gtr2 and GPL. For AC or rfactor2 etc I need a more powerfull pc. But once I'll sort that out I will definitely try it out.
BTW, does anyone know if the SRMZ is down for maintenance or is there some kind of trouble?
Excuse moi l’ami les Tracks left et right tu les fais rejoindre à un moment la fast lane ou jamais et autre question serais tu pourquoi par moment il galère à démarrer la course et parfois il démarre direct
I have a question:
I drive offline and offeoad on gravel tracks. I use the extreme e and dakar peugeot 3008dkr.
All the Ai can do is slide of the track in the corners and then retire. What can i do so they stay on track. It happends with all gravel tracks made by different modders.
Awesome video! Thanks for this. Now i can record my own Ai racing lines to enjoy the game. For more modern road cars, before 2000 or after 2000, what cars are you suggesting to use to record nice competitive Ai lines? Obviously 300+hp car are not the same with a 200hp car. It has other specs. Or how i can make an "all-around" ai for road cars?
Excellent video. Thank you!
thansk for video :( i have a problem! my track not saving any AI line :( you had such problem? :(
Good AI = spending money. Name one company that spends money?
Guys does anyone know why my ai after i made everything goes every time in the second lap to the pitlane? I dont know why they go everytime there after two races, and i dont know if i can change when they need to go to the pits
If I have a problem with AI breaking too heavy everywhere can I simply make an adjustment to the break hint slider in the AI app?
Hi man! GREAT VIDEO!!! Helped me a lot correcting the AI in Interlagos. Tried to do the same to a local track we have, Mega Space. Unfortunately looks like it was poorly built. The red/pink lines are all crazy. What can I do to correct them?
I did some AI lines but its kinda a hit and miss. Sometimes the AI isnt able to find the new recorded line and just crashes into the barriers. Other times it works just fine. I haven't found out why it sometimes works and sometimes not.
I tried start recording close to the start/finish line or on the back straight. It's a mystery..
whats the ui tweaks to make the app section look like yours? i have CM but mine doesn't look like that
What im wondering is, if someone already done this on most tracks. Is there a file of it? why invent the wheel again and again if i could download someones hard work?
good question, i've already searched the inet for sme places to dwnload AI lines, but can't find anything...
I already search about but find nothing. But if someone want archives to use in Sonoma or Charlotte Roval, jus let me know, cause i did it.
Search Racedepartment for ai lines
Why, when I click the AI app, there isn't any pink/red lines ?
Thank you so much for doing this 💜
HOW DO I ADD A SPEED LIMIT IN THE PITS. CUZ THE AI GO FULL SPEED IN THE PITS
Hey man, i just discovered your video and it is amazing! Though i have a couple issues :
I'm trying to change the pit lines for my oval tracks and once i finish recording the line and go into the ai file, there is a fast_line_payloads.bin and a pit_line_payloads.bin file,and i don't really know what it might do.
Also, and most important, when i change the lines in that folder and go test it out, the cars try to go straight to the end of the pit line i just made, therefore turning right and ending up in the pitwall without moving. If i revert to the original ai lines, the cars keep doing that, and i have to re-install the track.
I'm late to this party, but I hope this comment by another user helps to understand the .bin files and figure it out:
"For all who are using Content Manager and CSP: You have to deactivate the cache payloads and cache grid in the "New AI Behaviour" in the settings area. (...) Then you have to delete the Payloads in the specific track folder."
So from what I understand, they're files that help with load times, and you need to disable the settings + delete the files if you want to make changes.
How do I extend track limits?? Making a few rally tracks and as soon as go off track lose lap time/stage time which doesn't happen in rallys. I know how to edit ai lines and can see red track limits but don't know how to change it. Cheers anyone who can help.??
Wonder if this can create an AI touristen fast line on Nordschleife , so they will keep to the right .
Great video
Can i do this with a 3 lane map like fdr or srp
Will love if we had "per car AI Lines"
curious of what are your specs of your PC?
Will heel toeing while recording the fast lane affect the behaviour of the AI?
Its kinda hard for me to drive a fast line without throttle blip
I always do it while recording the fast lane, never had problems before.
thanks grat video! i would like to know how can i make an AI use the same car setup that i use. Is that possible?
Yes, save your setup as ai_default. AI cars like yours will use that setup. If you have several different brands you will have to save a setup for each.
Love your vids and know you do some modding/tweaking urself and is therefore wondering if you know how to increase grid/pits size in Assetto Corsa. I'm trying to make a complete 1966 le mans grid, and the 1967 Le grand circuit I'm using only have 36 grid spaces. I know there is enough room at the pit lane and I'm thinking about adding 8-15 more slots. Do you know how to do so?
Its unfortunately not very easy to add pitstalls/gridstalls in AC. They are actually stored as a part of the track model itself, contained within one of the track's .kn5 models. It is possible to edit these using Assetto Corsa's standard kseditor or something like 3dsimed3 but I have never attempted to add grid stalls and do not know the process.
I would also consider whether or not its possible to run that many cars. Maybe you are equipped with a high-end CPU, but I know once you have more than 30 - 40 cars a lot of time you can run into processor occupancy problems.
@@GPLaps Oh ok. Thanks for the fast response anyway. But as of yet I am running a 36 car grid with 60-80 fps and I only have an i5-9400f. So I think it could be done with a good processor.
@@GPLaps since you mentioned 3dsimed3 and kseditor, is it also possible to add more layouts to the track using them? Because one of the tracks I play pretty much allows for that but I'm not really sure how to make a new layout for the existing track itself.
I made the ai side lines and they only last for one race, then I need to reinstall the mod. Any solution to this problem?
You have to hold shift to load them as far as I know.
@ It was because I was using a shader patch version that wasn't optimized.
What’s happening when the ai doesn’t leave the pits?
The pit line is not close enough to the stalls
Soul piercing eyes
Amd pinchable cheeks.
Mine keeps dissapearing
Is there no way of just sharing the AI track data with others so we can benefit without delving into the AI rabbit hole and getting our hands dirty ?
It's such a shame that AI has been left behind. Multiplayer racing can be more exhilarating but also so much more frustrating.
However online people don't seem to race much vintage stuff so AI lets you choose, rather than hoping there will be lobbies for what you want to race.
Also screw equal blame safety rating systems. Makes it impossible to keep my A license in iracing.
he?
Oh wow I'm first haha
Nooooooooooo i lost again😅
haven't watched the video. is it an April fools day joke?
I am in the process of making AI lines on my new track.... haha it takes 15 minutes to get to one end of track at over 150 mph.....what a PITA