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

[L4D & L4D2] Gun Damage Booster (v7.5, 6-1-2022)


Post New Thread Reply   
 
Thread Tools Display Modes
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 07-17-2018 , 16:05   Re: [L4D & L4D2] Gun Damage Booster (v5.5, 06-21-2018)
Reply With Quote #11

Yeah I've been planning on recoding this but have been focusing on ST++ lately.
__________________
Psyk0tik is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-06-2018 , 06:07   Re: [L4D & L4D2] Gun Damage Booster (v6.0, 08-06-2018)
Reply With Quote #12

Version 6.0 is out!

Changes

1. The code now uses OnTakeDamage instead of player_hurt.
2. Added support for late loads.
__________________
Psyk0tik is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 08-11-2018 , 09:28   Re: [L4D & L4D2] Gun Damage Booster (v6.0, 08-06-2018)
Reply With Quote #13

Hi, will this conflict necessarily with your redo of [L4D2] Weapon Unlock v0.8.1? Or leave WU config at default values save for weapon enabling and use your damage values?

Last edited by jking; 08-11-2018 at 09:28.
jking is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-11-2018 , 09:37   Re: [L4D & L4D2] Gun Damage Booster (v6.0, 08-06-2018)
Reply With Quote #14

Quote:
Originally Posted by jking View Post
Hi, will this conflict necessarily with your redo of [L4D2] Weapon Unlock v0.8.1? Or leave WU config at default values save for weapon enabling and use your damage values?
If you need WU to unlock the CSS weapons then use that instead of this one. This plugin is just a rewrite of the damage booster feature from WU, so I would imagine they will conflict with each other. Try it for yourself.
__________________
Psyk0tik is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 08-11-2018 , 09:50   Re: [L4D & L4D2] Gun Damage Booster (v6.0, 08-06-2018)
Reply With Quote #15

Quote:
Originally Posted by Crasher_3637 View Post
If you need WU to unlock the CSS weapons then use that instead of this one. This plugin is just a rewrite of the damage booster feature from WU, so I would imagine they will conflict with each other. Try it for yourself.
Right, I'll probably do that and my damage values were actually pretty close to yours.
jking is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 08-17-2018 , 17:01   Re: [L4D & L4D2] Gun Damage Booster (v6.0, 08-06-2018)
Reply With Quote #16

Thanks for doing this plugin Crasher but I gotta be honest here, something that's always bugged the crap out of me is how damage has been modeled in this game from the beginning. No matter what I had set in WU it never seemed to matter. Now after deleting that plugin and testing this, same applies e.g I set the Magnum to "99999" and frankly IO cannot tell the diff with that vs it's default in FF or otherwise.

Last edited by jking; 08-17-2018 at 17:02.
jking is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-17-2018 , 17:05   Re: [L4D & L4D2] Gun Damage Booster (v6.0, 08-06-2018)
Reply With Quote #17

Quote:
Originally Posted by jking View Post
Thanks for doing this plugin Crasher but I gotta be honest here, something that's always bugged the crap out of me is how damage has been modeled in this game from the beginning. No matter what I had set in WU it never seemed to matter. Now after deleting that plugin and testing this, same applies e.g I set the Magnum to "99999" and frankly IO cannot tell the diff with that vs it's default in FF or otherwise.
The original WU and this plugin only boost the damage when the target is an infected. Friendly-fire isn't affected.
__________________
Psyk0tik is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 08-17-2018 , 17:06   Re: [L4D & L4D2] Gun Damage Booster (v6.0, 08-06-2018)
Reply With Quote #18

Quote:
Originally Posted by Crasher_3637 View Post
The original WU and this plugin only boost the damage when the target is an infected. Friendly-fire isn't affected.
well humf! I had no idea, is there anything out there that does otherwise?
jking is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-17-2018 , 17:10   Re: [L4D & L4D2] Gun Damage Booster (v6.0, 08-06-2018)
Reply With Quote #19

Quote:
Originally Posted by jking View Post
well humf! I had no idea, is there anything out there that does otherwise?
I'm not sure, but if you'd like to do it yourself, just open up the source code of GDB on a notepad program like Notepad++ or Sublime Text 3.

Then change this line:

PHP Code:
if (bIsSurvivor(attacker) && bIsInfected(victim) && damagetype DMG_BULLET
To this:

PHP Code:
if (bIsSurvivor(attacker) && bIsValidClient(victim) && damagetype DMG_BULLET
And delete the "bool bIsInfected(int client)" function if you get a compile error/warning about it not being used.
__________________

Last edited by Psyk0tik; 08-17-2018 at 17:10.
Psyk0tik is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 08-17-2018 , 17:11   Re: [L4D & L4D2] Gun Damage Booster (v6.0, 08-06-2018)
Reply With Quote #20

Quote:
Originally Posted by Crasher_3637 View Post
I'm not sure, but if you'd like to do it yourself, just open up the source code of GDB on a notepad program like Notepad++ or Sublime Text 3.

Then change this line:

PHP Code:
if (bIsSurvivor(attacker) && bIsInfected(victim) && damagetype DMG_BULLET
To this:

PHP Code:
if (bIsSurvivor(attacker) && bIsValidClient(victim) && damagetype DMG_BULLET
And delete the "bool bIsInfected(int client)" function if you get a compile error/warning about it not being used.
rgr that, will try ty.
jking 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 03:38.


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