A-Chassis 6C by Novena - Cruise control help

Before I get blasted about there already being stuff out there for this, I am aware of it. All of it is made for models/versions older than the one I am using, and none of them seem to work.

So far, I have a variable called “CC” and an ImageButton that changes its value when pressed. I have a function inside of the “Drive” script that detects when the value changes. That is as far as I got before realizing that I don’t know how car math works. (lol) Anyway, I am almost sure I need to get something to do with the _GThrot and then do math on it. That’s all I am able to say. Not much else that I know. Basically I just need to know how to create the actual function for the cruise control to work.

Any help is greatly appreciated.

1 Like

Hi
Looking at the chassis script, it is enough for you to change the value of _Gthrotl in such a way as to check if you are driving at the right speed. too slow the value increases, too fast the value decreases. the chassis should automatically shift gears.

You can do the whole thing in the drive script or add a new script to the plugins which, as you said, changes the value to which the drive responds.

I’ve never used this plugin, so if there are any errors in the console, you can send them.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.