Calibrating the PP system

Calibrating the PP system is a excelent manner to suit the performance evaluation to your proposed experience. In order to calibrate it, you'll need to colect the PTW and Acc time for the slowest and fastest vehicle you wish to compare, and for that you'll need to call an export to collect the necessary data to fill the chaserconfig.lua PP profile, and you can do so by creating a lua resource and paste the following code:

local chaser = exports['legacydmc_chaser']

RegisterCommand("getptw", function()
    if chaser:chaser_getloadstatus() then
        chaser:chaser_getengineptwratio(chaser:chaser_getvehname(),false,0,true,false)
    end
end, false)

RegisterCommand("getacctime", function()
    if chaser:chaser_getloadstatus() then
        chaser:chaser_calcacc(chaser:chaser_getvehname(),false,0,true,false)
    end
end, false)

Then, inside a car type the "getptw" and "getacctime" command and you'll see that in the F8 console, it will give you the necessary information to fill in the chaserconfig.lua PP profile.

Now, go into our tutorial about the "chaserconfig.lua" file to learn how to properly use the acquired data!

chaserconfig.lua

Last updated