The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
HOW TO create a car for VDrift (1) - The .car file - 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: HOW TO create a car for VDrift (1) - The .car file (/showthread.php?tid=2205)



HOW TO create a car for VDrift (1) - The .car file - arturo - 12-14-2015

This thread is intended for beginners who want to add their favourite cars to VDrift. I am going to document my own process of creating a car and hope that others won't have to repeat my mistakes. This first post will be edited as I learn things.

The first thing to understand is that there are two almost completely separate processess at work: one is art (the 3D mesh and the textures, which will determine how your car looks), the other is physics (the parameters in the .car file, which will determine how your car drives). The only link between both is that the wheels, whose position will be determined by the values for wheelbase and front/rear tracks set (implicitly) in your .car file, must fit into the bodywork.

We will only deal with the physics side here. I will post separately about how to generate the model in Blender from an absolute beginner's perspective.

In order to create your .car file, you must start by looking at the description of all VDrift car parameters here:
https://github.com/VDrift/vdrift/blob/master/docs/Car_parameters.md

Do you want realistic values for your car? This may not be the case if you are only interested in playing the game and have fun. But for those who want to simulate the behavior of their cars as closely as posible, real values are needed.

If you want a one-stop shop, have a look at this page:
http://www.automobile-catalog.com/
It is the only place that I know where you can sistematically find gear ratios. Unfortunately, it is still in construction. They proceed alphabetically, and at the time or writing they are working on letter N.

Another interesting place, where you can find torque curves in an immediately exploitable format is here:
http://www.zeperfs.com/
You have to register to have access to the full functionality, including the torque curves, but according to my experience this is perfectly safe.

Some parameters will allow you to 'tune' your car performance. Let's look at the brakes. Which pads will you mount in the front and in the rear? Values for the friction coeficient can be found in the Internet from various makers; a very useful table including real-world racing uses can be found at the end of the introduction to this document:
http://www.apracing.com/drawings/2015 Product Catalogue/2015 Brake pads.pdf

Regarding brake bias, you can get a rough approximation using this calculator (set the values to metric first of all):
http://brakepower.com/

However, nothing will replace on-track testing. You have to try and send more braking to the rear wheels until the point where the car becomes unstable.