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

[L4D2] Throwable Melee Weapons (1.21) [05-Jul-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 01-07-2022 , 07:56   Re: [L4D2] Throwable Melee Weapons (1.19) [06-Jan-2022]
Reply With Quote #51

Quote:
Originally Posted by Shao View Post
Do share both the sourcemod and data cfg, could be something wrong there.
i tried many time and make sure common actually damaged, but not work properly with 100 chance kill
l4d2_throwable_melee in ./data
Code:
"throwable_damage"
{
	// If non-zero, removes this percentage of the targets max health, eg 100 would kill in 1 hit.
	"hits"
	{
		"common"				"100.0"
		"witch"					"25.0"
		"survivor"				"0.0"
		"tank"					"7.5"
		"smoker"				"50.0"
		"boomer"				"50.0"
		"hunter"				"50.0"
		"spitter"				"50.0"
		"jockey"				"50.0"
		"charger"				"50.0"
	}

	// Scales damage values against targets, only when the relative targets "hits" value is 0
	"targets"
	{
		"common"				"3.0"
		"witch"					"1.0"
		"survivor"				"0.5"
		"tank"					"2.0"
		"smoker"				"1.0"
		"boomer"				"1.0"
		"hunter"				"1.0"
		"spitter"				"1.0"
		"jockey"				"1.0"
		"charger"				"1.0"
	}

	// Amount of damage weapons cause, only when a targets "hits" value is 0
	"weapons"
	{
		"baseball_bat"			"20"
		"cricket_bat"			"20"
		"crowbar"				"30"
		"electric_guitar"		"15"
		"fireaxe"				"50"
		"frying_pan"			"10"
		"golfclub"				"30"
		"katana"				"50"
		"knife"					"40"
		"machete"				"40"
		"pitchfork"				"30"
		"shovel"				"30"
		"tonfa"					"15"
		"riot_shield"			"15"
		"generic"				"50" // All other non-defined melee weapons, eg 3rd party maps.
	}
}
__________________
NoroHime is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-08-2022 , 08:37   Re: [L4D2] Throwable Melee Weapons (1.19) [06-Jan-2022]
Reply With Quote #52

Don't know what to say, everything works here as expected with that config. You you have some other plugin setting melee damage maybe?
__________________
Silvers is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 01-09-2022 , 02:30   Re: [L4D2] Throwable Melee Weapons (1.19) [06-Jan-2022]
Reply With Quote #53

Quote:
Originally Posted by Silvers View Post
Don't know what to say, everything works here as expected with that config. You you have some other plugin setting melee damage maybe?
i again used it in very close distance,problem may not hit damage,its....hard to hit,even throw to many zombies,but result is random one killed,is plugin expected to have AOE damage?
__________________
NoroHime is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-09-2022 , 03:32   Re: [L4D2] Throwable Melee Weapons (1.19) [06-Jan-2022]
Reply With Quote #54

AoE no. It does the specified damage to the specific infected. Try not so close? Maybe you have a plugin conflict, Remove all plugins, test. Restore half or remove half until you find the one causing it. There's nothing more I can do, plugin works as described.
__________________
Silvers is offline
Stitchz
New Member
Join Date: Jan 2022
Old 01-26-2022 , 19:32   Re: [L4D2] Throwable Melee Weapons (1.19) [06-Jan-2022]
Reply With Quote #55

So I put everything where it needs to be just like the description said from the first page, but nothing happens when I press the middlemousebutton ingame do I have to turn something on in the consolecommands? also what is "z" flag? Im not so tech savvy when It comes to sourcemod and l4d2. sorry if Im coming off ignorant, its because I am X,P
Stitchz is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-26-2022 , 22:42   Re: [L4D2] Throwable Melee Weapons (1.19) [06-Jan-2022]
Reply With Quote #56

It should work as is when installed. Have you checked sourcemod error logs? Does it list the plugin when you write "sm plugins list" in server console? "z" flag is the flag you would set yourself to be root admin for the server in one of sourcemods admin configs in the "sourcemod/configs" folder.

Edit: You had a melee weapon equipped in hand?
__________________

Last edited by Silvers; 06-16-2022 at 05:27.
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-16-2022 , 05:26   Re: [L4D2] Throwable Melee Weapons (1.20) [16-Jun-2022]
Reply With Quote #57

Code:
1.20 (16-Jun-2022)
    - Added notifications and translations when equipping melee weapons or hitting Survivors or killing Special Infected. Requested by "Voevoda".
    - Added cvar "l4d2_throwable_notify" to control notifications.
    - Added Russian translations, thanks to "Voevoda" for providing.
__________________
Silvers is offline
BystanderZK
Junior Member
Join Date: Feb 2022
Old 06-27-2022 , 21:47   Re: [L4D2] Throwable Melee Weapons (1.20) [16-Jun-2022]
Reply With Quote #58

After other players recycle they thrown weapons in realism mode, the weapon outline will emit blue light. Boomerang function is not enabled
BystanderZK is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-27-2022 , 22:34   Re: [L4D2] Throwable Melee Weapons (1.20) [16-Jun-2022]
Reply With Quote #59

Quote:
Originally Posted by BystanderZK View Post
After other players recycle they thrown weapons in realism mode, the weapon outline will emit blue light. Boomerang function is not enabled
Can you explain more on how to replicate the issue? I don't see any glow outline on Realism. Do you have any weapon glow plugins enabled?
__________________
Silvers is offline
BystanderZK
Junior Member
Join Date: Feb 2022
Old 06-28-2022 , 02:06   Re: [L4D2] Throwable Melee Weapons (1.20) [16-Jun-2022]
Reply With Quote #60

Quote:
Originally Posted by Silvers View Post
Can you explain more on how to replicate the issue? I don't see any glow outline on Realism. Do you have any weapon glow plugins enabled?
When you see that other players pick up the thrown melee weapon, and then use the melee weapon, the melee weapon outline will emit blue light like the status that can be picked up in normal mode. No other weapon glow plug-in is used, this will only happen if used this plugin and recycled the thrown melee weapon
BystanderZK 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 07:39.


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