SamuZai
zgshnk
zgshnk

patreon


Cruise Control

This is a LUA script with CruiseControl implementation for AssettoCorsa's car mods.

Two modes: Cruise and SpeedLimiter.

UPDATE: v1.3 20240505

UPDATE: v1.2 20240502

Driving:

1. Shift to 1st gear ( Cruise Control can't work on N or R gear)

2. Press Cruise Control On / Off button OR you can enable it by using Increase speed button.

Cruise Control automatically turned off on braking.

Press Change mode to switch to Limiter.

You can override Limiter with full throttle.

Stays Enabled after pressing brake pedal.

When to use:

Usage:

0. Backup your car folder, so you don't worry if you mess up with things.

1. You need to unpack car data of your Car (using Content Manager, please google the details)

2. Copy Cruise Control script files from archive into your car mod data folder.

3. Setup key bindings.

4. rename `data.acd` to `data.back` (to back up and disable it)

Setup:

You need to set 4 key bindings in Controls settings.

Find screen in ContentManager - Settings - AssettoCorsa - Controls - Patch

You need to find and set Extra option G, H, I and J as Cruise Control input buttons.

"Extra option G" - On / Off Cruise Control

"Extra option H"  - Increase speed by 10km/h

"Extra option I" - Reduce speed by 10 km/h

"Extra option J" - Change mode Cruise/Speed Limiter

 

Alternative setup:

Also you can use only 2 buttons "Increase" and "Reduce" speed:

"Extra option H"  - Increase speed by 10km/h + Enable

"Extra option I" - Reduce speed by 10 km/h

Now you can enable Cruise with "Increase" , and disable with brake pedal.

Script is outdated and removed.

Going to be updated later.

Cruise Control Cruise Control

Comments

If the mod already has own ext_config.ini or LUA scripts, then it might be harder to setup all together. If i'll find a convenient solution, I'll update instructions.

zgshnk

it works but not for all cars for some reason. even though i did the same procedure, same steps. perhaps it's in the ext_config issue?

savero ihza

Please try to rename/remove `data.acd`file in the car's folder

zgshnk

Hello, This script looks great in theory. In practice, I tried to install it on the Ferrari 458 Italia. And nothing happens. Yet all the files have been put in data and I added "extension" in "car". I configured the keys but it only works with your Golf.

Corentin Duvergé

This is solvable, I'll get back to you with the solution a bit later.

zgshnk

Hello, when I copy the mod files to my car folder, the extension file "ext_config" is already in my car folder with the same name and all the car configurations. But when I want to paste the mod file, it says it will overwrite the existing one (the one in my car folder already), which worries me... So, how can I do this without messing things up? Should I copy the mod file codes to my car folder "ext_config" file somewhere? Or should I do something else? Edit: The same happens when I try to copy the script.lua mod file into my car folder (:

E.A.R.O

Please check script.lua with assembly code is in place. Also take a look on content in extended folder. There you can find ExtraKey Modes settings.

zgshnk

Hello, I only have extra options from A to F, I cannot find extra options further than that, does this require a specific CSP version? Edit: Nevermind the most recent version of CSP added those options Another Edit: I might be doing something wrong, when I add the files to my unpacked data, and then repack them again, the script never shows in Lua Debug, in your VW mod, the mod shows up, but nothing happens when I press the configured keybinds, and it just says CruiseControl: Off Any ideas?

Hugo Melo

Man that would be awesome! And thank you for your clarification!

C.

+ and - it's my internal naming and it has nothing to do with already assigned keys. Please check again Setup section, I'll update the description. Thanks for feedback! please fell free to get back if you face another issue.

zgshnk

This is a mod that I have been looking for for so long! I really wanna try it But the + - keys are automatically assigned for adjusting FFB strength by default. Can you set it to use different keys?

C.


More Creators