[Zombies] Don't lose perks when being revived
-
Does anyone know of any gsc events that inform when the player is revived by another in the middle of the round?
I managed to generate a script that gives perks to players when spawning, but not when it is revived, when that happens it loses all perks -
peximaximum waittill( "player_revived" );
-
necropost? anyways im in need of a script that lets u keep perks after revive. Did you figure it out?
-
-
In my Configuration Mod I added a new feature which should allow players to keep their perks when they are revived on most maps excluding MoTD since that map has custom revive logic.
-
JezuzLizard yea i tried it it didnt work. I added the init files from your mod to my files and specific things i wanted from the dedicated_zm files including playermaxhealth, playerretainperks, and deadshot accuracy, and none of those 3 worked. Everything else did though. (I even tried adding the playerretainperks into the main based on the playermaxhealth script
level.cmPlayerRetainPerks = getDvarIntDefault( "cmPlayerRetainPerks", 1 );
no work
-
@Hobo-Tim
Look at the decompiled : \maps\mp\zombies_zm_pers_upgrades_functions.gsc
In bo2 there's a perma perk that gives you the ability to keep perks even after you get downed. (but idk the name)
I think the function is pers_upgrade_perk_lose_restore
You could try to look there in my opinion and adapt the function to your project. -
I got keep all perks workin with cahz's help, but now i need the health settings to work. Player max health doesnt work, and i dont think the jugg health bonus works either.