Skip to content
  • 0 Unread 0
  • 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 14.1k 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.
  • Ivobardolf 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 selva Offline
    Izi selva 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

    Ivobardolf 1 Reply Last reply
    0
    • Izi selva 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

      Ivobardolf Offline
      Ivobardolf 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 selva 2 Replies Last reply
      0
      • Ivobardolf 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 selva Offline
        Izi selva 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 Kiels Offline
          SC Kiels Offline
          SC Kiels
          wrote on last edited by
          #41

          ivo ftw 🙂

          1 Reply Last reply
          0
          • Ivobardolf 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 selva Offline
            Izi selva Offline
            Izi selva
            wrote on last edited by
            #42

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

            Ivobardolf 1 Reply Last reply
            0
            • Izi selva Izi selva

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

              Ivobardolf Offline
              Ivobardolf 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 selva 1 Reply Last reply
              1
              • Ivobardolf 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 selva Offline
                Izi selva 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

                Ivobardolf 1 Reply Last reply
                0
                • Izi selva 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

                  Ivobardolf Offline
                  Ivobardolf 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 selva 1 Reply Last reply
                  1
                  • Ivobardolf Ivobardolf

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

                    Izi selva Offline
                    Izi selva 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

                    Ivobardolf 1 Reply Last reply
                    0
                    • Izi selva 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

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

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

                      Izi selva 1 Reply Last reply
                      0
                      • Ivobardolf Ivobardolf

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

                        Izi selva Offline
                        Izi selva 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

                        Ivobardolf 1 Reply Last reply
                        0
                        • Izi selva 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

                          Ivobardolf Offline
                          Ivobardolf 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 selva 1 Reply Last reply
                          0
                          • Ivobardolf 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 selva Offline
                            Izi selva 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.

                            Ivobardolf 1 Reply Last reply
                            0
                            • Izi selva 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.

                              Ivobardolf Offline
                              Ivobardolf 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

                              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


                              • 1
                              • 2
                              • 3
                              • Login

                              • Don't have an account? Register

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