Discussion in 'Tracks' started by Ghostnasty1, Apr 15, 2015.
"Start recording" for the fast_lane and "start pits" for the pitlane.
I'm making a track where first turn is a blind-right hand-down hill, so I have to brake a lot more than if it was flat, and the camber is not too positive. AI fast lane is recorded carefully, hugging the right side of road at all times. But the AI on second lap usually fly off the track, they just enter the corner too fast, despite my heavy braking before corner when recording the lap.
Should I use AI app additional controls? I didn't find instructions in this thread about them, not sure how exactly to do that.
Here is example of what the corner looks like:
Hi! In the data folder (under your main track folder) is a file called ai_hints.ini. Open that up in a text editor. You can add hints to help the AI deal with things like that. e.g.
;the left hand bend (you can put anything here. It's just a comment)
;the kink. Don't back off too much!
So START and END are the start and end points for the hint. 0 is when you cross the start of the AI spline and 1 is the end of the spline (1 lap). So 0.3 is 30% through the lap. You can find these values easily using the AI line helper app (https://www.racedepartment.com/downloads/ai-line-helper.16016/). It tells you the number as you drive the lap. Just plug these numbers in where they fit.
VALUE = This is the value of how much the ai should push in comparison with default. e.g. 0.9 = back off a little, 0.5 = back off quite a bit and drive more slowly, 1 = drive normally (you wouldn't use this as this is the default value), 1.4 = drive wrecklessly
Hope this helps. There are other tweaks possible in the AI_HINTS.INI file but I don't know enough about them to advise. The above use is the most common.
Thank you very much!
This is the first time I hear about ai_hints.ini, seems like quite an easy fix for my problem.
AI app on
drive slow just before START LINE
accross again START LINE (see new line Ciano color)
press STOP RECORDING but never stop record
try SAVE ai, but never save .candidate file in YOURTRACK\ai folder
AC ver 1.6.3 (last version)
Go one more lap!
Are the beginning and end of the cyan line joined?
If they are not, take another lap until you see that they join.
And about the point 5, do not worry, never stop recording, be sure to click "save AI" ,with that it should be enough.
btw!.. you can do it at any speed, don't worry about it!
about the point 5 seem recor file not when push stop, but when leave the track and return to panel AC
I have made a cross-over track.
The AI on the top road temporary slows down where it crosses the AI-line on the bottom road. Almost like it doesn't know which AI-line to choose.
It doesn't do this the other way around; on the bottom road the AI keeps on going like it should.
Is the track all in one mesh? try to cut the road into pieces, especially the crossing parts should be two different meshes. But not sure if it helps.
That indeed solved it, thank you.
Only now I can't beat my own AI anymore
I have a big problem. I am converting some circuits to assetto. I already made several. However, in some, the cars barely start, go against the pit wall and stay against it. Despite doing the correct procedure of doing the ai first, then using the ai helper, shifting those limits and performing the ai again.
Regarding the definition of materials, everything is fine (boxes is 1pit_; asphalt is 1road_; the walls are defined as 1wall_)
Can anybody help me?
when recording the new ai line, everything else but your road-mesh in your surfaces.ini should be set to IS_VALID_TRACK=0
if you dont do this, ac will assume it can drive anywhere, also in the pits, if you use your normal "surfaces.ini" with pits set to valid
another thing that should fix this (i dont know for sure)
would be recording side_r.csv and side_l.csvwith ai-line helper and using those with the "holding-shift at ac-start" method
(maybe also keep curbs valid, not only road)
Road to? I recorded left and rigth sides.
set road to valid, all others to invalid
seems like its not enough to have side_r/l.csv
thanks a lot. Solved it
I have another problem. On some tracks, ia cars start too slow. They barely move ...
The ai is perfect, the cars go where they belong and set very good lap times, difficult to match.
But this about the start, I can't fix it.
What could it be?
should not happen without CustomShadersPatch, with it enabled, set ai strength and aggression to 100%, thats a long lived bug ;(
I tried all this that you tell me, but the same thing happens to me. Could it be that you have to see the distance between the starting drawers of each car?
Separate names with a comma.