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

[L4D & L4D2] Item Drop


Post New Thread Reply   
 
Thread Tools Display Modes
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
2374
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    disabled in versus mode.
    Old 06-11-2011 , 06:09   [L4D & L4D2] Item Drop
    Reply With Quote #1

    Credits
    Frustian L4D Drop Weapon http://forums.alliedmods.net/showthread.php?t=104114
    kwski43 [L4D2] Caught Item Drop http://forums.alliedmods.net/showthread.php?t=133610
    How To Use:

    Press F quickly or sm_drop : drop your current weapon or give it to someone;

    Descriptions
    1. You can throw away item or give it to other one by command : sm_drop, you should bind it to a key, for example: bind g "say /drop".
    2. If you are pounced by hunter, grabed by smoker, ridden by jockey, carried by charger, hang in ledge, attacked, shoved, incapacitated, exploded by boomer, you drop item randomly base on the settings.
    Convars:
    the default convars is not reasonable please modify it to meet your needs.
    "l4d_drop_enable", "1", " 0:disable item drop, 1:eanble "
    "l4d_drop_hunter", "30.0", "drop probability by hunter pounce [0.0, 100.0]"
    "l4d_drop_boomer", "30.0", "boomer explode"
    "l4d_drop_smoker", "20.0", "smoker drag"
    "l4d_drop_jockey", "20.0", "jockey ride"
    "l4d_drop_charger", "20.0", "charger carray"
    "l4d_drop_tank", "20.0", "tank attack"
    "l4d_drop_ledge_grab", "20.0", "ledge grab"
    "l4d_drop_incap", "20.0", "incapacitated"
    "l4d_drop_explode", "50.0", "hurt by explosion
    "
    "l4d_drop_hurt", "5.0", "attack by infected"
    "l4d_drop_hurt_by_survivor", "30.0", "attack by survivor "
    "l4d_drop_shove_by_infected", "20.0", "shove by infected"
    "l4d_drop_shove_by_survivor", "10.0", "shove by survivor"

    Updates:
    1.1
    add new operation: double click F;
    add support for knife and shield;
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_drop.sp - 5661 views - 22.7 KB)

    Last edited by panxiaohai; 01-06-2012 at 04:43.
    panxiaohai is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 06-11-2011 , 08:25   Re: [L4D & L4D2] Item Drop
    Reply With Quote #2

    or you can make it can drop weapons in every slots randomly,not only the weapon that the player using
    __________________
    alexip121093 is offline
    Send a message via MSN to alexip121093
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-11-2011 , 08:34   Re: [L4D & L4D2] Item Drop
    Reply With Quote #3

    Quote:
    Originally Posted by alexip121093 View Post
    or you can make it can drop weapons in every slots randomly,not only the weapon that the player using
    Yes , you drop weapon randomly except sm_drop?

    Last edited by panxiaohai; 06-11-2011 at 08:56.
    panxiaohai is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 06-11-2011 , 21:00   Re: [L4D & L4D2] Item Drop
    Reply With Quote #4

    Quote:
    Originally Posted by panxiaohai View Post
    Yes , you drop weapon randomly except sm_drop?
    yes
    __________________
    alexip121093 is offline
    Send a message via MSN to alexip121093
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-11-2011 , 21:26   Re: [L4D & L4D2] Item Drop
    Reply With Quote #5

    Quote:
    Originally Posted by alexip121093 View Post
    or you can make it can drop weapons in every slots randomly,not only the weapon that the player using
    Do you mean drop weapons randomly when using sm_drop command?
    panxiaohai is offline
    paul92
    Senior Member
    Join Date: Sep 2010
    Old 06-12-2011 , 06:24   Re: [L4D & L4D2] Item Drop
    Reply With Quote #6

    Quote:
    Originally Posted by panxiaohai View Post
    Do you mean drop weapons randomly when using sm_drop command?
    No, i suppose he means that instead of dropping your current weapon (that you are holding) you can drop something else... This should work only by external reason, not by typing "sm_drop".

    Esample:

    I have the ak47, a magnum, and a medkit. I'm using the ak47. If i write sm_drop, i drop ONLY the ak47 (because i'm using it). If a tank attacks me, or a hunter pounce me, i can drop the ak47, or the magnum, or the medkit, also if i'm using the ak47.
    paul92 is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-12-2011 , 21:29   Re: [L4D & L4D2] Item Drop
    Reply With Quote #7

    Quote:
    Originally Posted by paul92 View Post
    No, i suppose he means that instead of dropping your current weapon (that you are holding) you can drop something else... This should work only by external reason, not by typing "sm_drop".

    Esample:

    I have the ak47, a magnum, and a medkit. I'm using the ak47. If i write sm_drop, i drop ONLY the ak47 (because i'm using it). If a tank attacks me, or a hunter pounce me, i can drop the ak47, or the magnum, or the medkit, also if i'm using the ak47.
    Yes, this plugins do this, if you are hurting you may drop item randomly.

    Last edited by panxiaohai; 06-12-2011 at 21:32.
    panxiaohai is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 06-12-2011 , 21:36   Re: [L4D & L4D2] Item Drop
    Reply With Quote #8

    you still cant get the meaning ?
    Example:

    I have the ak47, a magnum, and a medkit. I'm using the ak47. If i write sm_drop, i drop ONLY the ak47 (because i'm using it). If a tank attacks me, or a hunter pounce me, i can randomly drop the ak47, or the magnum, or the medkit, also if i'm using the ak47.
    __________________
    alexip121093 is offline
    Send a message via MSN to alexip121093
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-12-2011 , 22:09   Re: [L4D & L4D2] Item Drop
    Reply With Quote #9

    Quote:
    Originally Posted by alexip121093 View Post
    you still cant get the meaning ?
    Example:

    I have the ak47, a magnum, and a medkit. I'm using the ak47. If i write sm_drop, i drop ONLY the ak47 (because i'm using it). If a tank attacks me, or a hunter pounce me, i can randomly drop the ak47, or the magnum, or the medkit, also if i'm using the ak47.
    Thank your detailed explanation.
    this plugins:
    1. if you type sm_drop, you drop only your weapon you are holding.
    2. if you type sm_drop when face to some body, you give your weapon to her.
    3. if you pounced by hunter, grabed by smoker, ridden by jockey, carried by charger, or hang in ledge, you drop you are holding , because I think in this situation, your hands can not hold any thing.
    4. if you are be attacked, shoved, incapacitated, exploded by boomer, you drop item randomly.
    If they have any unreasonable, please let me know, and I sm sorry for my bad English.

    Last edited by panxiaohai; 06-12-2011 at 22:14.
    panxiaohai is offline
    pistelero
    Junior Member
    Join Date: Jul 2011
    Old 07-24-2011 , 18:24   Re: [L4D & L4D2] Item Drop
    Reply With Quote #10

    hi there everything works but one really annoying thing about this is that if
    you get hit twice and have no items you walk around like a cardboard cut out till you pick up a weapon....

    i run a 4 player coop server with more zombies and the bots are walking round like this when they have no items ruins this great mod and realism factor that im going for on my server.

    is there easy way to fix this or could someone help me out. ?

    thanks pistelero
    pistelero 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 16:15.


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