broker747

Untitled

Dec 4th, 2022
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.58 KB | None | 0 0
  1. config = {}
  2.  
  3. config.cars = {} -- Do not touch
  4. config.presets = {} -- Do not touch
  5.  
  6. config.EnableTuningLaptop = true
  7.  
  8. config.Notify = function(msg)
  9. ESX.ShowNotification(msg)
  10. end
  11.  
  12. config.LaptopLocationLocked = false -- IF true then Laptop only openable when in config.LaptopCoords
  13. config.LaptopCoords = {
  14. {x = 222.8506, y = -995.3458, z = 28.7009, r = 100.0},-- r stands for Radius
  15. {x = 222.8506, y = -995.3458, z = 28.7009, r = 100.0},
  16. }
  17.  
  18. config.TuningLocationLocked = false -- IF true then Tuning only gets applied when in config.TuningCoords
  19. config.TuningCoords = {
  20. {x = 222.8506, y = -995.3458, z = 28.7009, r = 100.0},-- r stands for Radius
  21. {x = 222.8506, y = -995.3458, z = 28.7009, r = 100.0},
  22. }
  23.  
  24. config.pages = {
  25. [1] = {
  26. name = 'Traction',
  27. },
  28. [2] = {
  29. name = 'Power',
  30. },
  31. [3] = {
  32. name = 'Brakes',
  33. },
  34. [4] = {
  35. name = 'Suspension',
  36. },
  37. }
  38.  
  39. 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
  40. -- 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
  41. -- If Tuner puts number higher than max it will not tune the vehicle
  42.  
  43. config.insidepages = { -- Layout {page = [PAGE NUMBER FROM ABOVE], [HANDLING NAME], label = [LABEL FOR HANDLING IN LAPTOP], max = [MAX INPUT]}
  44. {page = 1, 'fTractionCurveMax', label = 'fTractionCurveMax', min = 0.0, max = 6.7},
  45. {page = 1, 'fTractionCurveMin', label = 'fTractionCurveMin', min = 0.0, max = 3.5},
  46. {page = 1, 'fTractionLossMult', label = 'fTractionLossMult', min = 0.0, max = 1.4},
  47. {page = 1, 'fTractionCurveLateral', label = 'fTractionCurveLateral', min = 0.0, max = 120.0},
  48. {page = 1, 'fTractionSpringDeltaMax', label = 'fTractionSpringDeltaMax', min = 0.2, max = 0.5},
  49. {page = 1, 'fTractionBiasFront', label = 'fTractionBiasFront', min = 0.325, max = 0.95},
  50. {page = 1, 'fLowSpeedTractionLossMult', label = 'fLowSpeedTractionLossMult', min = 0.0, max = 2.0},
  51. {page = 1, 'fDriveBiasFront', label = 'fDriveBiasFront', min = 0.0, max = 1.0},
  52.  
  53. {page = 2, 'fInitialDriveForce', label = 'fInitialDriveForce', min = 0.0, max = 3.0},
  54. {page = 2, 'fDriveInertia', label = 'fDriveInertia', min = 0.1, max = 2.5},
  55. {page = 2, 'fClutchChangeRateScaleUpShift', label = 'fClutchChangeRateScaleUpShift', min = 0.3, max = 9.0},
  56. {page = 2, 'fClutchChangeRateScaleDownShift', label = 'fClutchChangeRateScaleDownShift', min = 0.3, max = 9.0},
  57. {page = 2, 'fInitialDragCoeff', label = 'fInitialDragCoeff', min = 0.9, max = 300.0},
  58. {page = 2, 'fInitialDriveMaxFlatVel', label = 'fInitialDriveMaxFlatVel', min = 100.0, max = 330.0},
  59.  
  60. {page = 3, 'fBrakeForce', label = 'fBrakeForce', min = 0.001, max = 5.0},
  61. {page = 3, 'fBrakeBiasFront', label = 'fBrakeBiasFront', min = 0.0, max = 2.0},
  62. {page = 3, 'fHandBrakeForce', label = 'fHandBrakeForce', min = 0.0, max = 2.0},
  63. {page = 3, 'fSteeringLock', label = 'fSteeringLock', min = 0.0, max = 75.0},
  64.  
  65. {page = 4, 'fSuspensionForce', label = 'fSuspensionForce', min = 0.0, max = 9.0},
  66. {page = 4, 'fSuspensionCompDamp', label = 'fSuspensionCompDamp', min = 0.0, max = 8.0},
  67. {page = 4, 'fAntiRollBarForce', label = 'fAntiRollBarForce', min = 0.0, max = 5.0},
  68. {page = 4, 'fAntiRollBarBiasFront', label = 'fAntiRollBarBiasFront', min = 0.0, max = 1.0},
  69. {page = 4, 'fSuspensionUpperLimit', label = 'fSuspensionUpperLimit', min = 0.0, max = 1.0},
  70. {page = 4, 'fSuspensionLowerLimit', label = 'fSuspensionLowerLimit', min = 0.0, max = -1.0 },
  71. {page = 4, 'fRollCentreHeightFront', label = 'fRollCentreHeightFront', min = -1.0, max = 1.2},
  72. {page = 4, 'fRollCentreHeightRear', label = 'fRollCentreHeightRear', min = -1.0, max = 1.2},
  73. {page = 4, 'fSuspensionReboundDamp', label = 'fSuspensionReboundDamp', min = 0.0, max = 10.8},
  74. {page = 4, 'fSuspensionRaise', label = 'fSuspensionRaise', min = 0.001, max = 5.0},
  75. {page = 4, 'fSuspensionBiasFront', label = 'fSuspensionBiasFront', min = 0.0, max = 0.8},
  76. }
  77.  
  78. config.Notifications = {
  79. ['PresetLoad'] = 'Preset Loaded',
  80. ['PresetSaved'] = 'Preset Saved',
  81. ['PresetDeleted'] = 'Preset Deleted',
  82. ['TuningSaved'] = 'Tuning Saved',
  83. ['TuningReseted'] = 'Tuning set to Default',
  84. ['SharedTuningLoaded'] = 'Share code valid | Tuning Loaded',
  85. ['SharecodeInvalid'] = 'Share code invalid',
  86. ['CantopenLaptopHere'] = 'Cant open Laptop Here',
  87. ['TuningFailed'] = 'Tuning failed you did put in too high numbers',
  88. }
  89.  
Advertisement
Add Comment
Please, Sign In to add comment