I've been thinking.
I think that the opponents driving is done in a similar way as how replays are stored and replayed.
Each track piece has a speed value and a pathway. That gives direction and magnitude.
I don't know how far the 'ai' can see ahead. But I think it is one tile. (Same distance as the placement of corner signs)
The path itself is (I think) based on coordinate like checkpoints.
Stressed can't view this data (I couldn't at least)
So tis is purely speculation on my part.

EDIT.
After some digging in the file data I have altered my view a little bit. The path is set per tile and stored per tile (combined with collision data?)
The opponent file only contains diffirations from the path. Sid has none, the others have some (based on their weaknesses) and or speed variations.
I think that the opponents driving is done in a similar way as how replays are stored and replayed.
Each track piece has a speed value and a pathway. That gives direction and magnitude.
I don't know how far the 'ai' can see ahead. But I think it is one tile. (Same distance as the placement of corner signs)
The path itself is (I think) based on coordinate like checkpoints.
Stressed can't view this data (I couldn't at least)
So tis is purely speculation on my part.

EDIT.
After some digging in the file data I have altered my view a little bit. The path is set per tile and stored per tile (combined with collision data?)
The opponent file only contains diffirations from the path. Sid has none, the others have some (based on their weaknesses) and or speed variations.


