greenville speed script 【11gear!】 - Pastebin.com (2024)

  1. --[[

  2. ___ _______ _

  3. / _ |____/ ___/ / ___ ____ ___ (_)__

  4. / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<

  5. /_/ |_| \___/_//_/\_,_/___/___/_/___/

  6. SecondLogic @ Inspare

  7. ]]

  8. local Tune = {}

  9. --[[Misc]]

  10. Tune.LoadDelay = .1 -- Delay before initializing chassis (in seconds)

  11. Tune.AutoStart = false -- Set to false if using manual ignition plugin

  12. Tune.AutoFlip = true -- Set to false if using manual flip plugin

  13. --[[Wheel Alignment]]

  14. --[Don't physically apply alignment to wheels]

  15. --[Values are in degrees]

  16. Tune.FCamber = -2

  17. Tune.RCamber = -2

  18. Tune.FToe = 0

  19. Tune.RToe = 0

  20. --[[Weight and CG]]

  21. Tune.Weight = 3472 -- Total weight (in pounds)

  22. Tune.WeightBSize = { -- Size of weight brick (dimmensions in studs ; larger = more stable)

  23. --[[Width]] 6 ,

  24. --[[Height]] 3 ,

  25. --[[Length]] 14 }

  26. Tune.WeightDist = 50 -- Weight distribution (0 - on rear wheels, 100 - on front wheels, can be <0 or >100)

  27. Tune.CGHeight = 1 -- Center of gravity height (studs relative to median of all wheels)

  28. Tune.WBVisible = false -- Makes the weight brick visible

  29. --Unsprung Weight

  30. Tune.FWheelDensity = .45 -- Front Wheel Density

  31. Tune.RWheelDensity = .45 -- Rear Wheel Density

  32. Tune.FWLgcyDensity = 1 -- Front Wheel Density [PGS OFF]

  33. Tune.RWLgcyDensity = 1 -- Rear Wheel Density [PGS OFF]

  34. Tune.AxleSize = 2 -- Size of structural members (larger = more stable/carry more weight)

  35. Tune.AxleDensity = .1 -- Density of structural members

  36. --[[Susupension]]

  37. Tune.SusEnabled = true -- works only in with PGSPhysicsSolverEnabled, defaults to false when PGS is disabled

  38. --Front Suspension

  39. Tune.FSusDamping = 1500 -- Spring Dampening

  40. Tune.FSusStiffness = 9000 -- Spring Force

  41. Tune.FAntiRoll = 50000 -- Anti-Roll (Gyro Dampening)

  42. Tune.FSusLength = 2.00 -- Suspension length (in studs)

  43. Tune.FPreCompress = .2 -- Pre-compression adds resting length force

  44. Tune.FExtensionLim = .3 -- Max Extension Travel (in studs)

  45. Tune.FCompressLim = 0 -- Max Compression Travel (in studs)

  46. Tune.FSusAngle = 80 -- Suspension Angle (degrees from horizontal)

  47. Tune.FWsBoneLen = 5 -- Wishbone Length

  48. Tune.FWsBoneAngle = 0 -- Wishbone angle (degrees from horizontal)

  49. Tune.FAnchorOffset = { -- Suspension anchor point offset (relative to center of wheel)

  50. --[[Lateral]] -.4 , -- positive = outward

  51. --[[Vertical]] -.5 , -- positive = upward

  52. --[[Forward]] 0 } -- positive = forward

  53. --Rear Suspension

  54. Tune.RSusDamping = 1500 -- Spring Dampening

  55. Tune.RSusStiffness = 9000 -- Spring Force

  56. Tune.FAntiRoll = 50000 -- Anti-Roll (Gyro Dampening)

  57. Tune.RSusLength = 2.00 -- Suspension length (in studs)

  58. Tune.RPreCompress = -0.3 -- Pre-compression adds resting length force

  59. Tune.RExtensionLim = .3 -- Max Extension Travel (in studs)

  60. Tune.RCompressLim = 0 -- Max Compression Travel (in studs)

  61. Tune.RSusAngle = 80 -- Suspension Angle (degrees from horizontal)

  62. Tune.RWsBoneLen = 5 -- Wishbone Length

  63. Tune.RWsBoneAngle = 0 -- Wishbone angle (degrees from horizontal)

  64. Tune.RAnchorOffset = { -- Suspension anchor point offset (relative to center of wheel)

  65. --[[Lateral]] -.4 , -- positive = outward

  66. --[[Vertical]] -.5 , -- positive = upward

  67. --[[Forward]] 0 } -- positive = forward

  68. --Aesthetics

  69. Tune.SusVisible = true -- Spring Visible

  70. Tune.WsBVisible = false -- Wishbone Visible

  71. Tune.SusRadius = .2 -- Suspension Coil Radius

  72. Tune.SusThickness = .1 -- Suspension Coil Thickness

  73. Tune.SusColor = "Bright red" -- Suspension Color [BrickColor]

  74. Tune.SusCoilCount = 6 -- Suspension Coil Count

  75. Tune.WsColor = "Black" -- Wishbone Color [BrickColor]

  76. Tune.WsThickness = .1 -- Wishbone Rod Thickness

  77. --[[Wheel Stabilizer Gyro]]

  78. Tune.FGyroDamp = 400 -- Front Wheel Non-Axial Dampening

  79. Tune.RGyroDamp = 400 -- Rear Wheel Non-Axial Dampening

  80. --[[Steering]]

  81. Tune.SteerInner = 36 -- Inner wheel steering angle (in degrees)

  82. Tune.SteerOuter = 37 -- Outer wheel steering angle (in degrees)

  83. Tune.SteerSpeed = .05 -- Steering increment per tick (in degrees)

  84. Tune.ReturnSpeed = .1 -- Steering increment per tick (in degrees)

  85. Tune.SteerDecay = 320 -- Speed of gradient cutoff (in SPS)

  86. Tune.MinSteer = 10 -- Minimum steering at max steer decay (in percent)

  87. Tune.MSteerExp = 1 -- Mouse steering exponential degree

  88. --Steer Gyro Tuning

  89. Tune.SteerD = 1000 -- Steering Dampening

  90. Tune.SteerMaxTorque = 10000 -- Steering Force

  91. Tune.SteerP = 30000 -- Steering Aggressiveness

  92. --[[Engine]]

  93. --Torque Curve

  94. Tune.Horsepower = 4000 -- [TORQUE CURVE VISUAL]

  95. Tune.IdleRPM = 800 -- https://www.desmos.com/calculator/2uo3hqwdhf

  96. Tune.PeakRPM = 8000 -- Use sliders to manipulate values

  97. Tune.Redline = 8500 -- Copy and paste slider values into the respective tune values

  98. Tune.EqPoint = 6800

  99. Tune.PeakSharpness = 3.8

  100. Tune.CurveMult = 0.07

  101. --Incline Compensation

  102. Tune.InclineComp = .5 -- Torque compensation multiplier for inclines (applies gradient from 0-90 degrees)

  103. --Misc

  104. Tune.RevAccel = 400 -- RPM acceleration when clutch is off

  105. Tune.RevDecay = 75 -- RPM decay when clutch is off

  106. Tune.RevBounce = 470 -- RPM kickback from redline

  107. Tune.IdleThrottle = 3 -- Percent throttle at idle

  108. Tune.ClutchTol = 150 -- Clutch engagement threshold (higher = faster response)

  109. --[[Drivetrain]]

  110. Tune.Config = "AWD" --"FWD" , "RWD" , "AWD"

  111. --Differential Settings

  112. Tune.FDiffSlipThres = 50 -- 1 - 100% (Max threshold of applying full lock determined by deviation from avg speed)

  113. Tune.FDiffLockThres = 50 -- 0 - 100% (0 - Bias toward slower wheel, 100 - Bias toward faster wheel)

  114. Tune.RDiffSlipThres = 50 -- 1 - 100%

  115. Tune.RDiffLockThres = 50 -- 0 - 100%

  116. Tune.CDiffSlipThres = 50 -- 1 - 100% [AWD Only]

  117. Tune.CDiffLockThres = 50 -- 0 - 100% [AWD Only]

  118. --Traction Control Settings

  119. Tune.TCSEnabled = true -- Implements TCS

  120. Tune.TCSThreshold = 20 -- Slip speed allowed before TCS starts working (in SPS)

  121. Tune.TCSGradient = 20 -- Slip speed gradient between 0 to max reduction (in SPS)

  122. Tune.TCSLimit = 10 -- Minimum amount of torque at max reduction (in percent)

  123. --[[Transmission]]

  124. Tune.TransModes = {"Auto"} --[[

  125. [Modes]

  126. "Auto" : Automatic shifting

  127. "Semi" : Clutchless manual shifting, dual clutch transmission

  128. "Manual" : Manual shifting with clutch

  129. >Include within brackets

  130. eg: {"Semi"} or {"Auto", "Manual"}

  131. >First mode is default mode ]]

  132. --Automatic Settings

  133. Tune.AutoShiftMode = "Speed" --[[

  134. [Modes]

  135. "Speed" : Shifts based on wheel speed

  136. "RPM" : Shifts based on RPM ]]

  137. Tune.AutoUpThresh = -200 --Automatic upshift point (relative to peak RPM, positive = Over-rev)

  138. Tune.AutoDownThresh = 1400 --Automatic downshift point (relative to peak RPM, positive = Under-rev)

  139. --Gear Ratios

  140. Tune.FinalDrive = 3.31 -- Gearing determines top speed and wheel torque

  141. Tune.Ratios = { -- Higher ratio = more torque, Lower ratio = higher top speed

  142. --[[Reverse]] 2.8 , -- Copy and paste a ratio to add a gear

  143. --[[Neutral]] 0 , -- Ratios can also be deleted

  144. --[[ 1 ]] 3.98 , -- Reverse, Neutral, and 1st gear are required

  145. --[[ 2 ]] 2.61 ,

  146. --[[ 3 ]] 1.9 ,

  147. --[[ 4 ]] 1.48 ,

  148. --[[ 5 ]] 1.16 ,

  149. --[[ 6 ]] 0.99 ,

  150. --[[ 7 ]] 0.84 ,

  151. --[[ 8 ]] 0.51 ,

  152. --[[ 9 ]] 0.24 ,

  153. --[[ 10 ]]0.08 ,

  154. --[[ 11 ]]0.01 ,

  155. }

  156. Tune.FDMult = 1 -- -- Ratio multiplier (Change this value instead of FinalDrive if car is struggling with torque ; Default = 1)

  157. --[[Brakes]]

  158. Tune.ABSEnabled = true -- Implements ABS

  159. Tune.ABSThreshold = 20 -- Slip speed allowed before ABS starts working (in SPS)

  160. Tune.FBrakeForce = 3000 -- Front brake force

  161. Tune.RBrakeForce = 2500 -- Rear brake force

  162. Tune.PBrakeForce = 100000 -- Handbrake force

  163. Tune.FLgcyBForce = 15000 -- Front brake force [PGS OFF]

  164. Tune.RLgcyBForce = 10000 -- Rear brake force [PGS OFF]

  165. Tune.LgcyPBForce = 25000 -- Handbrake force [PGS OFF]

  166. --[[[Default Controls]]

  167. --Peripheral Deadzones

  168. Tune.Peripherals = {

  169. MSteerWidth = 67 , -- Mouse steering control width (0 - 100% of screen width)

  170. MSteerDZone = 10 , -- Mouse steering deadzone (0 - 100%)

  171. ControlLDZone = 5 , -- Controller steering L-deadzone (0 - 100%)

  172. ControlRDZone = 5 , -- Controller steering R-deadzone (0 - 100%)

  173. }

  174. --Control Mapping

  175. Tune.Controls = {

  176. --Keyboard Controls

  177. --Mode Toggles

  178. ToggleTCS = Enum.KeyCode.T ,

  179. ToggleABS = Enum.KeyCode.Y ,

  180. ToggleTransMode = Enum.KeyCode.M ,

  181. ToggleMouseDrive = Enum.KeyCode.R ,

  182. --Primary Controls

  183. Throttle = Enum.KeyCode.Up ,

  184. Brake = Enum.KeyCode.Down ,

  185. SteerLeft = Enum.KeyCode.Left ,

  186. SteerRight = Enum.KeyCode.Right ,

  187. --Secondary Controls

  188. Throttle2 = Enum.KeyCode.W ,

  189. Brake2 = Enum.KeyCode.S ,

  190. SteerLeft2 = Enum.KeyCode.A ,

  191. SteerRight2 = Enum.KeyCode.D ,

  192. --Manual Transmission

  193. ShiftUp = Enum.KeyCode.E ,

  194. ShiftDown = Enum.KeyCode.Q ,

  195. Clutch = Enum.KeyCode.LeftShift ,

  196. --Handbrake

  197. PBrake = Enum.KeyCode.P ,

  198. --Mouse Controls

  199. MouseThrottle = Enum.UserInputType.MouseButton1 ,

  200. MouseBrake = Enum.UserInputType.MouseButton2 ,

  201. MouseClutch = Enum.KeyCode.W ,

  202. MouseShiftUp = Enum.KeyCode.E ,

  203. MouseShiftDown = Enum.KeyCode.Q ,

  204. MousePBrake = Enum.KeyCode.LeftShift ,

  205. --Controller Mapping

  206. ContlrThrottle = Enum.KeyCode.ButtonR2 ,

  207. ContlrBrake = Enum.KeyCode.ButtonL2 ,

  208. ContlrSteer = Enum.KeyCode.Thumbstick1 ,

  209. ContlrShiftUp = Enum.KeyCode.ButtonY ,

  210. ContlrShiftDown = Enum.KeyCode.ButtonX ,

  211. ContlrClutch = Enum.KeyCode.ButtonR1 ,

  212. ContlrPBrake = Enum.KeyCode.ButtonL1 ,

  213. ContlrToggleTMode = Enum.KeyCode.DPadUp ,

  214. ContlrToggleTCS = Enum.KeyCode.DPadDown ,

  215. ContlrToggleABS = Enum.KeyCode.DPadRight ,

  216. }

  217. --[[Weight Scaling]]

  218. --[Cubic stud : pounds ratio]

  219. --[STANDARDIZED: Don't touch unless needed]

  220. Tune.WeightScaling = 1/50 --Default = 1/50 (1 cubic stud = 50 lbs)

  221. Tune.LegacyScaling = 1/10 --Default = 1/10 (1 cubic stud = 10 lbs) [PGS OFF]

  222. tune = Tune

  223. local newreq = require

  224. local oldreq = function(...)

  225. print({...})

  226. local returnval = newreq(...)

  227. if tostring(...) == 'A-Chassis Tune' then

  228. for i,v in pairs(returnval) do

  229. if tune[i] then

  230. returnval[i] = tune[i]

  231. end

  232. end

  233. end

  234. return returnval

  235. end

  236. getgenv().require = oldreq

  237. getrenv().require = oldreq

greenville speed script 【11gear!】 - Pastebin.com (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Margart Wisoky

Last Updated:

Views: 5821

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Margart Wisoky

Birthday: 1993-05-13

Address: 2113 Abernathy Knoll, New Tamerafurt, CT 66893-2169

Phone: +25815234346805

Job: Central Developer

Hobby: Machining, Pottery, Rafting, Cosplaying, Jogging, Taekwondo, Scouting

Introduction: My name is Margart Wisoky, I am a gorgeous, shiny, successful, beautiful, adventurous, excited, pleasant person who loves writing and wants to share my knowledge and understanding with you.