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

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. Remove Zombie Dying by Himself

Remove Zombie Dying by Himself

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
51 Posts 10 Posters 5.2k Views 3 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.
  • Ivobardolfundefined Ivobardolf

    Izi selva np 👍
    yeah you have to make a folder for every map so that you can load other maps without having to swap files in and out.

    zombies don't die if they are damaged right?

    Izi selvaundefined Offline
    Izi selvaundefined Offline
    Izi selva
    wrote on last edited by
    #38

    Ivobardolf said in Remove Zombie Dying by Himself:

    np
    yeah you have to make a folder for every map so that you can load other maps without having to swap files in and out.

    zombies don't die if they are damaged right?

    yeah the zombies not die being injures, how is that of make folder for each gsc? i use tomb.gsc if i going to play origins, if not i delete tomb gsc of scrips folder and add for example tranzit.cfg, continue continue... showme how can have all scrips without errors please, thanks

    Ivobardolfundefined 1 Reply Last reply
    0
    • Izi selvaundefined Izi selva

      Ivobardolf said in Remove Zombie Dying by Himself:

      np
      yeah you have to make a folder for every map so that you can load other maps without having to swap files in and out.

      zombies don't die if they are damaged right?

      yeah the zombies not die being injures, how is that of make folder for each gsc? i use tomb.gsc if i going to play origins, if not i delete tomb gsc of scrips folder and add for example tranzit.cfg, continue continue... showme how can have all scrips without errors please, thanks

      Ivobardolfundefined Offline
      Ivobardolfundefined Offline
      Ivobardolf
      wrote on last edited by
      #39

      Izi selva good to know, the folders are like this:
      MapFolders.PNG

      zm_transit --> Tranzit
      zm_nuked --> Nuketown
      zm_highrise --> Die Rise
      zm_prison --> Mob of the Dead
      zm_buried --> Buried
      zm_tomb --> Origins

      Izi selvaundefined 2 Replies Last reply
      0
      • Ivobardolfundefined Ivobardolf

        Izi selva good to know, the folders are like this:
        MapFolders.PNG

        zm_transit --> Tranzit
        zm_nuked --> Nuketown
        zm_highrise --> Die Rise
        zm_prison --> Mob of the Dead
        zm_buried --> Buried
        zm_tomb --> Origins

        Izi selvaundefined Offline
        Izi selvaundefined Offline
        Izi selva
        wrote on last edited by
        #40

        Ivobardolf i just back to say thanks bro, work perfectly, if see some error i say you , thank you so much

        1 Reply Last reply
        1
        • SC Kielsundefined Offline
          SC Kielsundefined Offline
          SC Kiels
          wrote on last edited by
          #41

          ivo ftw 🙂

          1 Reply Last reply
          0
          • Ivobardolfundefined Ivobardolf

            Izi selva good to know, the folders are like this:
            MapFolders.PNG

            zm_transit --> Tranzit
            zm_nuked --> Nuketown
            zm_highrise --> Die Rise
            zm_prison --> Mob of the Dead
            zm_buried --> Buried
            zm_tomb --> Origins

            Izi selvaundefined Offline
            Izi selvaundefined Offline
            Izi selva
            wrote on last edited by
            #42

            Ivobardolf hi bro, sorry, you have any tools to open .ff files or mods files?

            Ivobardolfundefined 1 Reply Last reply
            0
            • Izi selvaundefined Izi selva

              Ivobardolf hi bro, sorry, you have any tools to open .ff files or mods files?

              Ivobardolfundefined Offline
              Ivobardolfundefined Offline
              Ivobardolf
              wrote on last edited by
              #43

              Izi selva Try to keep the conversation to the topic, if you have questions join the plutonium discord

              use OAT tools for that:
              https://github.com/Laupetin/OpenAssetTools

              Izi selvaundefined 1 Reply Last reply
              1
              • Ivobardolfundefined Ivobardolf

                Izi selva Try to keep the conversation to the topic, if you have questions join the plutonium discord

                use OAT tools for that:
                https://github.com/Laupetin/OpenAssetTools

                Izi selvaundefined Offline
                Izi selvaundefined Offline
                Izi selva
                wrote on last edited by
                #44

                Ivobardolf hi bro, how are you?, i love this mod, i have a new, i was playing origins and the last zombie missing and i cant pass round? also the zombies wait for me in crazy place jajaja and no out, we can change this? thanks bro, sorry for my insistence

                Ivobardolfundefined 1 Reply Last reply
                0
                • Izi selvaundefined Izi selva

                  Ivobardolf hi bro, how are you?, i love this mod, i have a new, i was playing origins and the last zombie missing and i cant pass round? also the zombies wait for me in crazy place jajaja and no out, we can change this? thanks bro, sorry for my insistence

                  Ivobardolfundefined Offline
                  Ivobardolfundefined Offline
                  Ivobardolf
                  wrote on last edited by
                  #45

                  Izi selva I'll think about it, since it will need more things and I didn't plan for that

                  Izi selvaundefined 1 Reply Last reply
                  1
                  • Ivobardolfundefined Ivobardolf

                    Izi selva I'll think about it, since it will need more things and I didn't plan for that

                    Izi selvaundefined Offline
                    Izi selvaundefined Offline
                    Izi selva
                    wrote on last edited by Izi selva
                    #46

                    Ivobardolf thanks bro, I wait for it, I know you can , if you try the zombie regenerate health else is injured for some time? So they wouldn't die

                    Ivobardolfundefined 1 Reply Last reply
                    0
                    • Izi selvaundefined Izi selva

                      Ivobardolf thanks bro, I wait for it, I know you can , if you try the zombie regenerate health else is injured for some time? So they wouldn't die

                      Ivobardolfundefined Offline
                      Ivobardolfundefined Offline
                      Ivobardolf
                      wrote on last edited by
                      #47

                      Izi selva they never die, even if injured, no need to add regeneration

                      Izi selvaundefined 1 Reply Last reply
                      0
                      • Ivobardolfundefined Ivobardolf

                        Izi selva they never die, even if injured, no need to add regeneration

                        Izi selvaundefined Offline
                        Izi selvaundefined Offline
                        Izi selva
                        wrote on last edited by
                        #48

                        Ivobardolf is for the zombies continue keep you being in crazy place or plane in mob, if the zombie regenerate life, he can respawn normally, sorry I don't know about this, is just my think

                        Ivobardolfundefined 1 Reply Last reply
                        0
                        • Izi selvaundefined Izi selva

                          Ivobardolf is for the zombies continue keep you being in crazy place or plane in mob, if the zombie regenerate life, he can respawn normally, sorry I don't know about this, is just my think

                          Ivobardolfundefined Offline
                          Ivobardolfundefined Offline
                          Ivobardolf
                          wrote on last edited by
                          #49

                          Izi selva the zombie function that kills them is disabled, they never regenerate HP even in normal play without scripts.

                          How about I add a function that if you hold jump button for 5 seconds it respawn all zombies in the map? that way when you travel you can use it so zombies respawn again with?

                          Izi selvaundefined 1 Reply Last reply
                          0
                          • Ivobardolfundefined Ivobardolf

                            Izi selva the zombie function that kills them is disabled, they never regenerate HP even in normal play without scripts.

                            How about I add a function that if you hold jump button for 5 seconds it respawn all zombies in the map? that way when you travel you can use it so zombies respawn again with?

                            Izi selvaundefined Offline
                            Izi selvaundefined Offline
                            Izi selva
                            wrote on last edited by
                            #50

                            Ivobardolf
                            It would be a great idea. The only bad thing is that the zombies get stuck in certain areas and don't respawn near you.

                            Ivobardolfundefined 1 Reply Last reply
                            0
                            • Izi selvaundefined Izi selva

                              Ivobardolf
                              It would be a great idea. The only bad thing is that the zombies get stuck in certain areas and don't respawn near you.

                              Ivobardolfundefined Offline
                              Ivobardolfundefined Offline
                              Ivobardolf
                              wrote on last edited by Ivobardolf
                              #51

                              Izi selva Put this code after the #include and before the main

                              #include maps\mp\zombies\_zm_utility;
                              
                              
                              //Code Goes Here
                              
                              
                              main()
                              

                              if you hold jump for 5 seconds all the zombies on the map except for boss zombies will respawn

                              init()
                              {
                                  level.respawning = 0;
                                  level thread onPlayerConnect();
                              }
                              
                              onPlayerConnect()
                              {
                              	for(;;)
                              	{
                              		level waittill( "connected", player );
                              		player thread Respawn_Zombies();
                              	}
                              }
                              
                              Respawn_Zombies()
                              {
                              	for(;;)
                              	{
                                      if( level.respawning != 100)
                                      {
                              		    if ( self jumpbuttonpressed() && self.sessionstate == "playing" && !self maps\mp\zombies\_zm_laststand::player_is_in_laststand())
                              		    {
                              			    level.respawning++;
                                              //iPrintLn(level.Respawning);
                              		    }
                                          else
                                              level.respawning = 0;
                                      }
                                      else if(level.respawning == 100)
                                      {
                                          iPrintLn("Respawning Zombies...");
                                          iPrintLn("Respawning Zombies...");
                                          iPrintLn("Respawning Zombies...");
                                          zombies = getaiarray(level.zombie_team);
                                          level.zombie_total += zombies.size;
                                  	    foreach(zombie in zombies)
                                          {
                                              if( zombie can_damage())
                                                  zombie doDamage(zombie.health + 1 , zombie.origin);
                                          }
                                          level.respawning = 0;
                                      }
                              		wait 0.05;
                              	}
                              }    
                              
                              
                              
                              can_damage()
                              {
                              	if( (isdefined(level.sloth) && self == level.sloth) || (isDefined(self.is_avogadro) && self.is_avogadro) 
                              	|| (isDefined(self.is_brutus) && self.is_brutus) || (isDefined(self.is_mechz) && self.is_mechz) )
                              		return 0;
                              	else
                              		return 1;
                              }
                              1 Reply Last reply
                              1
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • 1
                              • 2
                              • 3
                              • Login

                              • Don't have an account? Register

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