Raised This Month: $32 Target: $400
 8% 

Sprint v1.4


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Plugin ID:
240
Plugin Version:
1.4
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Gives all players the ability to sprint around the map with a simple touch of a key
    Old 12-28-2007 , 22:26   Sprint v1.4
    Reply With Quote #1

    Sprint
    Version 1.4

    Requirements:
    • Sourcemod rev 1854+

    Description:


    This plugin will allow any player to sprint around the map any time they want. It is very convienient to use too. All you do is bind a key to "sprint" and tap it while running forward to boost your speed temporarily until you begin getting tired. To stop simply hit your "sprint" key again, or release your "forward" key. What sets this sprinting plugin apart from any others you might have seen is the acceleration/deceleration feature which gradually raises/lowers your speed instead of an abrupt change in speed. It includes an internal stamina system to keep track of how much time you need to rest. In the config you can modify just about any aspect of the plugin, you can change the speed of the sprint, the accel/decel factors, or how fast you gain or lose stamina. You can also configure it to inform the player of the mod every x rounds, or disable it completely.


    Todo:


    • Add option to take stamina for jumping, and make player jump lower if no stamina
    • Bob crosshairs to reduce accuracy
    • Add option to disable shooting entirely while sprinting
    Installation:
    • Download the .sp file (which should compile into a .smx file) and extract to sourcemod/plugins
    • Install sprint.phrases.txt in sourcemod/translations/ (download right under .zip file link)
    • Navigate to <yourgamedir>/cfg/sourcemod/plugin.sprint.cfg and configure the sprinting options (You may need to start your server one time with the plugin installed for it to be auto-generated, then you can edit)
    • Your done!
    Changelog:

    December 28th 2007
    • Released
    December 29th 2007
    • Added new cvar to control how fast stamina is regained while idle as opposed to moving
    • Fixed a couple bugs where stamina wasn't being replenished
    January 13th
    • Should have fixed (or at least helped) the freeze bug
    • Replaced deprecated functions
    January 16th
    • Removed cheat flag on inifinite sprint cvar for HL2DM
    January 19th
    • Fixed cheat flag removal for HL2DM (thanks berni)
    • Fixed errors in console
    • Last attempt to make it work with other speed changing plugins
    July 26th
    • Re-formatted config file, and renamed it, no need to update nothing really changed besides a cleaner config file. If you update the config file you must update the plugin
    Attached Files
    File Type: txt sprint.phrases.txt (197 Bytes, 1925 views)
    File Type: zip sprint.zip (8.1 KB, 2275 views)

    Last edited by Greyscale; 07-26-2008 at 21:32.
    Greyscale is offline
    Greyscale
    SourceMod Plugin Approver
    Join Date: Dec 2007
    Location: strYoMommasHouse[you];
    Old 12-30-2007 , 15:55   Re: Sprint v1.1
    Reply With Quote #2

    Has anyone tried this?
    Greyscale is offline
    Greyscale
    SourceMod Plugin Approver
    Join Date: Dec 2007
    Location: strYoMommasHouse[you];
    Old 12-31-2007 , 15:18   Re: Sprint v1.1
    Reply With Quote #3

    Ech, sorry, I forgot to upload the translations file so it might not have loaded right. Read the new installation instructions.
    Greyscale is offline
    murpher
    Member
    Join Date: Jul 2006
    Location: California
    Old 12-31-2007 , 19:19   Re: Sprint v1.1
    Reply With Quote #4

    Just tried this plugin on my server, wow this is really easy to use and i havnt found any bugs at all, this is really cool, better than any other sprint mod i have tried and everyon on the server likes it! good job
    murpher is offline
    Rebell
    Veteran Member
    Join Date: Nov 2004
    Location: GERMANY
    Old 01-01-2008 , 08:38   Re: Sprint v1.1
    Reply With Quote #5

    Make a video ^^

    cya
    __________________
    Rebell is offline
    Greyscale
    SourceMod Plugin Approver
    Join Date: Dec 2007
    Location: strYoMommasHouse[you];
    Old 01-01-2008 , 15:31   Re: Sprint v1.1
    Reply With Quote #6

    It might be too subtle to make a video.. The speed difference is only about 0.4-0.5 and it would be a boring video... heh. Just imagine hitting a key and speeding up for 6-7 seconds then slowing down until you gain enough stamina back
    Greyscale is offline
    pRED*
    Join Date: Dec 2006
    Old 01-02-2008 , 01:39   Re: Sprint v1.1
    Reply With Quote #7

    Nicely done.

    Just a note: Did you know that if you register the console commands '+sprint' and '-sprint', users can bind a key to '+sprint' and -sprint automatically gets fired when they release the key. Useful if you want it to only sprint while they are holding the button (like walk).

    You probably should also directly upload the sp file so it gets compiled against the latest compiler and include files when you click 'get plugin'. (This isn't a requirement, just a good idea generally unless you use custom includes)
    pRED* is offline
    CrimsonGT
    Veteran Member
    Join Date: Oct 2007
    Location: Gainesville, FL
    Old 01-02-2008 , 02:07   Re: Sprint v1.1
    Reply With Quote #8

    Doesn't work on TF2 unfortunately, I just tried it out =/
    CrimsonGT is offline
    Greyscale
    SourceMod Plugin Approver
    Join Date: Dec 2007
    Location: strYoMommasHouse[you];
    Old 01-02-2008 , 13:53   Re: Sprint v1.1
    Reply With Quote #9

    pRED, yeah I knew about +/- commands but it seems easier just being able to tap a button to sprint, then to stop all you have to do is stop moving forward, jump, or shoot and it stops sprinting for you.

    Is there another way of setting a player's speed in TF2? I can modify it to work if I find a way.

    EDIT: Now compiles on download

    Last edited by Greyscale; 01-02-2008 at 15:49.
    Greyscale is offline
    Digital
    Member
    Join Date: Dec 2007
    Location: Columbus, GA
    Old 01-11-2008 , 16:14   Re: Sprint v1.1
    Reply With Quote #10

    Another one of your plugins I tried with ZombieMod.

    Works as advertised, but I notice while I have the plugin loaded when players are Zombified some get randomly stuck in place, even if they !ztele back to spawn, they are still stuck. I unloaded the Sprint plugin and the problem went away.

    P.S.Can't wait for you to release the new version of Zombie Reloaded. I used it for a few days and found it much better than ZombieMod, but there were a few problems that forced me to switch back to ZombieMod. I see you are fixing those problems.
    __________________

    Digital is offline
    Send a message via AIM to Digital Send a message via MSN to Digital Send a message via Yahoo to Digital Send a message via Skype™ to Digital
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 19:48.


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