Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- config = {}
- config.cars = {} -- Do not touch
- config.presets = {} -- Do not touch
- config.EnableTuningLaptop = true
- config.Notify = function(msg)
- ESX.ShowNotification(msg)
- end
- config.LaptopLocationLocked = false -- IF true then Laptop only openable when in config.LaptopCoords
- config.LaptopCoords = {
- {x = 222.8506, y = -995.3458, z = 28.7009, r = 100.0},-- r stands for Radius
- {x = 222.8506, y = -995.3458, z = 28.7009, r = 100.0},
- }
- config.TuningLocationLocked = false -- IF true then Tuning only gets applied when in config.TuningCoords
- config.TuningCoords = {
- {x = 222.8506, y = -995.3458, z = 28.7009, r = 100.0},-- r stands for Radius
- {x = 222.8506, y = -995.3458, z = 28.7009, r = 100.0},
- }
- config.pages = {
- [1] = {
- name = 'Traction',
- },
- [2] = {
- name = 'Power',
- },
- [3] = {
- name = 'Brakes',
- },
- [4] = {
- name = 'Suspension',
- },
- }
- config.ChangeInputs = true -- If u set Max below to f.e. 2 but car has already 5 then it will automatically set max to that what the
- -- car has if higher than the max u set below but if car has 1.9 and max is 2 then it will be max 2
- -- If Tuner puts number higher than max it will not tune the vehicle
- config.insidepages = { -- Layout {page = [PAGE NUMBER FROM ABOVE], [HANDLING NAME], label = [LABEL FOR HANDLING IN LAPTOP], max = [MAX INPUT]}
- {page = 1, 'fTractionCurveMax', label = 'fTractionCurveMax', min = 0.0, max = 6.7},
- {page = 1, 'fTractionCurveMin', label = 'fTractionCurveMin', min = 0.0, max = 3.5},
- {page = 1, 'fTractionLossMult', label = 'fTractionLossMult', min = 0.0, max = 1.4},
- {page = 1, 'fTractionCurveLateral', label = 'fTractionCurveLateral', min = 0.0, max = 120.0},
- {page = 1, 'fTractionSpringDeltaMax', label = 'fTractionSpringDeltaMax', min = 0.2, max = 0.5},
- {page = 1, 'fTractionBiasFront', label = 'fTractionBiasFront', min = 0.325, max = 0.95},
- {page = 1, 'fLowSpeedTractionLossMult', label = 'fLowSpeedTractionLossMult', min = 0.0, max = 2.0},
- {page = 1, 'fDriveBiasFront', label = 'fDriveBiasFront', min = 0.0, max = 1.0},
- {page = 2, 'fInitialDriveForce', label = 'fInitialDriveForce', min = 0.0, max = 3.0},
- {page = 2, 'fDriveInertia', label = 'fDriveInertia', min = 0.1, max = 2.5},
- {page = 2, 'fClutchChangeRateScaleUpShift', label = 'fClutchChangeRateScaleUpShift', min = 0.3, max = 9.0},
- {page = 2, 'fClutchChangeRateScaleDownShift', label = 'fClutchChangeRateScaleDownShift', min = 0.3, max = 9.0},
- {page = 2, 'fInitialDragCoeff', label = 'fInitialDragCoeff', min = 0.9, max = 300.0},
- {page = 2, 'fInitialDriveMaxFlatVel', label = 'fInitialDriveMaxFlatVel', min = 100.0, max = 330.0},
- {page = 3, 'fBrakeForce', label = 'fBrakeForce', min = 0.001, max = 5.0},
- {page = 3, 'fBrakeBiasFront', label = 'fBrakeBiasFront', min = 0.0, max = 2.0},
- {page = 3, 'fHandBrakeForce', label = 'fHandBrakeForce', min = 0.0, max = 2.0},
- {page = 3, 'fSteeringLock', label = 'fSteeringLock', min = 0.0, max = 75.0},
- {page = 4, 'fSuspensionForce', label = 'fSuspensionForce', min = 0.0, max = 9.0},
- {page = 4, 'fSuspensionCompDamp', label = 'fSuspensionCompDamp', min = 0.0, max = 8.0},
- {page = 4, 'fAntiRollBarForce', label = 'fAntiRollBarForce', min = 0.0, max = 5.0},
- {page = 4, 'fAntiRollBarBiasFront', label = 'fAntiRollBarBiasFront', min = 0.0, max = 1.0},
- {page = 4, 'fSuspensionUpperLimit', label = 'fSuspensionUpperLimit', min = 0.0, max = 1.0},
- {page = 4, 'fSuspensionLowerLimit', label = 'fSuspensionLowerLimit', min = 0.0, max = -1.0 },
- {page = 4, 'fRollCentreHeightFront', label = 'fRollCentreHeightFront', min = -1.0, max = 1.2},
- {page = 4, 'fRollCentreHeightRear', label = 'fRollCentreHeightRear', min = -1.0, max = 1.2},
- {page = 4, 'fSuspensionReboundDamp', label = 'fSuspensionReboundDamp', min = 0.0, max = 10.8},
- {page = 4, 'fSuspensionRaise', label = 'fSuspensionRaise', min = 0.001, max = 5.0},
- {page = 4, 'fSuspensionBiasFront', label = 'fSuspensionBiasFront', min = 0.0, max = 0.8},
- }
- config.Notifications = {
- ['PresetLoad'] = 'Preset Loaded',
- ['PresetSaved'] = 'Preset Saved',
- ['PresetDeleted'] = 'Preset Deleted',
- ['TuningSaved'] = 'Tuning Saved',
- ['TuningReseted'] = 'Tuning set to Default',
- ['SharedTuningLoaded'] = 'Share code valid | Tuning Loaded',
- ['SharecodeInvalid'] = 'Share code invalid',
- ['CantopenLaptopHere'] = 'Cant open Laptop Here',
- ['TuningFailed'] = 'Tuning failed you did put in too high numbers',
- }
Advertisement
Add Comment
Please, Sign In to add comment