Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. Enhanced Quick Revive

Enhanced Quick Revive

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
1 Posts 1 Posters 22 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Keyhart1997undefined Offline
    Keyhart1997undefined Offline
    Keyhart1997
    wrote last edited by
    #1

    This script uses a unused perk specialty_healthregen to 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" );
    
        }
    }
    
    1 Reply Last reply
    0

    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
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Unread 0
    • Recent
    • Tags
    • Popular
    • Users
    • Groups