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

[L4D & L4D2] Caught Item Drop


Post New Thread Reply   
 
Thread Tools Display Modes
terminator2k2
Senior Member
Join Date: Feb 2010
Old 10-03-2010 , 07:29   Re: [L4D2] Caught Item Drop (1.1)
Reply With Quote #11

thank you will give it a try.....

got to say that was a super quick reply....

and a very good plugin.....

thanks

Last edited by terminator2k2; 10-03-2010 at 07:32.
terminator2k2 is offline
TristamID
New Member
Join Date: Nov 2010
Old 12-02-2010 , 01:14   Re: [L4D2] Caught Item Drop (1.1)
Reply With Quote #12

Thanks for this plugin, I use it all the time and love it.

I like to request a version of the plugin that has a chance setting for drops. Like you drop primary weapons 1/4 of the time instead of every time, and have the ability to config which items drop at which rates.

Thank you.
TristamID is offline
luhvin278
New Member
Join Date: Nov 2021
Old 11-06-2021 , 07:19   Re: [L4D & L4D2] Caught Item Drop
Reply With Quote #13

Haven't seen OP updated this mod in a long time so figured I'd try to update it myself. Added support for the new TLS weapons (knife, shovel, pitchfork) as well as the hidden melee weapons as well (riot shield and didgeridoo). Not super tech savvy or anything, just following guides from other forums.

Let me know if there are any issues with it.
Attached Files
File Type: smx l4d2_caughtitemdrop.smx (8.0 KB, 54 views)
File Type: sp Get Plugin or Get Source (l4d2_caughtitemdrop.sp - 87 views - 13.6 KB)
luhvin278 is offline
kahdeg
Junior Member
Join Date: Oct 2021
Old 11-07-2021 , 02:24   Re: [L4D & L4D2] Caught Item Drop
Reply With Quote #14

Add chance for drop for each type of SI.
Use new syntax.

PHP Code:
// Chance of item dropping when pummelled?
// -
// Default: "100"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d2_ciw_droponcharger "100"

// Chance of item dropping when pounced?
// -
// Default: "100"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d2_ciw_droponhunter "100"

// Chance of item dropping when jockeyed?
// -
// Default: "100"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d2_ciw_droponjockey "100"

// Chance of item dropping when dragged?
// -
// Default: "100"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d2_ciw_droponsmoker "100" 
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_caughtitemdrop.sp - 102 views - 14.0 KB)
File Type: zip l4d2_caughtitemdrop.zip (11.9 KB, 71 views)

Last edited by kahdeg; 11-07-2021 at 02:27.
kahdeg is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 11-07-2021 , 13:15   Re: [L4D & L4D2] Caught Item Drop
Reply With Quote #15

Quote:
Originally Posted by luhvin278 View Post
Haven't seen OP updated this mod in a long time so figured I'd try to update it myself. Added support for the new TLS weapons (knife, shovel, pitchfork) as well as the hidden melee weapons as well (riot shield and didgeridoo). Not super tech savvy or anything, just following guides from other forums.

Let me know if there are any issues with it.
What will happen if I use this along side with weapon drop? Does this also cover what this mod is doing?

Good job btw
__________________

Looking for some fun!

Last edited by thewintersoldier97; 11-07-2021 at 13:15.
thewintersoldier97 is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 11-07-2021 , 14:40   Re: [L4D2] Caught Item Drop (1.1)
Reply With Quote #16

Quote:
Originally Posted by kwski43 View Post
I think yes.

Tank o0? Wth, you mean punched survivor will drop item? okay, can be done
With incap i was thinking about droping everything xD
It makes sense if you drop something while standing and being pounced / charged, etc... But not if you're down because you don't have the capacity to drop it farther than your immediate position.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
luhvin278
New Member
Join Date: Nov 2021
Old 11-08-2021 , 10:38   Re: [L4D & L4D2] Caught Item Drop
Reply With Quote #17

Quote:
Originally Posted by thewintersoldier97 View Post
What will happen if I use this along side with weapon drop? Does this also cover what this mod is doing?

Good job btw
I also use that weapon drop mod along with the caught item drop mod and so far I haven't stumbled upon any issues (yet). As for that mod, it's something else completely different though. Plus I've tried it before and it's a bit random sometimes so I use this one instead.
luhvin278 is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 11-08-2021 , 12:15   Re: [L4D & L4D2] Caught Item Drop
Reply With Quote #18

Quote:
Originally Posted by luhvin278 View Post
I also use that weapon drop mod along with the caught item drop mod and so far I haven't stumbled upon any issues (yet). As for that mod, it's something else completely different though. Plus I've tried it before and it's a bit random sometimes so I use this one instead.
Nice, so that means if I'm using your mod, when a survivor dies the secondary weapons is dropped?

Is kahdeg's version the same as your with some more convar added?

Also the weapons drop while incap is somewhat crazy, being not able to defend ourselves like that.
__________________

Looking for some fun!

Last edited by thewintersoldier97; 11-08-2021 at 12:19.
thewintersoldier97 is offline
kahdeg
Junior Member
Join Date: Oct 2021
Old 11-08-2021 , 15:56   Re: [L4D & L4D2] Caught Item Drop
Reply With Quote #19

Quote:
Originally Posted by thewintersoldier97 View Post
Nice, so that means if I'm using your mod, when a survivor dies the secondary weapons is dropped?

Is kahdeg's version the same as your with some more convar added?

Also the weapons drop while incap is somewhat crazy, being not able to defend ourselves like that.
I just copy luhvin278 code and add logic to allow chance based item dropping.
The code concerning item drop is unchanged.
kahdeg is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 11-08-2021 , 22:06   Re: [L4D & L4D2] Caught Item Drop
Reply With Quote #20

Quote:
Originally Posted by kahdeg View Post
I just copy luhvin278 code and add logic to allow chance based item dropping.
The code concerning item drop is unchanged.
Thanks for answering Testing it rn. Great work you guys!
__________________

Looking for some fun!
thewintersoldier97 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 08:45.


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