03-31-2007, 11:33 PM,
|
|
thelusiv
Administrator
|
Posts: 2,346
Threads: 223
Joined: Jun 2005
|
|
Opponent starts early in replay
Playing around tonight I tried recording a replay in single race mode, driving the CT against the NS on Barcelona. I sucked for 2 laps but came back in the 3rd and beat the NS. I spun out once when way ahead and ended up backwards on the road in reverse watching the NS catch up and pass me...then when I played the replay, the NS starts way before my car, is in front of my car when I spin, and wins (even though my time is lower than him), and is sorted first on the results screen. It seems to me that the opponent is getting started long before the player in replays.It could be because the opponent's recording starts after the player recording, but both are started at the same time. Anybody have any ideas why this might be? I haven't looked closely at the AI replay recording code or the replay playback code yet, will soon.
|
|
03-31-2007, 11:59 PM,
|
|
rookie1
Member
|
Posts: 231
Threads: 32
Joined: Nov 2006
|
|
Actually the record reply function does not record AI driver's play at all. At least this is what I know unless someone has changed the reply code. I think when you replay a record single race game, the game just create the AI driver and drive as if it's a single race game.
I'm not sure why the opponent car start earlier though. Could it be because the brake holding code at the start of the race was not effective when it's a reply?
|
|
02-10-2010, 07:30 AM,
|
|
flo
Junior Member
|
Posts: 15
Threads: 4
Joined: Apr 2008
|
|
This thread is a bit old, nevertheless I'm interested to replay the AI driver. If I record a "single race", only the human driver is shown in the replay and no AI driver at all.
Any suggestion, maybe to simply set a pointer to the AI car, within the "replay.StartRecording" function?
flo
|
|
02-11-2010, 07:55 PM,
|
|
flo
Junior Member
|
Posts: 15
Threads: 4
Joined: Apr 2008
|
|
Great, that worked!
Is it possible to play "*.vdr" file out off VDrift, respectiveley burn it to DVD or is it, as I supose, just a text file, VDrift reads-out data?
|
|
|