Making engine profile swaps is now easier than ever.
Just head into your vehicleData.lua profile, and copy the vehicle engine you'd want to make swappable entry.
Example:
Now, on the engineData.lua file, create a new engine swap by making the following template:
engineSwaps = {
['tempesta_v10'] = { -- create a new key, with the engine swap hash you want.
engineSwap = { -- "engine" now becomes "engineSwap"
audioHash = "tempesta", -- add a new field to specify the engine sound for this swap
power = 0.32, -- when adding the new field, dont forget the ","
ptwRatio = 0.00023746835443037972,
torqueCurve = {
{rpm = 1000, torque = 246.8},
{rpm = 1100, torque = 280.4},
{rpm = 1200, torque = 308.5},
},
},
},
}
And that's it! If there's no missing commas, or any typing mistake the engine swap is now ready to be used!
Navigate to "Tuning Exports" and you should be able to see it here.