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

[L4D2] Melee Swing Speed (v1.3, 2023-7-27)


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-15-2021 , 20:45   Re: [L4D2] Melee Swing Speed (v1.1, 2021-9-3)
Reply With Quote #11

Ahh incapped melee speeds probably suffer from the same slowdown weapons do. The WeaponHandling_API plugin by Lux might fix this.
__________________

Last edited by Silvers; 09-16-2021 at 06:20.
Silvers is offline
bald14
Member
Join Date: Aug 2021
Old 09-28-2021 , 15:56   Re: [L4D2] Melee Swing Speed (v1.1, 2021-9-3)
Reply With Quote #12

Quote:
L 09/29/2021 - 00:15:52: Info (map "l4d2_city17_05") (file "D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10929.log")
L 09/29/2021 - 00:15:52: [SM] Exception reported: Property "m_strMapSetScriptName" not found (entity 291/weapon_pistol)
L 09/29/2021 - 00:15:52: [SM] Blaming: l4d2_melee_swing.smx
L 09/29/2021 - 00:15:52: [SM] Call stack trace:
L 09/29/2021 - 00:15:52: [SM] [0] GetEntPropString
L 09/29/2021 - 00:15:52: [SM] [1] Line 281, l4d2_melee_swing.sp::Event_WeaponFire
L 09/29/2021 - 00:23:53: Error log file session closed.
L 09/29/2021 - 01:431: SourceMod error session started
L 09/29/2021 - 01:431: Info (map "cbm2_town") (file "D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\logs\errors_202 10929.log")
L 09/29/2021 - 01:431: [SM] Exception reported: Property "m_strMapSetScriptName" not found (entity 275/weapon_pistol)
L 09/29/2021 - 01:431: [SM] Blaming: l4d2_melee_swing.smx
L 09/29/2021 - 01:431: [SM] Call stack trace:
L 09/29/2021 - 01:431: [SM] [0] GetEntPropString
L 09/29/2021 - 01:431: [SM] [1] Line 281, l4d2_melee_swing.sp::Event_WeaponFire
L 09/29/2021 - 01:45:25: [SM] Exception reported: Property "m_strMapSetScriptName" not found (entity 298/weapon_pistol)
L 09/29/2021 - 01:45:25: [SM] Blaming: l4d2_melee_swing.smx
L 09/29/2021 - 01:45:25: [SM] Call stack trace:
L 09/29/2021 - 01:45:25: [SM] [0] GetEntPropString
L 09/29/2021 - 01:45:25: [SM] [1] Line 281, l4d2_melee_swing.sp::Event_WeaponFire
L 09/29/2021 - 02:029: Error log file session closed.
Can you fix it ?
bald14 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-29-2021 , 04:12   Re: [L4D2] Melee Swing Speed (v1.1, 2021-9-3)
Reply With Quote #13

Quote:
Originally Posted by Shao View Post
The plugin has issues with downstate melee from Silvers, it doesn't transfer melee speeds and instead use defaults.
Quote:
Originally Posted by bald14 View Post
Can you fix it ?
fixed in v1.2 (2021-9-29)
- Fixed "m_strMapSetScriptName not found" errors. Thanks to "bald14" for reporting.
- Add new Convar
PHP Code:
// 0=Value Default, 1=Each melee rate unchanged, modify melee swinging rate multi when incapacitated. (ex. Use 'Incapped Weapons Patch by Silvers' to allow using Weapons while Incapped)
l4d2_melee_swing_incapacitated_multi_rate "2.0" 
__________________

Last edited by HarryPotter; 09-29-2021 at 04:14.
HarryPotter is offline
trufo
New Member
Join Date: Mar 2022
Old 03-19-2022 , 04:06   Re: [L4D2] Melee Swing Speed (v1.2, 2021-9-29)
Reply With Quote #14

Hey dude,
I installed the plugin, but when I tried the axe on the 1st map of last stand it wasn't sped up. I installed another plugin (CI with melee) to make sure that my sourceMod install was correct. That other plugin worked fine. So I changed some values in "l4d2_melee_swing.cfg". Because it wasn't clear if the value was the interval or the speed. But still no joy. If you could give me some pointers that would be greatly appreciated.
trufo is offline
Pizza baiana
Junior Member
Join Date: Jun 2023
Old 06-07-2023 , 17:21   Re: [L4D2] Melee Swing Speed (v1.2, 2021-9-29)
Reply With Quote #15

Quote:
Originally Posted by HarryPotter View Post
-Convar-
cfg/sourcemod/l4d2_melee_swing.cfg

PHP Code:
// 0=Plugin off, 1=Plugin on.
l4d2_melee_swing_allow "1"

// 0=Value Default, The interval for swinging Baseball Bat. (clamped between 0.2 and 1.0)
l4d2_melee_swing_baseball_bat_rate "0.75"

// 0=Value Default, The interval for swinging Cricket Bat.(clamped between 0.2 and 1.0)
l4d2_melee_swing_cricket_bat_rate "0.8"

// 0=Value Default, The interval for swinging Crowbar. (clamped between 0.2 and 1.0)
l4d2_melee_swing_crowbar_rate "0.8"

// 0=Value Default, The interval for swinging Electric Guitar.(clamped between 0.2 and 1.0)
l4d2_melee_swing_electric_guitar_rate "1.0"

// 0=Value Default, The interval for swinging Fire Axe. (clamped between 0.2 and 1.0)
l4d2_melee_swing_fireaxe_rate "1.0"

// 0=Value Default, The interval for swinging Frying Pan. (clamped between 0.2 and 1.0)
l4d2_melee_swing_frying_pan_rate "0.75"

// 0=Value Default, The interval for swinging Golf Club. (clamped between 0.2 and 1.0)
l4d2_melee_swing_golfclub_rate "0.75"

// 0=Value Default, 1=Each melee rate unchanged, modify melee swinging rate multi when incapacitated. (ex. Use 'Incapped Weapons Patch by Silvers' to allow using Weapons while Incapped)
l4d2_melee_swing_incapacitated_multi_rate "2.0"

// 0=Value Default, The interval for swinging Katana. (clamped between 0.2 and 1.0)
l4d2_melee_swing_katana_rate "0.8"

// 0=Value Default, The interval for swinging Knife. (clamped between 0.2 and 1.0)
l4d2_melee_swing_knife_rate "0.8"

// 0=Value Default, The interval for swinging Machete.(clamped between 0.2 and 1.0)
l4d2_melee_swing_machete_rate "0.8"

// 0=Value Default, The interval for swinging Pitchfork. (clamped between 0.2 and 1.0)
l4d2_melee_swing_pitchfork_rate "0.88"

// 0=Value Default, The interval for swinging shovel. (clamped between 0.2 and 1.0)
l4d2_melee_swing_shovel_rate "1.0"

// 0=Value Default, The interval for swinging Tonfa. (clamped between 0.2 and 1.0)
l4d2_melee_swing_tonfa_rate "0.75"

// 0=Value Default, Custom Third Party Melee, The interval for swinging unknown melee weapon. (clamped between 0.2 and 1.0)
l4d2_melee_swing_unknown_rate "0.0" 

-Change Log-
Code:
v1.2 (2021-9-29)
- Fixed "m_strMapSetScriptName not found" errors. Thanks to "bald14" for reporting.
- Add new Convar "l4d2_melee_swing_incapacitated_multi_rate" to modify melee swinging rate multi when incapacitated
(ex. Use 'Incapped Weapons Patch by Silvers' to allow using Weapons while Incapped)

v1.1 (2021-9-3)
- Optimize code

v1.0 (2021-5-30)
- Initial release
-Related plugin-
-Edit Github-
Latest version always here
BILADA!

Last edited by Pizza baiana; 06-07-2023 at 18:31.
Pizza baiana is offline
BioHazardN7
Member
Join Date: Oct 2020
Location: Укр
Old 07-26-2023 , 11:57   Re: [L4D2] Melee Swing Speed (v1.2, 2021-9-29)
Reply With Quote #16

Code:
SourcePawn Compiler 1.11.0.6934
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2021 AlliedModders LLC

l4d2_melee_swing.sp(189) : warning 242: function "evtPlayerTeam" should return an explicit value
l4d2_melee_swing.sp(279) : warning 242: function "Event_WeaponFire" should return an explicit value
l4d2_melee_swing.sp(279) : warning 242: function "Event_WeaponFire" should return an explicit value
Code size:         13436 bytes
Data size:         6100 bytes
Stack/heap size:      16588 bytes
Total requirements:   36124 bytes

3 Warnings.
BioHazardN7 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 07-27-2023 , 05:49   Re: [L4D2] Melee Swing Speed (v1.2, 2021-9-29)
Reply With Quote #17

Quote:
Originally Posted by BioHazardN7 View Post
Code:
SourcePawn Compiler 1.11.0.6934
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2021 AlliedModders LLC

l4d2_melee_swing.sp(189) : warning 242: function "evtPlayerTeam" should return an explicit value
l4d2_melee_swing.sp(279) : warning 242: function "Event_WeaponFire" should return an explicit value
l4d2_melee_swing.sp(279) : warning 242: function "Event_WeaponFire" should return an explicit value
Code size:         13436 bytes
Data size:         6100 bytes
Stack/heap size:      16588 bytes
Total requirements:   36124 bytes

3 Warnings.
Upated
__________________
HarryPotter is offline
kooper990
Member
Join Date: Jan 2021
Old 08-24-2023 , 17:39   Re: [L4D2] Melee Swing Speed (v1.3, 2023-7-27)
Reply With Quote #18

game got updated, and the note contains melee swing, specifically the knife. Update?
kooper990 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-25-2023 , 08:04   Re: [L4D2] Melee Swing Speed (v1.3, 2023-7-27)
Reply With Quote #19

Quote:
Originally Posted by kooper990 View Post
game got updated, and the note contains melee swing, specifically the knife. Update?
PHP Code:
// 0=Value Default, The interval for swinging Knife. (clamped between 0.2 and 1.0)
l4d2_melee_swing_knife_rate "0.8" 
???
__________________
HarryPotter is offline
Jasonex
Junior Member
Join Date: Aug 2023
Old 09-22-2023 , 06:45   Re: [L4D2] Melee Swing Speed (v1.3, 2023-7-27)
Reply With Quote #20

This plugin is useful. I have been using it for 2 months, but now (September 22, 2023), it's not working. I have a CFG and there's no error. I decide to redownload the plugins and SP, but it's still not working. I don't know what happened.
Jasonex 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:32.


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