KF hi im using scrnbalance and i want learn players health add when they level up

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

book3062

FNG / Fresh Meat
Feb 5, 2015
3
0
0
sorry for my poor english and use this site


im used scrnbalance mut and i complecated decomplie


so i wanted souce code to players add 1 health when they are level up!


but i don know what to do to add in scrnvet..uc and etc..


if you know what to add souce code than i very appriciate it


and very thank you


thanks


(my servers level is 6~100 )
 
Last edited:

poosh

Grizzled Veteran
Jan 6, 2011
3,404
327
83
You're right: it is hard to understand you :p

If I got it right, then you want to add +1% to max health per each level? If true, then you need to put this function inside your perk code:
Code:
static function float HealthMaxMult(KFPlayerReplicationInfo KFPRI, Pawn P)
{
    return 1.0 + 0.01*GetClientVeteranSkillLevel(KFPRI);
}