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

Plutonium

  1. Home
  2. BO2 Client Support
  3. How do you change zombie damage?

How do you change zombie damage?

Scheduled Pinned Locked Moved BO2 Client Support
1 Posts 1 Posters 18 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.
  • GateDiggersundefined Offline
    GateDiggersundefined Offline
    GateDiggers
    wrote last edited by
    #1

    I have this mod for BO1 (I forgot where I got it from) but I want to port it to BO2. I want zombies to do 25 damage that way it takes 4 hits to kill (8 with juggernog). Increasing the max health causes juggernog to reset the health back to default, instead of boosting it.

    #include common_scripts\utility; 
    
    init(){ thread infected_dmg(); }
    
    infected_dmg()
    {
    	while(1)
    	{
    		infected = GetAiArray( "axis" );
    		
    		for( i=0;i<infected.size;i++ )
    		{
    			if( is_true( infected[i].meleeDamage ) )
    			{
    				infected[i].meleeDamage = 25; //This value is amount each infected will inflict damage to a player
    			}
    		}
    		wait 0.05;
    	}
    }
    
    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