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

[L4D & L4D2] Sprint


Post New Thread Reply   
 
Thread Tools Display Modes
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
1923
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Sprint
    Old 08-31-2010 , 10:57   [L4D & L4D2] Sprint
    Reply With Quote #1

    1. Press forward key twice quickly, you get into sprint mode.
    2. When lack of stamina, you speed will slow down.

    "l4d_sprint_enable", "1", "0:disable, 1:enable "

    "l4d_sprint_energe_max", "150.0", "max amount stamina, [100.0, -]"

    "l4d_sprint_energe_slowdown", "50.0", "speed slow down when stamina below this, [0.0, l4d_sprint_energe_max)"
    "l4d_sprint_speed_slowdown_min", "0.4", "min speed when slow down ,[0.3, l4d_sprint_speed_slowdown_max)"
    "l4d_sprint_speed_slowdown_max", "0.8", "max speed when slow down ,[0.6, 0.9]"

    "l4d_sprint_speed_sprint", "1.4", "sprint speed ,[1.1, 2.0]"


    "l4d_sprint_consume_sprint", "3.0", "
    stamina sonsume per second for sprint [2.0, 10.0]"
    "l4d_sprint_consume_run", "1.0", "
    stamina consume per second for run [0.5, 3.0]"
    "l4d_sprint_consume_walk", "0.5", "
    stamina consume per second for walk [0.2, 2.0]"
    "l4d_sprint_consume_duck", "-0.5", "
    stamina consume per second for duck [-1.0, 1.0]"
    "l4d_sprint_consume_atrest", "-3.0", "
    stamina consume per second at reset[-10.0, -1.0]"
    "l4d_sprint_consume_jump", "3.0", "
    stamina consume per jump [3.0, 10.0]"

    Requirement: SDK Hooks 1.3
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_sprint.sp - 2640 views - 12.7 KB)
    File Type: smx l4d_sprint.smx (8.6 KB, 4381 views)

    Last edited by panxiaohai; 09-10-2010 at 20:49.
    panxiaohai is offline
    Fleepster99
    Senior Member
    Join Date: Apr 2010
    Old 08-31-2010 , 11:00   Re: [L4D & L4D2] Sprint
    Reply With Quote #2

    Looks like this uses Sdk hooks?, you should probably mention that also nice idea adding the sniper zoom to sprint.
    Fleepster99 is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 08-31-2010 , 11:17   Re: [L4D & L4D2] Sprint
    Reply With Quote #3

    I was thinking about doing something like this last night! Very nice, will try out soon.
    Silvers is offline
    Herokim
    Senior Member
    Join Date: Mar 2010
    Location: In Fag-o-land
    Old 09-10-2010 , 09:31   Re: [L4D & L4D2] Sprint
    Reply With Quote #4

    Any hint textes or bars showing how much stamina you have >_>?
    Herokim is offline
    stufz
    Member
    Join Date: Jan 2010
    Old 09-10-2010 , 20:39   Re: [L4D & L4D2] Sprint
    Reply With Quote #5

    What is the highest number I can use for "l4d_sprint_energe_max" ?

    What is the lowest number I can use for "l4d_sprint_energe_slowdown" ?

    I tried -

    sm_cvar l4d_sprint_energe_max 300
    sm_cvar l4d_sprint_energe_slowdown 25

    But it takes a long time to build up stamina again - takes away from normal running speed. Nice mod otherwise
    stufz is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 09-10-2010 , 20:53   Re: [L4D & L4D2] Sprint
    Reply With Quote #6

    Quote:
    Originally Posted by stufz View Post
    What is the highest number I can use for "l4d_sprint_energe_max" ?

    What is the lowest number I can use for "l4d_sprint_energe_slowdown" ?

    I tried -

    sm_cvar l4d_sprint_energe_max 300
    sm_cvar l4d_sprint_energe_slowdown 25

    But it takes a long time to build up stamina again - takes away from normal running speed. Nice mod otherwise
    What is the highest number I can use for "l4d_sprint_energe_max" ? ---- as max as possible

    What is the lowest number I can use for "l4d_sprint_energe_slowdown" ? ---- 0.0, , you never slowdown.

    But it takes a long time to build up stamina again-----please set l4d_sprint_consume_? to adjust the recovery of stamina.

    Last edited by panxiaohai; 09-10-2010 at 20:55.
    panxiaohai is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 09-10-2010 , 21:57   Re: [L4D & L4D2] Sprint
    Reply With Quote #7

    Can you make it slower when in water? Also could you add a cvar to disable the sounds.
    __________________
    Silvers is offline
    bdmj
    Member
    Join Date: Jan 2010
    Old 05-23-2012 , 11:46   Re: [L4D & L4D2] Sprint
    Reply With Quote #8

    Is there a way to remove that message when you first double tap your forward key??
    __________________
    bdmj is offline
    SyluxLockjaw100
    Senior Member
    Join Date: Jul 2010
    Location: Novaya Russia
    Old 06-20-2012 , 03:12   Re: [L4D & L4D2] Sprint
    Reply With Quote #9

    Speed should be multiplier instead of static....
    SyluxLockjaw100 is offline
    .MrEclipse.
    Junior Member
    Join Date: Jul 2012
    Old 08-14-2012 , 05:56   Re: [L4D & L4D2] Sprint
    Reply With Quote #10

    Video : https://www.youtube.com/watch?v=Hagv...M&feature=plcp
    .MrEclipse. 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 22:35.


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