Why this game too hard for me?
Can we have a function to recover our HP just like some FPS games?
You know, in some FPS games, if you didn't been attack you will recover you HP by deep breath...XD
So why we can't find a safe place and drink some cola and take a rest?(just kidding...)
OK,let's our plugin:
"l4d_recovery_hp_enable", "1", "0:disable health, 1:enable"
"l4d_recovery_hp_add1", "5", "when hp lower than l4d_recovery_hp_limit1,hp recovery, 0:disable"
"l4d_recovery_hp_add2", "2", "when hp lower than l4d_recovery_hp_limit2,hp recovery, 0:disable"
"l4d_recovery_hp_add3", "1", "when hp lower than l4d_recovery_hp_limit3,hp recovery, 0:disable"
"l4d_recovery_hp_duration", "10", "hp recovery for every 10 seconds"
"l4d_recovery_hp_limit1", "25", "hp limit1"
"l4d_recovery_hp_limit2", "45", "hp limit2"
"l4d_recovery_hp_limit3", "85", "hp limit3"
"l4d_recovery_hp_max", "100", "if survivors' hp more than this, plugin stop."
these digital controlled by cfg(I think these needn't some cmd to change in game(I'm lazy XD))
(My English is bad, but I have Google translator.....)
This is my first time release plugin(In fact today is my first day since I had registered~~~)
So though I have some useful idea, I'm not write in script because I don't want to make mistake.
Hope this plugin is useful for you.
If something goes wrong, welcome feed back.
Next time I will do better~~~
I have many interesting plugins and if anybody want some useful plugins, just ask me.
My steam url:
https://steamcommunity.com/profiles/76561198157609813/