Raised This Month: $51 Target: $400
 12% 

ShortSprint


Post New Thread Reply   
 
Thread Tools Display Modes
Author
walmar
New Member
Join Date: May 2013
Location: Dresden, Germany
Plugin ID:
3666
Plugin Version:
1.20
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Players can sprint for a short time
    Old 05-28-2013 , 15:09   ShortSprint
    Reply With Quote #1

    Feature list
    • Players are able to sprint for a short time by pressing the +use button or sending the sprint command.
    • The plugin announce itself to players in chat once after connect or every round-start.
    • Typing the shortsprint command in chat displays the ShortSprint menu with settings and help for players.
    • Every player can enable/disable individually the sprint chat messages, the sprint sound and the cool down time progress bar. The settings will be stored in sourcemod/data/sqlite/clientprefs-sqlite.sq3 on the server.
    • Multilanguage support: English, German and Russian phrase-files are already included.
    Installation instructions
    • Download the attached shortsprint.zip file. It contains the plugin and the translation files mentioned above, except the Russian.
    • Extract the contents to the correct folders of SourceMod.
    Configuration ConVars
    • sm_shortsprint_enable (default 1)
      • Enable/Disable ShortSprint
    • sm_shortsprint_button (default 1)
      • Enable/Disable +use button support
    • sm_shortsprint_announcement_type (default 1)
      • How often the plugin may announce itself to players: Every round-start (0), Once after connect (1)
    • sm_shortsprint_speed (default 1.25)
      • Ratio for how fast the player will sprint
    • sm_shortsprint_time (default 3)
      • Time in seconds the player will sprint
    • sm_shortsprint_cooldown (default 10)
      • Time in seconds the player must wait for the next sprint
    • sm_shortsprint_chat_trigger (default "!")
      • Set this to one of the ChatTrigger strings configured in SourceMod's core.cfg
    • sm_shortsprint_version
      • Version tracking (don't modify this)
    Changelog
    • 1.20 ( 2013-05-28 )
      • Initial release
    Thanks to
    • Shaman, who released a sprint plugin for SourceMod in 2007 called Sprint: Source.
    • blade81, who used a unreleased plugin with progress bar and sprint sound on the Gamerz Paradise CS:S soccer servers in 2009.
    • SWAT_88, who released the SM Parachute plugin with added +use button support in 2008.
    • Forlix, who helped me a lot with scripting.
    • Blueberry, who contributed the Russian translation.

    The development of this SourceMod plugin already began in 2009. It was improved over the years while being in use on just a few CS:S Public Soccer Servers.

    The source code inclusive Russian translation file is available in my GitHub repositories.
    Attached Files
    File Type: zip shortsprint.zip (11.5 KB, 583 views)

    Last edited by walmar; 07-26-2020 at 13:51. Reason: Mention new Russian translation file and update URLs and acknowledgements
    walmar is offline
    samsah
    AlliedModders Donor
    Join Date: Mar 2008
    Location: Finland
    Old 05-30-2013 , 02:55   Re: ShortSprint
    Reply With Quote #2

    Works nice!

    I think this would be cool on Zombie Riot to escape tough situations , but it glitched zombies speed to normal.
    Can you add cvar so it won't affect another team? Or is it more complicated than that?
    __________________
    samsah is offline
    walmar
    New Member
    Join Date: May 2013
    Location: Dresden, Germany
    Old 05-30-2013 , 12:39   Re: ShortSprint
    Reply With Quote #3

    Quote:
    Originally Posted by samsah View Post
    I think this would be cool on Zombie Riot to escape tough situations , but it glitched zombies speed to normal.
    That is correct, the plugin resets the movement speed to the default value of the game after sprint. I will probably look into the source code of this zombie plugin to see what it causes, then it could be handled in a future version.
    Quote:
    Can you add cvar so it won't affect another team? Or is it more complicated than that?
    It would cause a little more work than just adding a new cvar to allow the sprint command only for a specific team. Perhaps it will be provided in a future version.

    Last edited by walmar; 05-30-2013 at 14:41.
    walmar is offline
    samsah
    AlliedModders Donor
    Join Date: Mar 2008
    Location: Finland
    Old 05-31-2013 , 01:12   Re: ShortSprint
    Reply With Quote #4

    Ok, thanks!
    __________________
    samsah is offline
    alencore
    Senior Member
    Join Date: Oct 2011
    Old 01-04-2014 , 09:04   Re: ShortSprint
    Reply With Quote #5

    Very nice! Works perfect on CSGO. Tnx!
    __________________
    alencore is offline
    secondtimesold
    Senior Member
    Join Date: Feb 2015
    Old 05-07-2015 , 12:45   Re: ShortSprint
    Reply With Quote #6

    I would like to edit the sound file that plays when sprinting but when I try to compile the plugin (even without altering anything) I get 1 error

    Can someone help me get this compiled?

    I want to replace this sound path "player/suit_sprint.wav"

    using this one : "ambient/animal/horse_1.wav"
    __________________
    secondtimesold is offline
    sejin513
    AlliedModders Donor
    Join Date: Dec 2008
    Location: ._.
    Old 05-07-2015 , 13:56   Re: ShortSprint
    Reply With Quote #7

    @secondtimesold, post a error message ._.
    sejin513 is offline
    secondtimesold
    Senior Member
    Join Date: Feb 2015
    Old 05-07-2015 , 18:47   Re: ShortSprint
    Reply With Quote #8

    Quote:
    /groups/sourcemod/upload_tmp/textFvMmg0.sp(60) : fatal error 182: cannot read from file: "shortsprint/convars.sp"

    Compilation aborted.
    1 Error.
    the github page that has the source files has the files the error is pointing to..
    __________________
    secondtimesold is offline
    sejin513
    AlliedModders Donor
    Join Date: Dec 2008
    Location: ._.
    Old 05-07-2015 , 20:46   Re: ShortSprint
    Reply With Quote #9

    You need to compile yourself with specific include files like that
    download include files in https://github.com/walmar/ShortSprin...ng/shortsprint

    and trying to compile it again ._.
    sejin513 is offline
    secondtimesold
    Senior Member
    Join Date: Feb 2015
    Old 05-07-2015 , 22:38   Re: ShortSprint
    Reply With Quote #10

    thanks for you help. I got it working. i guess webcompiler wasnt enough


    Quote:
    It requires a third-party dependency, specifically the Socket extension.

    In this case, you'll need to:
    Download SourceMod for your OS (Windows?)
    Put the plugin you want to compile in addons/sourcemod/scripting/ folder.
    Drag the sp file to spcomp.exe
    __________________

    Last edited by secondtimesold; 05-07-2015 at 22:51.
    secondtimesold is offline
    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 10:35.


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