AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSS-TF2] Auto Sprint Source [v2.1b] (https://forums.alliedmods.net/showthread.php?t=209935)

St00ne 03-04-2013 01:04

[CSS-TF2] Auto Sprint Source [v2.1b]
 
2 Attachment(s)
Hi,

'Finally', we can have a sprint plugin which doesn't require players to bind any key.
You can sprint by simply pressing your use key (default: E).
I still let the possibility to bind a key with the !sprint command.

Installation:
Simply drop auto_sprint_source.smx in your addons/sourcemod/plugins folder
+drop auto_sprint_source.phrases.txt in your addons/sourcemod/translations folder.
TF2 version

Cvars:
sm_ass_enabled (def: 1) - Enable/Disable cvar
sm_ass_time (def: 3) - sprint time in seconds
sm_ass_cooldown (def: 10) - cool down time in seconds
sm_ass_speed (def: 1.33) - sprint speed ratio
sm_ass_team (def: 0) - team restriction: 0 = all / 2 = T's only / 3 = CT's only
sm_ass_adverts (def: 1) - Enable/Disable sprint and cooldown messages
sm_ass_welcome (def: 1) - Enable/Disable welcome info

Changelog:
v2.1 (Mar15)
. fixed: sprint & cooldown running on player death, or when players goes to spec / disconnects
. TF2 version also updated
v1.2.2 (Apr. 14):
. cvar flags adjusted/renamed
. 2 cvars added: sm_ass_adverts & sm_ass_welcome

https://files.gamebanana.com/img/ss/maps/127976.jpg
(Unclaimed screenshot)

Credits:
Thanks to Shaman and Bacardi. :bacon!:
Some guy (whom I will not say the name) managed to do such plugin for Sourcemod too, but didn't want to make it public and share his code. :roll:
So I had to try since I needed one for a soccer server.
Also thanks to Yak for his scripting FAQ :up:
Servers using this plugin:
http://www.gametracker.com/search/?s...l&sort=&order=
http://www.gametracker.com/search/?s...l&sort=&order=
http://www.game-monitor.com/search.p...t_src_version=

St00ne

Bacardi 03-04-2013 02:43

Re: Auto Sprint Source
 
HahaHahaha

St00ne 03-04-2013 02:48

Re: Auto Sprint Source
 
I knew you would love it, it is intentional dude.:mrgreen:

It's because you added this long comment in your version.

:wink:

eyes of hunter 03-18-2013 11:07

Re: Auto Sprint Source
 
Any chance of adding some kind of tiredness effect after you sprint?

Anyway, great stuff.

St00ne 03-18-2013 15:45

Re: Auto Sprint Source
 
Quote:

Originally Posted by eyes of hunter (Post 1915013)
Any chance of adding some kind of tiredness effect after you sprint?

Anyway, great stuff.

Hi,

You mean you would like to force players who just used the sprint to run slower than normal?

Well, they already have a 'cool down' time during which they can't use sprint, which is nearly the same.

Anyway it should be possible but I don't plan to do it (sorry) since I'm working on another project.

But anyone is free to edit this plugin.

Regards,

St00ne

eyes of hunter 03-20-2013 04:02

Re: Auto Sprint Source
 
Yeah, right now when you sprint you revert to regular running speed, but I think it would be a more realistic effect if afterwards you could only walk, run slower or whatever that reflects that you are tired.

Still a pretty cool plugin, thank you.

alencore 03-20-2013 08:20

Re: Auto Sprint Source
 
yeah I love this plugin too and it's the only sprint plugin that works now.

alencore 04-01-2013 01:15

Re: Auto Sprint Source
 
how to disable all the pop up messages it creates when using this?
i tried editing them out via the script file but crashes my game during map change.

ok nevermind figured it out by simply putting // before printochat. tnx to myself hehe.

St00ne 04-02-2013 02:42

Re: Auto Sprint Source
 
Quote:

Originally Posted by alencore (Post 1924257)
how to disable all the pop up messages it creates when using this?
i tried editing them out via the script file but crashes my game during map change.

ok nevermind figured it out by simply putting // before printochat. tnx to myself hehe.

Yep, this is how one must do to remove ads.

I might post a new version with an option to enable/disable chat messages.

++

Flockee 05-17-2013 01:39

Re: Auto Sprint Source
 
I get a 'Connection Problem' on top right of the screen when i press E. The script is loaded and in the chat it shows the phrases, but when i press the E button, i get a Connection Problem.

What might be the problem ? :(


All times are GMT -4. The time now is 08:07.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.