About:
Digestion rewards infected for attacking survivors by giving them health back for damage dealt. Cvar to control how much health infected get back. Infected can become overhealed. Infected can get bonus health for killing/incapping survivors.
Cvars: sm_digestion_version - Plugin Version
sm_digestion_hunter_heal - (default 0.5) Amount of damage converted to health. 0.1 is 10%, 0.5 is 50%, 1.0 is 100%, etc. sm_digestion_hunter_healmaxhp - (default 3x normal max HP) Hunter max HP sm_digestion_hunter_incap - (default 50% normal max HP) How much bonus health Hunters get for incapping a survivor. sm_digestion_hunter_kill - (default 100% normal max HP) How much bonus health Hunters get for killing a survivor. sm_digestion_hunter_enable - (default 1) Enable Hunter Digestion
Changelog:
0.1 - 14 views
- Initial version
1.0 - 22 views
- Fixed out of bounds healing where a player get so much health they go to low health
1.0.5 - 9 views
- Fixed trying to get world entity's health
1.1 - 89 views
- Fixed other world entity bugs
- Added player checks
- Added Incap/Kill bonus health for infected
1.2
- Added individual cvars for all special infected
- Changed bonus hp chat messages to hint messages
To Do:
Currently taking feature requests
Install
Place l4d2_digestion.smx in sourcemod/plugins and delete plugin.l4d2_digestion.cfg in cfg/sourcemod.