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 164 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.
  • 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
      • Cahzundefined Offline
        Cahzundefined Offline
        Cahz VIP
        replied to A Former User 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

          • Login

          • Don't have an account? Register

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