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