Author Message

amilmand

00
Posts: 259

Location: ---
Occupation:
Age:
V$:
#138813   2018-03-12 23:47          
I posted the way to define splines not long ago LINK
You can make a bot follow a spline by the suitably named
public void followSplineTrack( float width, String splineFile, int oppCarId )
function of the Bot class check out the bot.java from an original java pack (LINK) for other useful functions of this construct like the
public void createCar( GameRef map )
and there usage either from the ROCTrack.java or if you have it the TournamentTrack.java of the SlrrExhaustive pack.

You can make the camera follow a bot car (TournamentTrack.java demo mode)
If you are after a way to modify the path on the fly with player input the only way for now is to decode the trc file