Dynamic Engine
  • Starting your engine
    • Introducing Dynamic
    • The simulation
    • The network
  • Your first drive
    • Setting the script
    • Creating a Dynamic vehicle profile
    • Editing a Dynamic vehicle profile
    • Migrating from C.H.A.S.E.R
  • Fine Tuning your vehicle
    • Adapting your NUI
    • Editing the engine
    • Creating engine swap profiles
    • Creating a transmission data
    • Creating tyre profiles
    • Creating a new camera
    • Tweaking HUD
    • Setting Up Performance Index
    • Tuning your vehicle
    • Utilizing offsets
  • Exports
    • Learning the exports
    • Brake Exports
      • getBrakeTemp
      • toggleBrakeDebug
      • setBrakeTemp
  • Caller Exports
    • stopDynamic
    • startDynamic
  • Camera Exports
    • getCameraData
    • getCameraAmmount
    • startCamera
    • swapCamera
    • stopCamera
    • setCurrentCameraPitchOffset
    • setCurrentCameraFovOffset
    • setCurrentCameraSpacingOffset
    • setCurrentFpvCameraSpacingOffset
    • toggleBikeYawCorrection
  • Differential Exports
    • getIsVehicleCurrentlyDrifting
    • getIsVehicleCurrentlyDriftingThrottleLess
  • Drivetrain Exports
    • setFrontTorqueDist
  • Ecu Exports
    • setCurrentVehicleTcsLevel
    • toggleTcs
    • toggleEsc
    • getAssists
    • getTelemetryData
    • getGlobalTelemetryData
    • getWheelData
    • getVehicleData
    • getAvailableTyres
    • getTyreData
    • getAvailableEngineSwaps
    • getEngineData
  • Performance Index Exports
    • getPerformanceIndex
    • getPerformanceIndexCalibrationMetrics
  • Transmission Exports
    • getTopSpeedTable
    • getTopSpeedTableFromTransmissionData
    • setTransmissionMode
    • getTransmissionMode
  • Tuning Exports
    • loadTunedSetup
  • Tyre Exports
    • warmTyre
  • From enthusiasts to everyone
    • With Passion.
Powered by GitBook
On this page
  1. Fine Tuning your vehicle

Creating engine swap profiles

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:

-- Engine Component from a tempesta
    engine = {
        power = 0.371,
        ptwRatio = 0.0002235258358662614,
        torqueCurve = {
            {rpm = 1000, torque = 246.8},
            {rpm = 1100, torque = 280.4},
            {rpm = 1200, torque = 308.5},
            {rpm = 1300, torque = 332.2},
            {rpm = 1400, torque = 352.5},
            {rpm = 1500, torque = 370.2},
            {rpm = 1600, torque = 385.6},
            {rpm = 1700, torque = 399.2},
        },
    }

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.

PreviousEditing the engineNextCreating a transmission data

You can check if it is working using our native demo tool