Just want to add an additional piece of info and solution to potential "AI not pitting" issue.
As many have already mentioned that both "
reset special waypoints" or "
corridor separation" (in various posts from other threads) can help fix "AI not pitting".
There is however another special case that is not fixable with those two methods.
In my case, I started to create a new AI main path (
in reverse direction) directly on top of a fully function AIW file(
forward direction, with 1 pit extension connect to pit path). And after done all the new paths(main, pit, extension), pit-spots special waypoint can not be correctly generated by game (30 pit spots, but only 1 special WP generated), and "reset special waypoints > save > reload track > save again" procedure can not fix this issue (corridor has also correctly set).
After hours of searching and testing without any success, I decided to do a side by side comparison check with a new fresh created AIW file in notepad++, and have found that
PitExtensionsStart value in the troubled AIW file is still pointing to the old "forward direction" main path waypoint, which is incorrect for the new main & pit path (never noticed this value until now, and there is no results yielded from forum search). After I have corrected
PitExtensionsStart value, and reload the track, all 30 pit-spots special waypoints are correctly generated by game, which fixed "AI not pitting" in this case.
TLDR:
If "
reset special waypoints" or "
corridor separation" fails to fix "AI not pitting" issue (due to game unable to generate correct pit-spots special waypoints), try open AIW file in notepad, and search for
PitExtensionsStart value (if the track has pit extension path), then manually correct this value. The correct value should be the last
pit path waypoint index + 1. For example, in the pic below, the value should be PitExtensionsStart=(
2580)
Conclusion:
The "AI not pitting" issue, in my case, is likely caused by directly creating a reverse-direction main path on top of a forward-direction AIW path that contains at least one pit extension. And for some reason this
PitExtensionsStart value does not get reset, which prevent game from correctly generate pit spots special waypoints.
Hope helps.