Left 4 Dead 2

Left 4 Dead 2

95 arvostelua
First aid kits heal to 100 HP
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Game Content: Scripts
Game Modes: Single Player, Co-op
Items: Medkit
Tiedostokoko
Julkaistu
2.344 KB
13.7.2024 klo 17.59
1 muutos ( näytä )

Tilaa ladataksesi
First aid kits heal to 100 HP

Kuvaus
Lets you heal to 100 HP with first aid kits instead of 99
30 kommenttia
Stand Alone 3.6. klo 3.29 
oh thanks!
Geebanger0  [tekijä] 2.6. klo 15.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 1.6. klo 23.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 28.11.2024 klo 10.03 
can you mabe fix it some times ? btw when someone heals it crashed my game
Geebanger0  [tekijä] 1.8.2024 klo 19.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  [tekijä] 1.8.2024 klo 19.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 1.8.2024 klo 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 1.8.2024 klo 10.21 
nope doesnt work either with or without cheats i remember it worked in survival but only once for whatever reason
Geebanger0  [tekijä] 31.7.2024 klo 5.25 
try that, see if it works
Ajiliffe 31.7.2024 klo 5.09 
no