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 3.2k 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.
  • Izi selvaundefined Offline
    Izi selvaundefined Offline
    Izi selva
    replied to Ivobardolf on last edited by
    #32

    Ivobardolf ok so, i can make one gsc for each map whitout error? Or only i can use one for time?

    Ivobardolfundefined 1 Reply Last reply
    0
    • Izi selvaundefined Offline
      Izi selvaundefined Offline
      Izi selva
      replied to Ivobardolf on last edited by
      #33

      Ivobardolf
      Could you make the zombie continue chasing but without dying even if it takes damage, currently it only stays still if you go too far away?

      Ivobardolfundefined 1 Reply Last reply
      0
      • Ivobardolfundefined Offline
        Ivobardolfundefined Offline
        Ivobardolf
        replied to Izi selva on last edited by
        #34

        Izi selva you can run many scripts, it doesn't have to be just one, what I meant is that every map has it's own script that only works there, if you try to run Buried script in Origins errors will happen

        Izi selvaundefined 1 Reply Last reply
        0
        • Ivobardolfundefined Offline
          Ivobardolfundefined Offline
          Ivobardolf
          replied to Izi selva on last edited by
          #35

          Izi selva it does both, preventing zombie death from far away & taking damage and not dying on his own, try it and if you find an error let me know 🙂

          1 Reply Last reply
          0
          • Izi selvaundefined Offline
            Izi selvaundefined Offline
            Izi selva
            replied to Ivobardolf on last edited by Izi selva
            #36

            Ivobardolf hi bro, i am happy with your work, i did each .gsc but if i save all ,gsc in same folder "zm" i get an error , actually only am using tomb gsc, i tried for each for separate and yes works, again, sorry for mi english, still i am learning

            Ivobardolfundefined 1 Reply Last reply
            0
            • Ivobardolfundefined Offline
              Ivobardolfundefined Offline
              Ivobardolf
              replied to Izi selva on last edited by
              #37

              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 1 Reply Last reply
              0
              • Izi selvaundefined Offline
                Izi selvaundefined Offline
                Izi selva
                replied to Ivobardolf 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
                • Ivobardolfundefined Offline
                  Ivobardolfundefined Offline
                  Ivobardolf
                  replied to Izi selva 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
                  • Izi selvaundefined Offline
                    Izi selvaundefined Offline
                    Izi selva
                    replied to Ivobardolf 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
                      • Izi selvaundefined Offline
                        Izi selvaundefined Offline
                        Izi selva
                        replied to Ivobardolf 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
                        • Ivobardolfundefined Offline
                          Ivobardolfundefined Offline
                          Ivobardolf
                          replied to Izi selva 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
                          • Izi selvaundefined Offline
                            Izi selvaundefined Offline
                            Izi selva
                            replied to Ivobardolf 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
                            • Ivobardolfundefined Offline
                              Ivobardolfundefined Offline
                              Ivobardolf
                              replied to Izi selva 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
                              • Izi selvaundefined Offline
                                Izi selvaundefined Offline
                                Izi selva
                                replied to Ivobardolf 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
                                • Ivobardolfundefined Offline
                                  Ivobardolfundefined Offline
                                  Ivobardolf
                                  replied to Izi selva 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
                                  • Izi selvaundefined Offline
                                    Izi selvaundefined Offline
                                    Izi selva
                                    replied to Ivobardolf 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
                                    • Ivobardolfundefined Offline
                                      Ivobardolfundefined Offline
                                      Ivobardolf
                                      replied to Izi selva 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
                                      • Izi selvaundefined Offline
                                        Izi selvaundefined Offline
                                        Izi selva
                                        replied to Ivobardolf 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
                                        • Ivobardolfundefined Offline
                                          Ivobardolfundefined Offline
                                          Ivobardolf
                                          replied to Izi selva 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

                                          • 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