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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Easy way to cap zombie health?

Easy way to cap zombie health?

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
4 Posts 2 Posters 51 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.
  • DedinsideYTundefined Offline
    DedinsideYTundefined Offline
    DedinsideYT
    wrote last edited by
    #1

    I dont know how to code, and i just want to use zm_weapons as my only mod (that you have to manually load on menu) And i cant find a way to get a zombie health cap mod working. I dont want to use cold war mod or the reimagined mod. Im trying to grab the zombie section out of their code and put it into jug upgrade but it doesnt seem to do anything. Please can someone help me? I dont want to host a dedicated and learn how to do that just for the configuration tool mod for dedicated servers. All i need is zombie health capped at like 10000 or something.

    1 Reply Last reply
    0
    • DedinsideYTundefined Offline
      DedinsideYTundefined Offline
      DedinsideYT
      wrote last edited by
      #2

      This is what im throwing onto the bottom of my jugupgrade mod, as said tho it doesnt seem to do anything, I pulled this from the cold war zombies mod. and i changed the value from 10000 to 1 to test if its working easier.

      zombies()
      {
      level endon("end_game");
      self endon("disconnect");
      for(;;)
      {
      level waittill("start_of_round");
      if(level.zombie_health > 1)
      {
      level.zombie_health = 1;
      }
      wait 0.05;
      }
      }

      1 Reply Last reply
      0
      • DedinsideYTundefined Offline
        DedinsideYTundefined Offline
        DedinsideYT
        wrote last edited by
        #3

        If someone could just make a simple zombie health cap mod that would be incredible.

        1 Reply Last reply
        0
        • Decundefined Offline
          Decundefined Offline
          Dec
          Contributor
          wrote last edited by Dec
          #4

          Not sure if it will work havnt tested it myself

          zombies()
          {
              while (true) {
                  level waittill("start_of_round");
          
                  foreach(zombie in getaiarray("axis"))
                  {
                      zombie.health = 1;
                  }
              }
          }
          
          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