This guide is mainly intended for mod users who would like to learn how to change driving behaviour, but also adds info to the Basic Car Modding Guide.
Driving behaviour of each modded vehicle is defined in the .yaml file included with each car mod.
This .yaml file will be somewhere in r6\tweaks\. Some modders put their .yaml files in subfolders with their name or the name of the car whithin the tweaks folder. The .yaml file must be somewhere inside r6\tweaks though.
Some modders also use .tweak files to define the driving behaviour of their cars. This tutorial won't cover these, but the settings within those files use the same names and values as .yaml files. The files are formatted differently and the information presented here must be adapted to the specific format of .tweak files.
Changing Speed
Manually
The engine setup is made up of different sets of values for each gear of the car. These sets of values are usually taken from one of the vanilla cars and then modified. The sets of values are added to the car within the vehEngineData section of the .yaml, which we'll now look at:
Open the .yaml file of a modded car using a text editor like Notepad
This car uses Vehicle.VehicleEngineData_4_SuperSport as the $base for its engine setup. This is the Rayfield Caliburn
Vehicle.VehicleEngineData_4_SuperSport contains eight gears, inline0 through inline7
inline0 is the reverse gear, inline7 the seventh gear
The vanilla gears are removed from the modded car in the lines start with - !remove
Custom gears are added to the modded car in the lines that start with - !append
The custom gears are defined further up in the .yaml
Use the search function of your text editor to search for the name of each gear, for example yv_r8_gear_7
It might look like this:
yv_r8_gear_7: is the "title" of the TweakDB entry for this gear
It uses Vehicle.VehicleEngineData_4_SuperSport_inline7 as its base, this is the seventh gear of the Rayfield Caliburn
The most important values are minSpeed, maxSpeed, and torqueMultiplier
minSpeed defines the minimum speed of each gear
maxSpeed defines the maximum speed of each gear
torqueMultiplier defines how quickly the car goes from minSpeed to maxSpeed
Raising all three values across all gears makes the car go faster
My explanations of each value might not be technically correct. I've arrived at this explanation by changing the values and seeing what happens in-game. Finding a gear setup that feels smooth across all gears requires a lot of trial and error.
You can also change these values live in game using Whip Wizard.
Vanilla Gear Setups
If you don't want to make an entire gear setup from scratch, you can also use an unmodified gear setup from one of the vanilla vehicles. Since we now know how the gear setup works, we can remove the custom setup of the modded car:
Within the vehEngineData section of the .yaml, remove everything but the line that starts with $base:
Feel free to stop here if you like the engine setup of the vanilla car that the modded one is based on
If not, find the name of the TweakDB entry for a vanilla car
While the engine setups above are car specific, the game also features some generic engine setups:
Changing handling
Similarly to the engine setup, handling also works by adding handling data from vanilla cars onto modded ones and then overriding that data. Handling is defined in the vehDriveModelData section of each .yaml file. Such a section might look like this:
Here, the handling is copied from the Quadra Tubo-R VTech onto the modded car and then modified with custom values.
The three lines that start with $base: work the same way as the engine setup. You can replace the vanilla cars used there with other vanilla cars by following the method outlined above.
maxWheelTurnDeg is the highest angle that the front wheels can turn while steering
wheelTurnMaxAddPerSecond is the speed at which the front wheels turn while steering
wheelTurnMaxSubPerSecondd is the speed at which the front wheels return to their default rotation after steering
All three settings:
Affect steering sensitivity
Decrease for lower sensitivity
Increase for higher sensitivity
frictionMulLateral and frictionMulLongitudinal affect wheel grip
Decrease for more drift-y handling
Increase for more grip
My explanations of each value might not be technically correct. I've arrived at this explanation by changing the values and seeing what happens in-game. Finding values that handle well requires a lot of trial and error.
Finding & copying the name of the handling data for the Quadra Turbo-R VTech
Same as with the engine setup, you can also change these values live in game using Whip Wizard.