Forums
Car config changes - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Cars & Tracks (https://www.vdrift.net/Forum/forumdisplay.php?fid=11)
+--- Thread: Car config changes (/showthread.php?tid=1480)

Pages: 1 2 3


- NaN - 05-28-2011

Only an update video for now: http://www.youtube.com/watch?v=-nyXzHHYlqA

I am able to attach an arbitrary number of bodies to the car. I am not really happy with the current implementation tough. Need to make it more generic. We could support per body aerodynamics and collision sounds/materials.

By the way, the config files are getting somewhat complex.
Code:
[wing.front]
frontal-area = 0.20
drag-coefficient = 0.5
surface-area = 1.00            # including body downforce; 0.7
lift-coefficient = -2
efficiency = 0.99
texture = body00.png, body-misc1.png
mesh = wing_front.joe
position = 0.0, 2.25, -0.44
mass = 20

[wing.front.shape.box.0]
center = 0.0, 0.0, 0.0
size = 0.6, 1.25, 0.28

[wing.front.link]
strength = 1000
elastic-limit = 1000
I've been thinking about separating the common settings(body, model, link, aero, ..)


- Timo 6 - 05-28-2011

Nice! Is it stable enough to add to SVN? I wanna play with it!


- NaN - 05-29-2011

I've pushed the changes to trunk, tested with F1-02 and FE on paulricard88 and road_atlanta. Would be great if you could test on other tracks.


- Timo 6 - 05-29-2011

Will do.


- Timo 6 - 05-29-2011

R3128 crashes when damage is turned on any car any track. I'll revert to 3127 and test that.


- NaN - 05-29-2011

Strange, runs for me under Win7/32bit and Fedora/64bit, gcc4.5. Have you tried to clean/rebuild?


- joevenzon - 05-29-2011

Works for me, ubuntu 11.04 32-bit.


- Timo 6 - 05-30-2011

Still not working. Crash log: http://pastebin.com/3v5BaKT7
VDrift log: http://pastebin.com/cpDwJ7WC


- NaN - 05-30-2011

Ah, should have asked for the error log in the first place. Try 3129.


- Timo 6 - 05-30-2011

Yep, that fixes it. I'll get back to testing now I've had a play!


- Timo 6 - 05-30-2011

F1-02 is the only car that's works with damage on, others crash the game.
Road Atlanta crashes with any settings.

On some tracks the rear wing fall off when the car spawns, I guess that the starting position is to high or something.


- NaN - 05-30-2011

Excellent work Timo6. Can you retest with 3130?

Quote:On some tracks the rear wing fall off when the car spawns, I guess that the starting position is to high or something.
The car wheel rays have a maximum length of 4 meters. Would be great if you note the track down on which it happens. I'll fix the positions then.


- NaN - 05-30-2011

Another update 3131. Missed to re-enable align with ground(move car towards ground) functionality. This should fix the f1-02 breakage.


- Timo 6 - 05-30-2011

Road Atlanta still broken, but everything else seems to work so far.


- NaN - 05-30-2011

Quote:Road Atlanta still broken
I've tried F1-02, FE damage on/off practice/race using latest data. No crashes. Do you have an error log, does it segfault?