Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Incapped Weapons Patch (1.36) [25-Mar-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
TBK Duy
Member
Join Date: Jun 2017
Location: Vietnam
Old 11-21-2022 , 11:38   Re: [L4D & L4D2] Incapped Weapons Patch (1.13a) [09-Jul-2021]
Reply With Quote #41

Quote:
Originally Posted by Silvers View Post
Code:
1.14 (12-Nov-2022)
    - Added cvar "l4d_incapped_weapons_throw" to optionally prevent the standing up animation when throwing grenades.
    - Now optionally uses "Left4DHooks" plugin to prevent standing up animation when throwing grenades.
Excuse me, but this feature is currently not working for me (yes I have lastest Left 4 DHooks version)
Attached Thumbnails
Click image for larger version

Name:	3.jpg
Views:	61
Size:	80.0 KB
ID:	198034  

Last edited by TBK Duy; 11-21-2022 at 11:40.
TBK Duy is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-22-2022 , 09:06   Re: [L4D & L4D2] Incapped Weapons Patch (1.15) [22-Nov-2022]
Reply With Quote #42

Code:
1.15 (22-Nov-2022)
    - Fixed cvar "l4d_incapped_weapons_throw" not preventing standing up animation when plugin is late loaded. Thanks to "TBK Duy" for reporting.
__________________
Silvers is offline
little_froy
Senior Member
Join Date: May 2021
Old 11-24-2022 , 03:41   Re: [L4D & L4D2] Incapped Weapons Patch (1.15) [22-Nov-2022]
Reply With Quote #43

could it be possible to block using secondary weapon when incapacitated?
little_froy is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-24-2022 , 06:24   Re: [L4D & L4D2] Incapped Weapons Patch (1.15) [22-Nov-2022]
Reply With Quote #44

Quote:
Originally Posted by little_froy View Post
could it be possible to block using secondary weapon when incapacitated?
Look at the plugin cvars, theres a _restrict cvar.
__________________
Silvers is offline
little_froy
Senior Member
Join Date: May 2021
Old 11-24-2022 , 07:21   Re: [L4D & L4D2] Incapped Weapons Patch (1.15) [22-Nov-2022]
Reply With Quote #45

Quote:
Originally Posted by Silvers View Post
Look at the plugin cvars, theres a _restrict cvar.
well, i found weapon_pistol, weapon_pistol_magnum, weapon_melee's IDs from source.

Last edited by little_froy; 11-24-2022 at 07:23.
little_froy is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-24-2022 , 07:39   Re: [L4D & L4D2] Incapped Weapons Patch (1.15) [22-Nov-2022]
Reply With Quote #46

I see, well the pistols shouldn't be blocked, this is going to cause issues, as for melee there is a cvar to allow/block that. What if someone is incapped with only pistols equipped, or someone incapped with no ammo for another weapon except pistols. These cases would require a bunch more work on the plugin, if they can even be fixed, so that's why I never posted the ID's for blocking pistols. That's not something I will support.
__________________

Last edited by Silvers; 11-24-2022 at 07:41.
Silvers is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 12-04-2022 , 15:07   Re: [L4D & L4D2] Incapped Weapons Patch (1.15) [22-Nov-2022]
Reply With Quote #47

Thanks for the super cool plugin!

Small loophole:
Melee weapons can be taken and used during incap, even if l4d_incapped_weapons_pistol 1.

Request:
Is it possible to make medicine can also be used? At least pills and adrenaline? That would be very useful to be able to stretch out some time to get you up. I always wondered why there was no such plugin, so you could use pills and adrenaline during incap, so teammates had time to get to incapped and save him.
Is there any way to do this, please?
Mika Misori is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-04-2022 , 18:08   Re: [L4D & L4D2] Incapped Weapons Patch (1.15) [22-Nov-2022]
Reply With Quote #48

Quote:
Originally Posted by Mika Misori View Post
Thanks for the super cool plugin!

Small loophole:
Melee weapons can be taken and used during incap, even if l4d_incapped_weapons_pistol 1.

Request:
Is it possible to make medicine can also be used? At least pills and adrenaline? That would be very useful to be able to stretch out some time to get you up. I always wondered why there was no such plugin, so you could use pills and adrenaline during incap, so teammates had time to get to incapped and save him.
Is there any way to do this, please?
The cvar is there to give melee weapon instead of pistol when first incapped. Not to restrict picking up melee weapons. The l4d_incapped_weapons_restrict cvar should restrict them if you don't want melee weapons to be used. I was hoping some 3rd party plugin would add healing for adrenaline and pills but it makes more sense for it to work as part of this plugin, next update will have that feature added.

Edit: pills usage is done, will post soon.
__________________

Last edited by Silvers; 12-05-2022 at 02:07.
Silvers is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 12-05-2022 , 05:36   Re: [L4D & L4D2] Incapped Weapons Patch (1.15) [22-Nov-2022]
Reply With Quote #49

Quote:
Originally Posted by Silvers View Post
The cvar is there to give melee weapon instead of pistol when first incapped. Not to restrict picking up melee weapons. The l4d_incapped_weapons_restrict cvar should restrict them if you don't want melee weapons to be used. I was hoping some 3rd party plugin would add healing for adrenaline and pills but it makes more sense for it to work as part of this plugin, next update will have that feature added.
I didn't find a value for restrict melee in weapon restriction cvars list.
Or is it a value 1 for restrict melee? ( l4d_incapped_weapons_restrict 1 ?)

Quote:
Edit: pills usage is done, will post soon.
Thanks, that should be another gamechanger!
I can help you test it out.
Mika Misori is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-05-2022 , 12:09   Re: [L4D & L4D2] Incapped Weapons Patch (1.16) [05-Dec-2022]
Reply With Quote #50

Code:
1.16 (05-Dec-2022)
    - Added feature to allow Pills and Adrenaline to be used while incapped. Requires the "Left 4 DHooks" plugin.
    - Added cvars "l4d_incapped_weapons_heal_adren" and "l4d_incapped_weapons_heal_pills" to control healing amount while incapped.
@Mika Misori:
Melee weapon ID is 19. You can try adding that to to the restrict cvar.
__________________
Silvers 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 16:34.


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