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

Tuning your vehicle

PreviousSetting Up Performance IndexNextUtilizing offsets

With dynamic tuning is now easier and more accessible than ever. All tuning options are under a single export, named loadTunedSetup

In order to tune a vehicle, you'll need to create your own script to call this export. The script must also get the vehicle by a UID, like the number plate, and store the tuning data. So, that means that you must follow this logic: Player get's into the vehicle DB or Your choice of saving system checks for parts, equipments, or anything that you choose that stores the tuning data, for example let's say a upgraded crankshaft. If it contains a upgraded crankshaft, we consider the powerMultiplier to be 1.1 instead of 1.0 We now call loadTunedSetup like so: loadTunedSetup(CurrentEngine,TransmissionData,CurrentTyre,PowerMulti,WeightMulti,BrakeMulti)

This is a simple load/save tuning system logic example. You can ask your back-end programmer or your favorite AI, and it's likely they'll will be able to assist you into developing one, with ease.

Alternatively, you can check to see it in action in game. And use the code as a starting base, with only the save/load system that'll need to be coded, as this type of solution varies from server to server.

Useful links:

Creating engine swap profiles
Creating a transmission data
Creating tyre profiles
the dynamic export demo menu
In game preview of the tuning menu