Left 4 Dead 2

Left 4 Dead 2

First aid kits heal to 100 HP
30 条留言
Stand Alone 6 月 3 日 上午 3:29 
oh thanks!
Geebanger0  [作者] 6 月 2 日 下午 3:46 
Medkits heal you for 80% of your hp. By default, your max health is set to 100. When you try to heal, the game calculates how much health to give you by working out 80% of “100 - your current health”. If you already have 97 health, it tries to get 80% of 3, which gets rounded down to 2, putting you at 99 health. You can’t reach 100, because 80% of 1 is 0.8, which gets rounded to 0.

This script just tells the game that Medkits are allowed to heal you to 101 HP. So at 97hp, the game thinks you’re missing 4 health, and heals you for 80% of 4, which is 3 after rounding, giving you 100hp.
Stand Alone 6 月 1 日 下午 11:42 
does this make them heal you to 100 hp or does it fix that annoying issue of when you heal at like 97 hp it only goes all the way to 99?
T-drift 2024 年 11 月 28 日 上午 10:03 
can you mabe fix it some times ? btw when someone heals it crashed my game
Geebanger0  [作者] 2024 年 8 月 1 日 下午 7:23 
Ok here’s what you could try

Unsubscribe from the mod

Delete it from your addons folder

Resubscribe, and dont sub to any new mods

See if that works
Geebanger0  [作者] 2024 年 8 月 1 日 下午 7:22 
It wouldn’t be listed as a conflict since it’s not replacing any files, just adding a new one. The only way it wouldn’t work is if another mod changed the same cvar, but if this is the one you subscribed to more recently then it should override it
Ajiliffe 2024 年 8 月 1 日 上午 10:23 
it only has 1 line of code how could it not work... and it doesnt conflict with anything (as the game says it, its not red, so no conflicts)
Ajiliffe 2024 年 8 月 1 日 上午 10:21 
nope doesnt work either with or without cheats i remember it worked in survival but only once for whatever reason
Geebanger0  [作者] 2024 年 7 月 31 日 上午 5:25 
try that, see if it works
Ajiliffe 2024 年 7 月 31 日 上午 5:09 
no
Geebanger0  [作者] 2024 年 7 月 31 日 上午 4:48 
have you got sv_cheats on
Ajiliffe 2024 年 7 月 31 日 上午 3:24 
i dont understand what is it could possibly be conflicting with that makes it not work, i dont have any weapon scripts...
Joellis 2024 年 7 月 20 日 下午 5:23 
YES! Thank you for making this possible. :steamthumbsup:
Specters Scream 2024 年 7 月 16 日 下午 4:36 
epik mod
Geebanger0  [作者] 2024 年 7 月 14 日 下午 12:26 
Thanks
2024 年 7 月 14 日 上午 11:32 
Your scripts are good
Geebanger0  [作者] 2024 年 7 月 13 日 下午 10:00 
much obliged
Kaiser Adradum 2024 年 7 月 13 日 下午 9:19 
you make the best scripts bro
UnamedWitch 2024 年 7 月 13 日 下午 9:07 
wow
Pwnage Peanut 2024 年 7 月 13 日 下午 8:56 
Hmm

I think you need sv_cheats 1 for it to work
Skully Graves 2024 年 7 月 13 日 下午 8:55 
PErfect.
Kupi 2024 年 7 月 13 日 下午 8:52 
After more than 10+ years, finally, my brain will be pleased.
brandon6875935 2024 年 7 月 13 日 下午 8:46 
yippee
blue master 2024 年 7 月 13 日 下午 8:44 
HEHEHEHEEE
Mr. Reias 2024 年 7 月 13 日 下午 8:44 
Powerful Pyro, I guess its for "Balance" and all that crap... yet, It's for single player modes so what if ye want the first crap kit to heal up to 100, like, it's never gonna work online or versus.
Geebanger0  [作者] 2024 年 7 月 13 日 下午 8:42 
@PowerfulPyro the first aid kit is set by default to heal you for 80% of your missing health, to a maximum of 100. If you're on 99 health, you're only missing 1, and 80% of 1 is less than 1 so you can't be healed (thats whats happening as far as im aware).
THE PENGUIN 2024 年 7 月 13 日 下午 8:06 
n ice
Pwnage Peanut 2024 年 7 月 13 日 下午 8:04 
Mind = Blown
PowerfulPyro 2024 年 7 月 13 日 下午 8:03 
good mod
PowerfulPyro 2024 年 7 月 13 日 下午 8:03 
wonder why the first aid kit doesn't do this in the first place