Loading...

Smooth Traditional Cruise Control [.Lua] v6

2,537

Soft & Buttery Smooth (Traditional) Cruise Control by JayMontana36

Ever wish that you could better control or limit your vehicle's speed and cruise at any speed that you desire(*1)? Ever wish that this could/would be done in a somewhat pretty realistic (and buttery smooth) way/manner rather than instantaneous and abrupt? Ever wish that outside sources or forces (aka gravity and/or some random AI deciding that they would like to ram you in the back) could still cause your vehicle to go beyond the speed/cruise limit? Well hey, here you go lol.

*1: Your vehicle must be capable of traveling at or maintaining the speed that you desire in the scenarios (environments, etc.) that you are operating it within.

How it works - by default, the toggle button is bound to your "INPUT_VEH_DUCK" button, aka control index 73, the button that you use to duck in/on a vehicle; on controller with the swap handbrake option enabled in your game settings, that button would be X for PlayStation or A for Xbox, on controller with default game settings that button would be R1 for PlayStation or RB for Xbox, on keyboard that button would be X.

This script requires ScriptHookV and JM36 Lua Plugin.

Put "VehicleCruiseControl.lua" into your JM36 Lua Plugin "ScriptsDir-Lua/Modules" directory.
Put "VehicleCruiseControl.ini" into your JM36 Lua Plugin "ScriptsDir-Lua" directory (and edit it) if you want to change the keybind to something other than duck.

Changelog:
- v6 - Fixed apparent cruise control toggle issues/bugs for keyboard players.
- v5 - Implemented forward vehicle speed detection (now responds to vehicles ahead).
- v2 - Improved support on controller with the swap handbrake option enabled in game settings - firing weapons from vehicles on controller no longer toggles cruise in this mode.
Show Full Description

First Uploaded: May 21, 2022
Last Updated: September 01, 2022
Last Downloaded: 5 days ago

All Versions

 v6 (current)

1,604 downloads , 2 KB
September 01, 2022

5 Comments