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

[L4D & L4D2] Weapon Damage Mod


Post New Thread Reply   
 
Thread Tools Display Modes
winged_box
Senior Member
Join Date: Aug 2013
Location: Singapore
Old 10-29-2020 , 06:57   Re: [L4D & L4D2] Weapon Damage Mod
Reply With Quote #81

I only modified the melee damage on tank to 0.2, the damage has been reduced but sometimes it will instant kill the tank.

I have tested below:

1) Instant kill only happened when I spam my melee attack while everyone is shooting the tank.

2) No instant kill if everyone is just shooting and no melee attack on the tank.

3) No instant kill if no one is shooting and is just me melee attacking the tank.

Can anybody help?

Last edited by winged_box; 10-29-2020 at 07:06.
winged_box is offline
Hawkins
Senior Member
Join Date: Jul 2021
Old 10-07-2021 , 12:38   Re: [L4D & L4D2] Weapon Damage Mod
Reply With Quote #82

What about the Last Stand Update melee weapons? Are they modifieable?
Hawkins is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-07-2021 , 12:48   Re: [L4D & L4D2] Weapon Damage Mod
Reply With Quote #83

Probably yes, there is no hard-coded melee names in the code so the step-by-step is the same from other melee weapons.

PHP Code:
pitchfork
shovel 
__________________

Last edited by Marttt; 10-07-2021 at 12:49.
Marttt is offline
huangran
Junior Member
Join Date: Oct 2021
Old 01-15-2022 , 21:54   Re: [L4D & L4D2] Weapon Damage Mod
Reply With Quote #84

It's awesome! Thank you .
huangran is offline
Dominatez
Senior Member
Join Date: Oct 2009
Location: Birmingham, UK
Old 09-10-2022 , 22:38   Re: [L4D & L4D2] Weapon Damage Mod
Reply With Quote #85

Quote:
Originally Posted by Visual77 View Post
Line 192
SetEventInt(event, "amount", damagedelta); // for correct stats.

Should be (new syntax)
event.SetInt("amount", dmg_health+damagedelta); // for correct stats.
Tried it, and it throws up an error when compiling.
Dominatez is offline
zonbarbar
Member
Join Date: Jul 2022
Old 01-14-2023 , 01:14   Re: [L4D & L4D2] Weapon Damage Mod
Reply With Quote #86

minigun damage to tank?
zonbarbar is offline
CrazMan
Member
Join Date: Jun 2022
Old 01-19-2023 , 10:24   Re: [L4D & L4D2] Weapon Damage Mod
Reply With Quote #87

Hello.
Does anyone know how to fix this error?

HTML Code:
L 01/19/2023 - 14:18:53: [SM]   [4] Line 356, D:\L4D_Server\left4dead\addons\sourcemod\scripting\l4d_damage.sp::timer_stock_applyDamage
L 01/19/2023 - 14:20:52: [SM] Exception reported: Entity 827 (827) is invalid
CrazMan 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 19:48.


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