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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. I need help setting the number of zombies per round. I used this code and complied it but it doesn't work on servers.

I need help setting the number of zombies per round. I used this code and complied it but it doesn't work on servers.

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
4 Posts 2 Posters 349 Views
  • 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.
  • A Former User? Offline
    A Former User? Offline
    A Former User
    wrote on last edited by
    #1
    #include maps\mp\_utility;
    #include common_scripts\utility;
    #include maps\mp\zombies\_zm_utility;
    #include maps\mp\zombies\_zm;
    
    init()
    {
    	//enables the override for zombies per round
    	level.cmZombieTotalPermanentOverride = getDvarIntDefault( "cmZombieTotalPermanentOverride", 0 );
    	//sets the number of zombies per round to the value indicated
    	level.cmZombieTotalPermanentOverrideValue = getDvarIntDefault( "cmZombieTotalPermanentOverrideValue", 6 );
    	
    }
    
    1 Reply Last reply
    0
    • A Former User? Offline
      A Former User? Offline
      A Former User
      wrote on last edited by
      #2

      I put this in the config.cfg but it doesn't work.

      set cmZombieTotalPermanentOverride 0
      set cmZombieTotalPermanentOverrideValue 1
      

      There's always more than one zombie.

      Does the value have to be the same on _clientids.gsc ?

      Cahzundefined 1 Reply Last reply
      0
      • A Former User? A Former User

        I put this in the config.cfg but it doesn't work.

        set cmZombieTotalPermanentOverride 0
        set cmZombieTotalPermanentOverrideValue 1
        

        There's always more than one zombie.

        Does the value have to be the same on _clientids.gsc ?

        Cahzundefined Offline
        Cahzundefined Offline
        Cahz
        VIP
        wrote on last edited by
        #3

        @Zombeeezees said in I need help setting the number of zombies per round. I used this code and complied it but it doesn't work on servers.:

        set cmZombieTotalPermanentOverride 0

        set cmZombieTotalPermanentOverride 1
        set cmZombieTotalPermanentOverrideValue 1
        
        1 Reply Last reply
        0
        • A Former User? Offline
          A Former User? Offline
          A Former User
          wrote on last edited by
          #4

          The value must be the same for the mod and the config.cfg?

          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
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Donate