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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. how to change juggernog max health ?

how to change juggernog max health ?

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
5 Posts 2 Posters 566 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MH11undefined Offline
    MH11undefined Offline
    MH11
    wrote on last edited by
    #1

    hello guys,
    how can i change the max health of players when they have jugger-nog perk?
    can someone give me the gsc file please?

    Kalitosundefined 1 Reply Last reply
    0
    • Kalitosundefined Offline
      Kalitosundefined Offline
      Kalitos
      replied to MH11 on last edited by Kalitos
      #2

      MH11

              //jugg health bonus
      	level.juggHealthBonus = getDvarIntDefault( "juggHealthBonus", 160 );
      	level.zombie_vars[ "zombie_perk_juggernaut_health" ] = level.juggHealthBonus;	
      	//perma jugg health bonus 
      	level.permaJuggHealthBonus = getDvarIntDefault( "permaJuggHealthBonus", 190 );
      	level.zombie_vars[ "zombie_perk_juggernaut_health_upgrade" ] = level.permaJuggHealthBonus;
      
      MH11undefined 1 Reply Last reply
      1
      • MH11undefined Offline
        MH11undefined Offline
        MH11
        replied to Kalitos on last edited by
        #3

        Kalitos can you please explain more?
        what is different between jugg health bonus and perma jugg health bonus?
        the value 160 and 190 will be replace instead of default 250?
        and can you please make it a open source gsc file for me?
        thanks ❤

        Kalitosundefined 2 Replies Last reply
        0
        • Kalitosundefined Offline
          Kalitosundefined Offline
          Kalitos
          replied to MH11 on last edited by
          #4

          MH11 You must set the health you want the player to have when they get the perk.
          I don't know the difference between the two. To not make a problem, set the same health to both dVars

          
          #include maps\mp\_utility;
          #include common_scripts\utility;
          #include maps\mp\gametypes_zm\_hud_util;
          #include maps\mp\gametypes_zm\_hud_message;
          
          init()
          {
              //jugg health bonus
          	level.juggHealthBonus = getDvarIntDefault( "juggHealthBonus", 160 );
          	level.zombie_vars[ "zombie_perk_juggernaut_health" ] = level.juggHealthBonus;	
          	//perma jugg health bonus 
          	level.permaJuggHealthBonus = getDvarIntDefault( "permaJuggHealthBonus", 190 );
          	level.zombie_vars[ "zombie_perk_juggernaut_health_upgrade" ] = level.permaJuggHealthBonus;
          }
          

          Compile the file. Name it whatever you want and put it in the scripts/zm folder

          1 Reply Last reply
          2
          • Kalitosundefined Offline
            Kalitosundefined Offline
            Kalitos
            replied to MH11 on last edited by
            #5

            MH11

            Persistent Jugger-Nog
            Persistent Jugger-Nog is another Persistent Upgrade found in Tranzit mode. This upgrade will allow players to sustain three hits instead of two.

            To obtain this upgrade, players must play Solo and first purchase Quick Revive. After doing so, the player must down himself. As he is revived, a green mist will appear, and the Persistent Upgrade will be obtained. Some players have reported it takes them two downs and two revives to accomplish this.

            1 Reply Last reply
            0

            • Login

            • Don't have an account? Register

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