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

[L4D] Water Speed [v1.9 | 07-Feb-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Beatles
Senior Member
Join Date: Feb 2014
Plugin ID:
8049
Plugin Version:
1.9
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Slow down any player in the water
    Old 05-12-2022 , 13:19   [L4D] Water Speed [v1.9 | 07-Feb-2023]
    Reply With Quote #1

    In Left 4 Dead 1, for some reason VALVE did not add the slowdown in the water on their maps, with this plugin that restriction is added, slowing down any player who is submerged in the water by half.
    1. Disable plugin functions (l4d_water_speed_enable 0)
    2. Enable slowdown on maps with water that don't have this attribute in L4D1 (l4d_water_speed_enable 1)
    3. Disable slowdown on maps with water that have this attribute in L4D1 (l4d_water_speed_enable 2)

    DEMO VIDEO

    VERSION 1.9: It is recommended that you delete the autogenerated file "[L4D] Water Speed.cfg" located in the "cfg\sourcemod" folder.

    HTML Code:
    Version 1.0:
    	- Public release
    Version 1.1
    	- Completely rewritten
    	- New method for speed change
    	- Survivors jumping into water do not recover their speed
    Version 1.2 by Dragokas
    	- Added restriction to run on L4D1 only.
    	- Changed the way of hook to consume minimum CPU cycles.
    	- Converted to a new syntax.
    	- Added Convar to select desired speed in water.
    	- Added ConVar to be able to disable plugin.
    	- Hardcoded normal speed is replaced by game ConVar.
    Version 1.3
    	- Fixed speed when under 40 health
    	- Fixed speed when at 1 health
    	- Fixed player speed when zoomed
    Version 1.4
    	- Fixed the speed of the survivor in any situation.
    Version 1.5
    	- Fixed log errors.
    	- Fixed constants.
    Version 1.6
    	- Check time has been changed.
    	- Fixed some bugs on servers.
    Version 1.7
    	- Now the speed is lower according to the depth in which the survivor is submerged (This simulates the original trigger of the maps with water, since the speed is not static, but it varies according to the depth of the submerged)
    Version 1.8
    	- Using "l4d_water_speed_enable 0" now disables slowdown in water, even on maps that have this attribute by default.
    Version 1.9
    	- Using "l4d_water_speed_enable 0" Disable plugin functions.
    	- Using "l4d_water_speed_enable 1" Enable slowdown on maps with water that don't have this attribute.
    	- Using "l4d_water_speed_enable 2" Disable slowdown on maps with water that have this attribute.
    Attached Files
    File Type: sp Get Plugin or Get Source ([L4D]WaterSpeed.sp - 142 views - 5.0 KB)
    File Type: smx [L4D]WaterSpeed.smx (5.6 KB, 79 views)

    Last edited by Beatles; 02-07-2023 at 14:33.
    Beatles is offline
    Beatles
    Senior Member
    Join Date: Feb 2014
    Old 09-19-2022 , 12:00   Re: [L4D] Water Speed [v1.8 | 19-Sep-2022]
    Reply With Quote #2

    UPDATED v1.8 | 19-Sep-2022

    HTML Code:
    Version 1.8
    	- Using "l4d_water_speed_enable 0" now disables slowdown in water, even on maps that have this attribute by default.

    Last edited by Beatles; 02-07-2023 at 14:31.
    Beatles is offline
    Beatles
    Senior Member
    Join Date: Feb 2014
    Old 02-07-2023 , 14:31   Re: [L4D] Water Speed [v1.9 | 07-Feb-2023]
    Reply With Quote #3

    UPDATED v1.9 | 07-Feb-2023

    HTML Code:
    Version 1.9
    	- Using "l4d_water_speed_enable 0" Disable plugin functions.
    	- Using "l4d_water_speed_enable 1" Enable slowdown on maps with water that don't have this attribute.
    	- Using "l4d_water_speed_enable 2" Disable slowdown on maps with water that have this attribute.

    Last edited by Beatles; 02-07-2023 at 14:32.
    Beatles is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 09-21-2023 , 07:50   Re: [L4D] Water Speed [v1.9 | 07-Feb-2023]
    Reply With Quote #4

    I glad you're continuing to improve it. Nice one.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas 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 06:57.


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