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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Making Avogrado spawn a max ammo on death

Making Avogrado spawn a max ammo on death

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
7 Posts 3 Posters 233 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.
  • Lord_Jundefined Offline
    Lord_Jundefined Offline
    Lord_J
    wrote on last edited by
    #1

    Hey I'm pretty new to this stuff and I was hoping someone could help me with this simple change.
    This is all I got so far, I'm really not sure where to start here.

    ade52186-776a-4212-b52a-c1329d49d9a9-image.png

    Kalitosundefined 1 Reply Last reply
    0
    • Pistakillaundefined Pistakilla moved this topic from BO2 Modding Releases & Resources on
    • Lord_Jundefined Offline
      Lord_Jundefined Offline
      Lord_J
      wrote on last edited by
      #2

      Why was this moved to bo1? Avogadro is the boss zombie for transit.

      1 Reply Last reply
      0
      • Xerxesundefined Xerxes moved this topic from BO1 Modding Support & Discussion on
      • Xerxesundefined Offline
        Xerxesundefined Offline
        Xerxes
        Plutonium Staff
        wrote on last edited by
        #3

        It was probably just a miss click.

        1 Reply Last reply
        0
        • Lord_Jundefined Lord_J

          Hey I'm pretty new to this stuff and I was hoping someone could help me with this simple change.
          This is all I got so far, I'm really not sure where to start here.

          ade52186-776a-4212-b52a-c1329d49d9a9-image.png

          Kalitosundefined Offline
          Kalitosundefined Offline
          Kalitos
          wrote on last edited by Kalitos
          #4

          Lord_J Maybe this will help you, I haven't tried it.

          #include maps\mp\_utility;
          #include common_scripts\utility;
          #include maps\mp\zombies\_zm_utility;
          #include maps\mp\zombies\_zm_powerups;
          #include maps\mp\zombies\_zm;
          #include maps\mp\zombies\_zm_ai_avogadro;
          
          init()
          {	
          	level thread avogadro_drop();
          }
          
          avogadro_drop()
          {
          	for(;;)
          	{
          		level waittill( "avogadro_defeated" );
          		level specific_powerup_drop("full_ammo", level.avogadro.origin );
          	}
          }
          
          Lord_Jundefined 1 Reply Last reply
          1
          • Kalitosundefined Kalitos

            Lord_J Maybe this will help you, I haven't tried it.

            #include maps\mp\_utility;
            #include common_scripts\utility;
            #include maps\mp\zombies\_zm_utility;
            #include maps\mp\zombies\_zm_powerups;
            #include maps\mp\zombies\_zm;
            #include maps\mp\zombies\_zm_ai_avogadro;
            
            init()
            {	
            	level thread avogadro_drop();
            }
            
            avogadro_drop()
            {
            	for(;;)
            	{
            		level waittill( "avogadro_defeated" );
            		level specific_powerup_drop("full_ammo", level.avogadro.origin );
            	}
            }
            
            Lord_Jundefined Offline
            Lord_Jundefined Offline
            Lord_J
            wrote on last edited by
            #5

            Kalitos
            You're awesome, but I'm getting a script compiler error/syntax error.
            c9a77ad6-addd-4fb0-abbd-88490489c8ec-image.png

            1 Reply Last reply
            0
            • Xerxesundefined Offline
              Xerxesundefined Offline
              Xerxes
              Plutonium Staff
              wrote on last edited by
              #6

              Replace all / with \

              1 Reply Last reply
              1
              • Lord_Jundefined Offline
                Lord_Jundefined Offline
                Lord_J
                wrote on last edited by
                #7

                You guys are awesome, this works. 👍

                1 Reply Last reply
                1
                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