SA-MP Forums Archive
[FilterScript] [FS] Cruise Control by mick88 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Cruise Control by mick88 (/showthread.php?tid=131591)

Pages: 1 2


[FS] Cruise Control by mick88 - mick88 - 04.03.2010

Hi, I decided to release this as a FS. It's a feature working on my server Convoy Trucking where you can try it (188.165.199.40:7500). Filterscript doesn't include Text Draws and works in all vehicles, also bicycles unlike in my server where it's coded into GM and I could add more exceptions, but you can modify the FS if you need.

Now, we all know how impossible it it to keep constant speed within legal limits in computer games when we use keyboard to play. Holding the arrow key will keep accelerating your car to its limits, but what if you want to keep speed of 50 kph? Tapping is not a god solution.
With this script you can cruise at constant speed in any direction.

How to use it?
<install FS, blah, blah, blah> I can't attach any pics or video because it's hard to show how cruise coontrol works on pics/vid but you can check it out on my server (address above).

You may use this filterscript on your server if you keep my credits where they are. You can change the script if you need. Cruise Control key can be easily changed in one variable (LCTRL may interfere with nitro boost key). Remove engage/disengage notifications if you want to, they're only there for you to get a feel of how it works.

Quote:
Originally Posted by Lookin
Посмотреть сообщение
here's the mirror
Video of Cruise Control in use at different speeds:



Re: [FS] Cruise Control by mick88 - Lorenc_ - 04.03.2010

Nice.


Re: [FS] Cruise Control by mick88 - Lejo - 04.03.2010

Very nice release. I tested it on your server. Keep up the good work, bro.


Re: [FS] Cruise Control by mick88 - V1ceC1ty - 04.03.2010

I always hate tapping W when i want to drive slower, great FS.


Re: [FS] Cruise Control by mick88 *** UPDATE - Scenario - 05.03.2010

Damn. This will definitely come in handy if I want to, well, cruise. Thanks!


Re: [FS] Cruise Control by mick88 *** UPDATE - [EnergY] - 05.03.2010

Very good thing. Thank you. But I did not understand the code. Could you do something like this: Clicked LCTRL and Cruise Control enabled.Another click -CC will turns off.


Re: [FS] Cruise Control by mick88 *** UPDATE - mick88 - 05.03.2010

Quote:
Originally Posted by Wassup789
Got an update for you,
you should have a command like /cruiseon /cruiseoff .
~Wassup789
Thanks, it's easy to edit if you want to use it. I just wanted to make it simple to use for players and I spend most of my time working on my GM so I won't be changing the cruise control for now.
Quote:

Could you do something like this: Clicked LCTRL and Cruise Control enabled.Another click -CC will turns off.

I considered this too, but again, I just wanted to make it simpler for players to use, maybe i'll make a switch between full-auto mode and manual but later. You can edit that in script too, just remove checking for pressed key in the timer and make an off switch if button is pressed and cruise control is on.
If you get problems with cruise control when steering A/D, use the arrow keys.


Re: [FS] Cruise Control by mick88 - mick88 - 19.03.2010

Video added


Re: [FS] Cruise Control by mick88 - Stas92 - 19.03.2010

It's nice, but there are some bugs, wich can't be fixxed?
For example when you with the car you can fly


Re: [FS] Cruise Control by mick88 - SkyWinder - 28.03.2010

Nice


Re: [FS] Cruise Control by mick88 - mick88 - 28.03.2010

Quote:
Originally Posted by gummi1337
how do i get that speed meter in the video? send link
I made it myself, but your can find speedometer FS easily, just search it.


Re: [FS] Cruise Control by mick88 - gummi1337 - 28.03.2010

mick88, can you pls unban me on the forum


Re: [FS] Cruise Control by mick88 - j500 - 15.04.2010

great script man great for cops n robbers or RP servers
this may help a few, if you dont want to hold down the ctrl key
and disable it by hitting driving break
(got permission first to post)


Re: [FS] Cruise Control by mick88 - ineoncore - 15.04.2010

GRATE!
FOR RP SERVERS
GOOD JOB MAN


Re: [FS] Cruise Control by mick88 - Hip-hop - 15.04.2010

nice work


Re: [FS] Cruise Control by mick88 - DJDhan - 15.04.2010

Awesome work there mick88!
This can especially be usefull for recording NPCs' !

Keep the good work going !


Re: [FS] Cruise Control by mick88 - Danny - 08.07.2010

where is the download link? Maybe im just a fool but i dont see it


Re: [FS] Cruise Control by mick88 - Zimon95 - 08.07.2010

Quote:
Originally Posted by -Danny-
Посмотреть сообщение
where is the download link? Maybe im just a fool but i dont see it
Me too, I don't see the download link.


Re: [FS] Cruise Control by mick88 - mick88 - 11.07.2010

New download link to the PWN file, as files weren't transferred with forum changeover:

http://www.convoytrucking.net/downlo...iseControl.pwn

Note that this code is a bit old already, I scripted it when I was a beginner with pawn, currently my server prevents 'flying cars' thanks to MapAndreas plugin. You may need to optimize it, but it works as it is too


Re: [FS] Cruise Control by mick88 - HACKHERS - 11.07.2010

when u release it?