Left 4 Dead 2

Left 4 Dead 2

520 ratings
HexToMax's Customizable HP Regen Script
2
3
   
Award
Favorite
Favorited
Unfavorite
Game Content: Items, Scripts, UI
Items: Adrenaline, Pills
File Size
Posted
Updated
179.375 KB
2 Feb, 2023 @ 9:42pm
5 Feb, 2023 @ 3:28am
3 Change Notes ( view )

Subscribe to download
HexToMax's Customizable HP Regen Script

In 1 collection by Hex To Max
HexToMax's script mods
11 items
Description
This mod makes survivor's HP regenerate on a certain condition which you can edit to your taste


[Features]
- You can set specific options like HP threshold, interval, regen value or type.
- You can set a variety of condtions like when on fire, standing still or seized by special infected
- Most of options and conditions can be set separately by survivor's life state(healthy or in black and white)
- You can set extra HP regen when using pain pills and adrenaline separately from main HP regen
- I've made some presets for people who don't like complicated setting or confused by lots of options


[Instructions on commands]
- You can see all commands in here
- All commands are host-only and detected by typing to chat box
- The value of all commands will be saved automatically right after typed so you don't have to type repeatedly every time create a room
(the path: ~\Left 4 Dead 2\left4dead2\ems\hpregen_hextomax\[command name].txt)
- The value of all commands must be integer
- By typing only the command you can see a brief description about it in game


[Commands]
those use too many lines so GO TO HERE


[Presets]
- You can see all commands of each preset in here

!hpregen_preset_default - all commands go back to default value

!hpregen_preset_1 - Modern Warfare like preset
HP regenerates by 10 every 3 seconds and regeneration will stop for 10 seconds when taking damage

!hpregen_preset_2 - Delayed effect of pain pills and adrenaline
No HP regeneration and the effect of pain pills and adrenaline appears over 5 seconds

!hpregen_preset_3 - Only to prevent very slow move when HP is 1
When HP is only 1 it will regenerate to 2

!hpregen_preset_4 - Slow heal when don't move
HP will regenerate by 5 every 4 seconds when the survivor is standing still

!hpregen_preset_5 - Good thing I'm indestructible
HP regenerates by 100 every second


!!! This addon is server-side script. It means this will work only if you create a local server
60 Comments
RiceIsNice 19 Jun @ 9:09am 
everytime resets when i enter next fucking map
悄悄 13 May @ 7:49pm 
第四项还可以用,站立不动每4秒回5点血
good running👌!hpregen_preset_4
菜菜子 28 Mar @ 11:59am 
not working
OxyFoxy 20 Mar @ 7:19am 
So, for everything to work, you need to install the mod itself. Next, you log into the game, launch the map, in the game CHAT, not in the CONSOLE, write to the chat — !hpregen_enable 1, then go to the chat, write the commands YOU need from the list suggested by the author, and the mod will automatically write them to the settings folder. After logging into the game, you don't need to write anything again, everything will load automatically. It is a pity that the author did not write such a simple instruction. Overall, thanks for the mod =)
Orion 22 Feb @ 12:55pm 
n. o.
Fizzie 20 Feb @ 6:17pm 
Is there a way to enable/disable certain characters' health from regenerating?
Crusader 4 Nov, 2024 @ 8:31am 
NoT wOrKiNg
T626 23 Oct, 2024 @ 6:50am 
I just don't get it. I copied and pasted all of preset 5 (GOOD THING I'M INDESTRUCTIBLE) into this mod's ems file and despite typing in the command, "!hpregen_enable 1", into the in-game chat repeatedly, it's still not working. What am I doing wrong?!
Antares_Pixel 12 Oct, 2024 @ 2:57pm 
it's not working
Theikos ⁧⁧Progonos 28 Sep, 2024 @ 4:44am 
nunca me sirvio de nada -_- prefiero crear vampire mode