Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO1 Modding Releases & Resources
  3. BO3's 3-Hit System & increased health for Juggernog on BO1!

BO3's 3-Hit System & increased health for Juggernog on BO1!

Scheduled Pinned Locked Moved BO1 Modding Releases & Resources
2 Posts 2 Posters 123 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.
  • Coronavirus-19undefined Offline
    Coronavirus-19undefined Offline
    Coronavirus-19
    wrote last edited by Coronavirus-19
    #1

    This script overrides the health function and increases it to 150 HP then 300 HP when Juggernog is obtained. Also properly resets when downed and revived!

    Installation

    Plutonium/storage/t5/scripts/sp

    BO3 3-Hit System GSC Script

    Raw Code

    #include maps\_utility;
    
    init()
    {
        level thread on_player_connect();
    }
    
    on_player_connect()
    {
        for (;;)
        {
            level waittill("connected", player);
            player thread health_controller();
        }
    }
    
    health_controller()
    {
        self endon("disconnect");
    
        for (;;)
        {
            wait 0.05;
    
            // Determine max HP
            if (self hasperk("specialty_armorvest"))
            {
                self.maxhealth = 300;
            }
            else
            {
                self.maxhealth = 150;
            }
    
            // Force regen override
            if (self.health < self.maxhealth && self.health > 0)
            {
                self.health += 2;
    
                if (self.health > self.maxhealth)
                {
                    self.health = self.maxhealth;
                }
            }
        }
    }
    
    
    1 Reply Last reply
    0
    • Coronavirus-19undefined Coronavirus-19 referenced this topic
    • hzp13undefined Offline
      hzp13undefined Offline
      hzp13
      wrote last edited by
      #2

      This is great for us to experience bo1 zombies with some bo3 features. But it has a problem: shouldn't we get a red screen after the second hit? I mean it serves the purpose to warn you that you are in your last hit.

      1 Reply Last reply
      0
      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
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Donate