• 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/

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

book3062

FNG / Fresh Meat
Feb 5, 2015
3
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:
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);
}
 
Upvote 0