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
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-21-2023 , 13:46   Re: [L4D & L4D2] Incapped Weapons Patch (1.23) [08-Jan-2023]
Reply With Quote #71

Quote:
Originally Posted by Franco20 View Post
Does anyone know how to remove the option of using pills and adrenaline when they are incapacitated?
Quote:
Originally Posted by Silvers View Post

Cvars:

Saved to l4d_incapped_weapons.cfg in your servers \cfg\sourcemod\ folder.

PHP Code:
// Empty string to allow all. Prevent these weapon IDs from being used while incapped. See below for details.
// L4D2: default blocks all medkits/upgrade ammo. To block grenades add "13,14,25"
l4d_incapped_weapons_restrict "12,24,30,31" 
Weapon Restriction Cvar:

The cvar l4d_incapped_weapons_restrict uses Weapon IDs to restrict their usage. String must be comma separated.

Complete list:

Spoiler
__________________
HarryPotter is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-24-2023 , 00:26   Re: [L4D & L4D2] Incapped Weapons Patch (1.24) [24-Jan-2023]
Reply With Quote #72

Code:
1.24 (24-Jan-2023)
    - Added cvar "l4d_incapped_weapons_friendly" to scale friendly fire damage from incapped Survivors. Requested by "choppledpickusfungus".
__________________
Silvers is offline
choppledpickusfungus
Junior Member
Join Date: Dec 2022
Location: in a cardboard box
Old 01-24-2023 , 15:53   Re: [L4D & L4D2] Incapped Weapons Patch (1.24) [24-Jan-2023]
Reply With Quote #73

Quote:
Originally Posted by Silvers View Post
Code:
1.24 (24-Jan-2023)
    - Added cvar "l4d_incapped_weapons_friendly" to scale friendly fire damage from incapped Survivors. Requested by "choppledpickusfungus".
Thanks Silvers, awesome plugins as always
choppledpickusfungus is offline
TQH
Junior Member
Join Date: May 2021
Location: Vietnam
Old 01-27-2023 , 03:37   Re: [L4D & L4D2] Incapped Weapons Patch (1.24) [24-Jan-2023]
Reply With Quote #74

Can you get rid of the sound while using Adrenaline?
https://youtu.be/qymn6S5gFvM
TQH is offline
knifeeeee
Junior Member
Join Date: Aug 2022
Old 01-31-2023 , 22:08   Re: [L4D & L4D2] Incapped Weapons Patch (1.24) [24-Jan-2023]
Reply With Quote #75

hey there is a little problem
PHP Code:
L 02/01/2023 09:55:26SourceMod error session started
L 02
/01/2023 09:55:26Info (map "c2m1_highway") (file "/root/qiumingshan/l4d2/left4dead2/addons/sourcemod/logs/errors_20230201.log")
L 02/01/2023 09:55:26: [SMException reportedFailed to load 'CanDeploy'byte mis-match 20 (0x90 != 0x8B)
L 02/01/2023 09:55:26: [SMBlamingl4d_incapped_weapons.smx
L 02
/01/2023 09:55:26: [SMCall stack trace:
L 02/01/2023 09:55:26: [SM]   [0SetFailState
L 02
/01/2023 09:55:26: [SM]   [1Line 281l4d_incapped_weapons.sp::OnPluginStart
L 02
/01/2023 09:55:26: [SMUnable to load plugin "l4d_incapped_weapons.smx"Error detected in plugin startup (see error logs)
L 02/01/2023 10:02:16Error log file session closed
knifeeeee is offline
Franco20
Member
Join Date: Nov 2022
Old 02-08-2023 , 17:02   Re: [L4D & L4D2] Incapped Weapons Patch (1.24) [24-Jan-2023]
Reply With Quote #76

Does anyone know what the code to lock main weapons is? I just want to use melee weapons when we fall on the ground due to incapacitation.
Franco20 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-08-2023 , 17:35   Re: [L4D & L4D2] Incapped Weapons Patch (1.24) [24-Jan-2023]
Reply With Quote #77

Quote:
Originally Posted by TQH View Post
Can you get rid of the sound while using Adrenaline?
https://youtu.be/qymn6S5gFvM
I don't see what's wrong, isn't that default sound of Adrenaline? Just seems distorted on your video.


Quote:
Originally Posted by knifeeeee View Post
hey there is a little problem
Makes no sense why this would happen unless you had 2 copies of the same plugin running.


Quote:
Originally Posted by Franco20 View Post
Does anyone know what the code to lock main weapons is? I just want to use melee weapons when we fall on the ground due to incapacitation.
Use the "l4d_incapped_weapons_restrict" cvar to restrict everything except melee weapons. They would be required to have a melee weapon for it to work, otherwise the game will let them use their pistol.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-19-2023 , 11:35   Re: [L4D & L4D2] Incapped Weapons Patch (1.26) [19-Feb-2023]
Reply With Quote #78

Code:
1.26 (19-Feb-2023)
    - Various small fixes with late loading and unloading the plugin.
    - Fixed cvar "l4d_incapped_weapons_friendly" not correctly calculating damage applied to Survivors from weapons.
    - L4D2: Fixed Survivors not taking damage from incapped players. Thanks to "BystanderZK" for reporting and "Marttt" for testing on Linux.
    - L4D2: GameData file updated.
Code:
1.27 (20-Feb-2023)
    - L4D2: Fixed Survivors not taking damage from incapped players when reviving them. Thanks to "Lux" and "Psyk0tik" for help.
    - L4D2: GameData file updated.
__________________

Last edited by Silvers; 02-20-2023 at 05:13.
Silvers is offline
Franco20
Member
Join Date: Nov 2022
Old 04-11-2023 , 12:54   Re: [L4D & L4D2] Incapped Weapons Patch (1.28) [10-Mar-2023]
Reply With Quote #79

what is the code to lock main weapons i only want to use melee weapons l4d_incapped_weapons_restrict "12,24,30,31,31,15,23"
which one is missing??
Franco20 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 04-17-2023 , 01:41   Re: [L4D & L4D2] Incapped Weapons Patch (1.28) [10-Mar-2023]
Reply With Quote #80

Quote:
Originally Posted by Franco20 View Post
what is the code to lock main weapons i only want to use melee weapons l4d_incapped_weapons_restrict "12,24,30,31,31,15,23"
which one is missing??
Quote:
Originally Posted by Silvers View Post

Spoiler
__________________
HarryPotter 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 15:43.


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