AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D & L4D2] Incapped Meds munch (https://forums.alliedmods.net/showthread.php?t=109655)

AtomicStryker 11-20-2009 03:36

[L4D & L4D2] Incapped Meds munch
 
15 Attachment(s)
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

Visual77 11-20-2009 04:31

Re: [L4D2] Incapped Meds munch
 
Good job. Thanks :up:

MikesTooLz 11-20-2009 10:46

Re: [L4D2] Incapped Meds munch
 
Sweet, thanks a lot.

Dragonshadow 11-20-2009 21:49

Re: [L4D2] Incapped Meds munch
 
if you have adren does it still give you the speedboost?

AtomicStryker 11-21-2009 07:55

Re: [L4D2] Incapped Meds munch
 
No. Pills and Adrenaline work alike - they put you on your feet with "whatever survivor_revive_health is set to" temporary health.

Thraka 11-21-2009 19:32

Re: [L4D2] Incapped Meds munch
 
Stupid valve removed survivor_revive_successive_penalty. :(

AtomicStryker 11-22-2009 05:39

Re: [L4D2] Incapped Meds munch
 
You can code that in yourself easily, just hook revive_success, read m_currentReviveCount and set m_healthBuffer

delirium_trigger 11-22-2009 08:51

Re: [L4D2] Incapped Meds munch
 
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.

Thraka 11-22-2009 21:28

Re: [L4D2] Incapped Meds munch
 
I know, I just think it's stupid they removed it... Why not just set it to 0 and leave it in? BAH!

AtomicStryker 12-09-2009 17:37

Re: [L4D2] Incapped Meds munch
 
Big whoop of an update to 1.1.0


Balancing and design changes aswell as new gameplay elements ;)


All times are GMT -4. The time now is 14:59.

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