12-03-2010, 08:57 PM,
|
|
fudje
Member
|
Posts: 87
Threads: 6
Joined: Dec 2007
|
|
Replays ... carfile
The carfile variable doesn't seem to do anything right now except for consistently making replays fail. So I deleted a bunch of code, which made replays work. Might be better to just ignore carfile instead of deleting it entirely like I did, but:
https://github.com/fjwhittle/vdrift/comm...d988107e31
|
|
12-04-2010, 08:59 PM,
|
|
fudje
Member
|
Posts: 87
Threads: 6
Joined: Dec 2007
|
|
Yeah, I was expecting all sorts of weird stuff to happen when I commented out the checks for it first time through, but it loaded the replay with the correct car file and even the appropriate color instead of what it was doing before, which was bitching about not being able to find any wheel parameter in the first included config file.
|
|
12-06-2010, 09:51 AM,
|
|
charlieg
Member
|
Posts: 98
Threads: 10
Joined: Aug 2005
|
|
joevenzon Wrote:I'm going from memory here, but the carfile variable in the replays isn't just a filename, it's the contents of the entire carfile. The idea is that if people record a replay with their car setup a certain way, then tweak their suspension stiffness or something, they should still be able to play their original replay without it playing weird because the stiffness is different. A better solution would have been to serialize the car's entire initial state including constants. Shouldn't the replay be purely location/rotation based? I mean... do you really want to re-simulate all the physics again?
|
|
|