Login
Sign Up


You are using the mobile version of the forum, some features have been disabled to have it responsive.
Limelight Reunion 2024 - v4b1Limelight Discord
Ares Defence Services Discord
Limelight Reunion 2024 - v4b1Limelight DiscordAres Defence Services Discord

receiptDevelopment Blog:

Development Contributor Workflow

receiptHR Blog:

What *are* they doing over there?

receiptTeacher Blog:

Insight into the Teacher Team

receiptDevelopment Blog:

Infrastructure Upgrade 11/2019

receiptDevelopment Blog:

how suggestions???

receiptDevelopment Blog:

Planning for the future.


This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

CruiseControlPlus: Take control of your speed
Kvatch radio_button_checked
Member
Membership
Posts: 782
Threads: 87
Likes Given: 791
Likes Recieved: 517 in 267 posts
Joined: Aug 2015
Reputation: 8
#1
May 2, 2018, 10:12 PM

Do you constantly find yourself using the /cruise command to make sure you don't break the law with your 105 MPH family car?
Have you ever wanted to actually drive at the speed limit as a Police Officer like most officers should do?

If you've found yourself in these situations, or similar, then I've written a CFG file that might be of some use to you. Read on to discover the great features that this CFG can bring to your keyboard when playing Limelight...

CruiseControlPlus: Take control of your speed



Features and advantages:
* Easily turn on and turn off the config with the press of 2 different keys
* Lowering your cruise speed will automatically reduce your current speed when you select a lower cruise setting. If your cruise speed is set to 100 and you're driving at 100 MPH, then you quickly switch the cruise speed back down to 30, it'll reduce your speed quickly to 30!
* Easily change your cruise speed with the use of your left and right arrow keys whilst you're driving. This was done on the right side of the keyboard to allow your mouse hand to move over to the arrow keys, so you can keep driving as you modify your cruise speed
* Change your cruise speed from 10 MPH all the way up to 100 MPH - if you need more than 100 MPH cruise speed, you might as well just turn it off so this wasn't developed further than 100 MPH
* /it chat notifications to let you know what's happening! (prefixed with "OOC:")

There are probably many more uses for this config, and those uses are up to you to discover as you use it! With the use of this config, you'll find yourself in less conflicts with the Police for speeding, and you'll be able to actually RP properly as an officer and use it to drive at the correct speed limit easily, without the hassle of typing out new speeds for every zone.



Default Controls
Keep in mind that these controls can be changed very easily within the config. If you have any questions on how to do this, just post a comment below and I'll try and answer it as quick as possible. If I don't answer it, I'm sure somebody else will.

Cruise control on - Delete key (above your arrow keys)
Cruise control off - End key (above your arrow keys)
+10 MPH - Right arrow key
-10 MPH - Left arrow key
Return to 30 MPH - Cruise control on key




Installation

1. Copy the text in the code box below
2. Open C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\cfg
3. Create an empty text file called "cruisecontrol.cfg"
4. Paste the text in the code box below into the newly created CFG file
5. Open your Gmod and open the console, typing "exec cruisecontrol" into it to load the config

If you need any help with this, make a comment.

Code:
// Intro section below, no need to edit this part

echo
echo
echo "---------------------------------------"
echo "          CruiseControl+ Loaded "
echo "            Written by Kvatch
echo "---------------------------------------"
echo
echo " *** To activate cruise control, press your Delete key above your arrow keys"
echo " *** To deactivate cruise control, press your End key above your arrows keys"
echo " *** You can also use Delete to quickly switch back to 30 MPH cruise speed!"
echo
echo " *** If you have any suggestions for this CFG, PM 'Kvatch' on the forums"
echo " *** but please keep in mind that this runs off of binds! Not everything is possible with binds!"
echo
echo " *** Enjoy!"
echo
echo
echo
echo "---------------------------------------"


// The section below defines the different cruise speeds to select. You can edit these as you wish.
// Do not edit the "bind leftarrow cruise1; bind rightarrow cruise3" parts of the lines as these are what
// is needed to move between the different cruise speeds. Edit only if you know what you're doing


alias cruise1 "llsay /cruise 10; bind rightarrow cruise2"
alias cruise2 "llsay /cruise 20; bind leftarrow cruise1; bind rightarrow cruise3"
alias cruise3 "llsay /cruise 30; bind leftarrow cruise2; bind rightarrow cruise4"
alias cruise4 "llsay /cruise 40; bind leftarrow cruise3; bind rightarrow cruise5"
alias cruise5 "llsay /cruise 50; bind leftarrow cruise4; bind rightarrow cruise6"
alias cruise6 "llsay /cruise 60; bind leftarrow cruise5; bind rightarrow cruise7"
alias cruise7 "llsay /cruise 70; bind leftarrow cruise6; bind rightarrow cruise8"
alias cruise8 "llsay /cruise 80; bind leftarrow cruise7; bind rightarrow cruise9"
alias cruise9 "llsay /cruise 90; bind leftarrow cruise8; bind rightarrow cruise10"
alias cruise10 "llsay /cruise 100; bind leftarrow cruise9; bind rightarrow cruise11"
alias cruiseoff "llsay /cruise 500"

// Section below allows you to activate/deactive your cruise control. Turning it on returns it to 30 MPH by default.
// To edit this, change "cruise3" to one of the other cruise settings defined above.

bind del "cruise3; llsay /it [OOC] CCPlus: Cruise control on, set to 30 MPH"
bind end "cruiseoff; llsay /it [OOC] CCPlus: Cruise control off; unbind leftarrow; unbind rightarrow"
I hope you guys find this as useful as I do! It'd be cool to see this as an actual script within the server one day. Enjoy!

Forum Rep  |  Steam Profile
(This post was last modified: May 3, 2018, 12:34 AM by Kvatch. Edited 1 time in total.)
The following 4 users Like Kvatch's post:
  • Cochise, Haamster, Night, Ninja
Cochise radio_button_checked
Has the fastest virgin media connection on LL
Membership
Posts: 513
Threads: 47
Likes Given: 400
Likes Recieved: 330 in 200 posts
Joined: Mar 2016
Reputation: 9
#2
May 3, 2018, 12:49 AM
Very useful guide which im sure many users will use in present and future!
[Image: 9500717885.png]
The following 1 user Likes Cochise's post:
  • Kvatch
Dick radio_button_checked
Supervising Administrator
Supervising Administrator (ADS)
Posts: 4,630
Threads: 461
Likes Given: 1822
Likes Recieved: 1907 in 1237 posts
Joined: Aug 2015
Reputation: 25
#3
May 3, 2018, 02:13 AM
Code:
alias cruise10 "llsay /cruise 100; bind leftarrow cruise9; bind rightarrow cruise11"

Where is cruise11?
[Image: EnzxzUF.png]
Haamster radio_button_checked
Member
Membership
Posts: 281
Threads: 31
Likes Given: 299
Likes Recieved: 258 in 109 posts
Joined: Nov 2016
Reputation: 3
#4
May 3, 2018, 11:45 AM
[Image: J37Ie7n.jpg]


Also great for those who want to know how to do alias binds for switching.
The following 1 user Likes Haamster's post:
  • Kvatch
Kvatch radio_button_checked
Member
Membership
Posts: 782
Threads: 87
Likes Given: 791
Likes Recieved: 517 in 267 posts
Joined: Aug 2015
Reputation: 8
#5
May 3, 2018, 11:50 AM
(May 3, 2018, 02:13 AM)Sours Wrote:
Code:
alias cruise10 "llsay /cruise 100; bind leftarrow cruise9; bind rightarrow cruise11"

Where is cruise11?

It's just there for anyone who wants to add to it further. It also stopped the cruise message from popping up every time you hit right arrow after reaching 100MPH.

Forum Rep  |  Steam Profile




Users browsing this thread: 1 Guest(s)