Enhanced Quick Revive
-
This script uses a unused perk
specialty_healthregento make you heal almost instantly (does not affect the time it takes to start healing). you can check it using a health hud of your choice. Write this code in your %localappdata%\Plutonium\storage\t6\raw\scripts\zm folder, naming it anything with a .gsc prefix.Was inspired and used code from Enhanced SpeedCola by Demios4w4
#include maps\_utility; #include common_scripts\utility; #include maps\_zombiemode_utility; init() { level thread onPlayerConnect(); } onPlayerConnect() { for(;;) { level waittill( "connected", player ); player thread monitorQuickRevivePerks(); } } monitorQuickRevivePerks() { self endon( "disconnect" ); for(;;) { self waittill_any( "perk_acquired", "perk_lost" ); if ( self HasPerk( "specialty_quickrevive" ) ) { if ( !self HasPerk( "specialty_healthregen" ) ) { self SetPerk( "specialty_healthregen" ); } } else { if ( self HasPerk( "specialty_healthregen" ) ) { self UnsetPerk( "specialty_healthregen" ); } } } } perk_give_override( perk ) { self SetPerk( perk ); if ( perk == "specialty_quickrevive" ) { self SetPerk( "specialty_healthregen" ); } } perk_lose_override( perk ) { self UnsetPerk( perk ); if ( perk == "specialty_quickrevive" ) { self UnsetPerk( "specialty_healthregen" ); } }
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login