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

[L4D & L4D2] Incapped Meds munch


Post New Thread Reply   
 
Thread Tools Display Modes
Author
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Plugin ID:
1283
Plugin Version:
1.1.9
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    340 
    Plugin Description:
    Old 11-20-2009 , 03:36   [L4D & L4D2] Incapped Meds munch
    Reply With Quote #1

    Similar to Incapped Pills Pop, but has been updated with the new Infected events, descriptions have been updated since Adrenaline was introduced, and i changed the name.


    In short: If you have Pills or Adrenaline, you can stand up from Incaps by yourself holding USE. This doesn't reset the Knockdown counter, which means you can get Black-and-White by doing this.


    Many many functions version 1.1.0 introduces:

    • reviving yourself is not instant anymore, but creates a progress bar and can be interrupted
    • being interrupted causes you to drop your meds to the floor
    • you can pass meds to incapped people by looking at them and pressing melee
    • chat notifications for just about anything



    Convars:
    l4d2_incappedmedsmunch_delaytime (default 5) - how long before an incapped Survivor gets the announcement and can use his meds
    l4d2_incappedmedsmunch_duration (default 3) - how long reviving yourself takes
    l4d2_incappedmedsmunch_dropmeds (default 1) - does being interrupted cause you to drop meds


    Changelog:
    1.0.0 - release
    1.1.0 - look above
    1.1.1 - altered chat prints to be clearer, slight tweak for L4D compatibility
    1.1.2 - added med dropping cvar, altered chat prints to only advert pills if you can actually use them right away
    1.1.3 - removed self-ledge-save by pills possibility
    1.1.4 - some bugfixing
    1.1.5 - now uses SDKCall to revive and coolsauce way of checking reviving/pouncing/riding etc etc, fixes the BW issue, also found the cause for the crashes. NOW REQUIRES GAMEDATA FILE
    1.1.6 - bugfixes to passing Meds and removing Meds
    1.1.7 - bugfixing
    1.1.8 - bugfix regarding 'incapped' tanks
    1.1.9 - small bugfix with people leaving during munching
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_incappedmedsmunch.sp - 8974 views - 12.7 KB)
    File Type: txt l4d2medsmunch.txt (470 Bytes, 3565 views)

    Last edited by AtomicStryker; 07-05-2013 at 16:09.
    AtomicStryker is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 11-20-2009 , 04:31   Re: [L4D2] Incapped Meds munch
    Reply With Quote #2

    Good job. Thanks
    Visual77 is offline
    MikesTooLz
    Member
    Join Date: May 2009
    Old 11-20-2009 , 10:46   Re: [L4D2] Incapped Meds munch
    Reply With Quote #3

    Sweet, thanks a lot.
    MikesTooLz is offline
    Dragonshadow
    BANNED
    Join Date: Jun 2008
    Old 11-20-2009 , 21:49   Re: [L4D2] Incapped Meds munch
    Reply With Quote #4

    if you have adren does it still give you the speedboost?
    Dragonshadow is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 11-21-2009 , 07:55   Re: [L4D2] Incapped Meds munch
    Reply With Quote #5

    No. Pills and Adrenaline work alike - they put you on your feet with "whatever survivor_revive_health is set to" temporary health.
    AtomicStryker is offline
    Thraka
    AlliedModders Donor
    Join Date: Aug 2005
    Old 11-21-2009 , 19:32   Re: [L4D2] Incapped Meds munch
    Reply With Quote #6

    Stupid valve removed survivor_revive_successive_penalty.
    Thraka is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 11-22-2009 , 05:39   Re: [L4D2] Incapped Meds munch
    Reply With Quote #7

    You can code that in yourself easily, just hook revive_success, read m_currentReviveCount and set m_healthBuffer
    AtomicStryker is offline
    delirium_trigger
    SourceMod Donor
    Join Date: Apr 2009
    Location: Washington
    Old 11-22-2009 , 08:51   Re: [L4D2] Incapped Meds munch
    Reply With Quote #8

    Thanks! This will come in handy in Realism Mode lol. Is it just me or is L4D2 much more difficult, even on Expert? Dark Carnival was a pain for me.
    delirium_trigger is offline
    Thraka
    AlliedModders Donor
    Join Date: Aug 2005
    Old 11-22-2009 , 21:28   Re: [L4D2] Incapped Meds munch
    Reply With Quote #9

    I know, I just think it's stupid they removed it... Why not just set it to 0 and leave it in? BAH!
    Thraka is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 12-09-2009 , 17:37   Re: [L4D2] Incapped Meds munch
    Reply With Quote #10

    Big whoop of an update to 1.1.0


    Balancing and design changes aswell as new gameplay elements ;)
    AtomicStryker 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:04.


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