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

[L4D & L4D2] Special Infected Ability Movement (1.12) [10-Feb-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6121
Plugin Version:
1.12
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    103 
    Plugin Description:
    Continue normal movement speed while spitting/smoking/tank throwing rock
    Old 05-05-2018 , 15:12   [L4D & L4D2] Special Infected Ability Movement (1.12) [10-Feb-2023]
    Reply With Quote #1

    About:
    • This plugin lets the Tank, Smoker and Spitter continue running whilst using their ability.

    Boomer can be enabled with: sm_cvar z_vomit_fatigue 0;
    Smoker speed while the tongue is out: sm_cvar tongue_victim_max_speed;


    Some cvars for allowing continious usage of abilities, for reference and testing.
    PHP Code:
    sm_cvar z_tank_throw_interval 2;
    sm_cvar z_vomit_interval 0;
    sm_cvar tongue_hit_delay 0;
    sm_cvar tongue_miss_delay 0;
    sm_cvar z_spit_interval 0;
    sm_cvar z_charge_interval 0


    Thanks:
    • Visual77 - Testing various methods
    • Dragokas - Various help
    • Lux - Various help
    • phoenix0001 - Bug report


    CVars:

    Saved to l4d_infected_movement.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // 0=Plugin off, 1=Allow players only, 2=Allow bots only, 3=Both.
    l4d_infected_movement_allow "3"

    // These Special Infected bots can use: 1=Smoker, 2=Spitter, 4=Tank, 7=All. Add numbers together.
    l4d_infected_movement_bots "7"

    // 0.0=Instantly. How many seconds after using their ability can the Smoker move.
    l4d_infected_movement_delay_smoker "0.0"

    // 0.0=Instantly. How many seconds after using their ability can the Spitter move.
    l4d_infected_movement_delay_spitter "0.0"

    // 0.0=Instantly. How many seconds after using their ability can the Tank move.
    l4d_infected_movement_delay_tank "0.0"

    // These Special Infected players can use: 1=Smoker, 2=Spitter, 4=Tank, 7=All. Add numbers together.
    l4d_infected_movement_type "7"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d_infected_movement_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d_infected_movement_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d_infected_movement_modes_tog "0"

    // 0=Only on shooting. 1=Smokers can move while pulling someone. 2=Smokers can also move when someone is hanging from the tongue.
    l4d_infected_movement_smoker "2"

    // How fast can Smokers move while using their ability.
    l4d_infected_movement_speed_smoker "250"

    // How fast can Spitters move while using their ability.
    l4d_infected_movement_speed_spitter "250"

    // How fast can Tanks move while using their ability.
    l4d_infected_movement_speed_tank "250"

    // Ability Movement plugin version.
    l4d_infected_movement_version 


    Changes:
    Code:
    1.12 (10-Feb-2023)
        - Fixed affecting Survivors under certain circumstances. Thanks to "Voevoda" for reporting.
    
    1.11 (03-Dec-2022)
        - Added cvars "l4d_infected_movement_delay_smoker", "l4d_infected_movement_delay_spitter" and "l4d_infected_movement_delay_tank" to delay unlocking movement. Requested by "Mika Misori".
    
    1.10 (22-Nov-2022)
        - Fixed the "l4d_infected_movement_bots" and "l4d_infected_movement_type" cvars being flipped. Thanks to "Fraggor" for reporting.
    
    1.9 (02-Feb-2022)
        - Added cvar "l4d_infected_movement_bots" to control which bots this plugin enables for. Requested by "Alexmy".
    
    1.8 (30-Sep-2020)
        - Fixed compile errors on SM 1.11.
    
    1.7 (18-Sep-2020)
        - Fixed Smoker speed not resetting if the Tongue misses. Thanks to "fbef0102" for reporting.
    
    1.6 (05-Sep-2020)
        - Added resetting speed on player death and Smoker tongue release. Thanks to "fbef0102" for reporting.
    
    1.5 (01-Sep-2020)
        - Added cvars "l4d_infected_movement_speed_smoker", "l4d_infected_movement_speed_tank", and
            "l4d_infected_movement_speed_spitter" to control speed while using their ability.
    
    1.4 (10-May-2020)
        - Extra checks to prevent "IsAllowedGameMode" throwing errors.
        - Various changes to tidy up code.
    
    1.3 (01-Apr-2020)
        - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
    
    1.2 (23-Oct-2019)
        - Added cvar "l4d_infected_movement_smoker" to control Smoker movement while someones hanging the tongue.
    
    1.1 (23-Aug-2018)
        - Fixed the Smoker not working correctly. Thanks to "phoenix0001" for reporting.
    
    1.0 (05-May-2018)
        - Initial release.


    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.

    Updating from 1.10 or older:
    • New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_infected_movement.sp - 854 views - 17.5 KB)
    __________________

    Last edited by Silvers; 02-09-2023 at 21:00.
    Silvers is offline
    Sev
    Veteran Member
    Join Date: May 2010
    Old 06-06-2018 , 11:57   Re: [L4D & L4D2] Special Infected Ability Movement (1.0) [05-May-2018]
    Reply With Quote #2

    Pretty good stuff

    Now all that's needed is for someone out there to release the one plugin I saw years back that was never shared publicly to my knowledge where the tank could actually grab the survivors if close and throw them.

    That...and someone out there gets really clever and restores the old L4D2 beta charger behavior seen in the old gameplay footage.

    Instead of...

    Left Click = Charge/Pummel
    Right Click = Melee

    It was most definitely

    Left Click = Charge
    Right Click = Pummel

    The abilities were separated and im almost positive he couldn't melee. That overhead windup slam was a thing of beauty. Too bad they probably removed the animation for it.



    https://www.youtube.com/watch?v=vVs6_J1zwEk

    Last edited by Sev; 06-06-2018 at 12:02.
    Sev is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 08-20-2018 , 15:07   Re: [L4D & L4D2] Special Infected Ability Movement (1.0) [05-May-2018]
    Reply With Quote #3

    I found that the Spitter Tank can be moved. Why can't Smoker move?
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 08-21-2018 , 18:16   Re: [L4D & L4D2] Special Infected Ability Movement (1.0) [05-May-2018]
    Reply With Quote #4

    Quote:
    Originally Posted by phoenix0001 View Post
    I found that the Spitter Tank can be moved. Why can't Smoker move?
    This includes spitter tank and smoker tank?
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 08-22-2018 , 01:58   Re: [L4D & L4D2] Special Infected Ability Movement (1.0) [05-May-2018]
    Reply With Quote #5

    Quote:
    Originally Posted by Lux View Post
    This includes spitter tank and smoker tank?
    Spitter Tank Boomer Can move.
    Boomer Need the following command support to move [sm_cvar z_vomit_fatigue 0].
    Smoker No matter how you test it will not move.
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 08-22-2018 , 03:21   Re: [L4D & L4D2] Special Infected Ability Movement (1.0) [05-May-2018]
    Reply With Quote #6

    Quote:
    Originally Posted by phoenix0001 View Post
    I found that the Spitter Tank can be moved. Why can't Smoker move?
    Thanks, will fix soon. Remove line 290 for temp quick fix.
    __________________
    Silvers is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 08-23-2018 , 01:49   Re: [L4D & L4D2] Special Infected Ability Movement (1.0) [05-May-2018]
    Reply With Quote #7

    Quote:
    Originally Posted by Silvers View Post
    Thanks, will fix soon. Remove line 290 for temp quick fix.
    Don't worry, wait for your update.
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 08-23-2018 , 06:13   Re: [L4D & L4D2] Special Infected Ability Movement (1.0) [05-May-2018]
    Reply With Quote #8

    Quote:
    Originally Posted by phoenix0001 View Post
    Don't worry, wait for your update.
    Fixed.
    __________________
    Silvers is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 08-24-2018 , 05:42   Re: [L4D & L4D2] Special Infected Ability Movement (1.0) [05-May-2018]
    Reply With Quote #9

    Quote:
    Originally Posted by Silvers View Post
    Fixed.
    very perfect
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor
    phoenix0001 is offline
    leonardo martinez
    Member
    Join Date: Jun 2014
    Old 09-02-2018 , 07:56   Re: [L4D & L4D2] Special Infected Ability Movement (1.1) [23-Aug-2018]
    Reply With Quote #10

    Can you jump while using your skill?
    leonardo martinez is offline
    Reply


    Thread Tools
    Display Modes

    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 15:38.


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