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

Plutonium

  1. Home
  2. BO1 Modding Support & Discussion
  3. [Release] [Zombies] Black Ops 1 Chaos mod

[Release] [Zombies] Black Ops 1 Chaos mod

Scheduled Pinned Locked Moved BO1 Modding Support & Discussion
35 Posts 16 Posters 10.1k Views 2 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.
  • Schnazundefined Schnaz

    Can you share the script for the hitmarkers? Thanks.

    dontknowletsplundefined Offline
    dontknowletsplundefined Offline
    dontknowletspl
    wrote on last edited by dontknowletspl
    #17

    Schnaz

    //bo1 zombie hitmarks
    
    #include maps\_utility; 
    #include common_scripts\utility;
    #include maps\_hud_util;
    init()
    {
        if ( GetDvar( #"zombiemode" ) == "1" )
    	{
            precacheshader("damage_feedback");
            level thread onPlayerConnect();
    	}
    }
    
    onPlayerConnect()
    {
    	level endon("end_game");
        for(;;)
        {
            level waittill("connected", player);
            player thread onPlayerSpawned();
        }
    }
    
    onPlayerSpawned()
    {
        self endon("disconnect");
    	level endon("end_game");
    	self waittill("spawned_player");
        self thread damagehitmarker();
    }
    
    damagehitmarker()
    {
    	self thread check_zombies();
    	self.hitmarker = newclientHudElem( self );
    	self.hitmarker.horzalign = "center";
    	self.hitmarker.vertalign = "middle";
    	self.hitmarker.x = -12;
    	self.hitmarker.y = -12;
    	self.hitmarker.alpha = 0;
    	self.hitmarker setshader( "damage_feedback", 24, 48 );
    }
    
    check_zombies()
    {
    	level endon("end_game");
    	while( 1 )
    	{
            zombies = getaiarray( "axis" );
    		for(i=0;i<zombies.size;i++)
    	    {
    			if( !(IsDefined( zombies[i].waitingfordamage )) )
    			{
    				zombies[i] thread hitmark();
    			}
    		}
    		wait 0.25;
    	}
    }
    
    hitmark()
    {
    	level endon("end_game");
    	self endon( "killed" );
    	self.waitingfordamage = 1;
    	while( 1 )
    	{
    		self waittill( "damage", amount, attacker, dir, point, mod );
    		attacker.hitmarker.alpha = 0;
    		if( isplayer( attacker ) )
    		{
    			if( isalive( self ) )
    			{
    				attacker.hitmarker.color = ( 1, 1, 1 );
    				attacker.hitmarker.alpha = 1;
    				attacker.hitmarker fadeovertime( 1 );
    				attacker.hitmarker.alpha = 0;
    			}
    			else
    			{
    				attacker.hitmarker.color = ( 1, 0, 0 );
    				attacker.hitmarker.alpha = 1;
    				attacker.hitmarker fadeovertime( 1 );
    				attacker.hitmarker.alpha = 0;
    				self notify( "killed" );
    			}
    		}
    	}
    }
    
    Schnazundefined 1 Reply Last reply
    0
    • dontknowletsplundefined dontknowletspl

      Schnaz

      //bo1 zombie hitmarks
      
      #include maps\_utility; 
      #include common_scripts\utility;
      #include maps\_hud_util;
      init()
      {
          if ( GetDvar( #"zombiemode" ) == "1" )
      	{
              precacheshader("damage_feedback");
              level thread onPlayerConnect();
      	}
      }
      
      onPlayerConnect()
      {
      	level endon("end_game");
          for(;;)
          {
              level waittill("connected", player);
              player thread onPlayerSpawned();
          }
      }
      
      onPlayerSpawned()
      {
          self endon("disconnect");
      	level endon("end_game");
      	self waittill("spawned_player");
          self thread damagehitmarker();
      }
      
      damagehitmarker()
      {
      	self thread check_zombies();
      	self.hitmarker = newclientHudElem( self );
      	self.hitmarker.horzalign = "center";
      	self.hitmarker.vertalign = "middle";
      	self.hitmarker.x = -12;
      	self.hitmarker.y = -12;
      	self.hitmarker.alpha = 0;
      	self.hitmarker setshader( "damage_feedback", 24, 48 );
      }
      
      check_zombies()
      {
      	level endon("end_game");
      	while( 1 )
      	{
              zombies = getaiarray( "axis" );
      		for(i=0;i<zombies.size;i++)
      	    {
      			if( !(IsDefined( zombies[i].waitingfordamage )) )
      			{
      				zombies[i] thread hitmark();
      			}
      		}
      		wait 0.25;
      	}
      }
      
      hitmark()
      {
      	level endon("end_game");
      	self endon( "killed" );
      	self.waitingfordamage = 1;
      	while( 1 )
      	{
      		self waittill( "damage", amount, attacker, dir, point, mod );
      		attacker.hitmarker.alpha = 0;
      		if( isplayer( attacker ) )
      		{
      			if( isalive( self ) )
      			{
      				attacker.hitmarker.color = ( 1, 1, 1 );
      				attacker.hitmarker.alpha = 1;
      				attacker.hitmarker fadeovertime( 1 );
      				attacker.hitmarker.alpha = 0;
      			}
      			else
      			{
      				attacker.hitmarker.color = ( 1, 0, 0 );
      				attacker.hitmarker.alpha = 1;
      				attacker.hitmarker fadeovertime( 1 );
      				attacker.hitmarker.alpha = 0;
      				self notify( "killed" );
      			}
      		}
      	}
      }
      
      Schnazundefined Offline
      Schnazundefined Offline
      Schnaz
      wrote on last edited by
      #18

      @dontknowletsplay How do I use it exactly? When I make the .gsc file and put it in the maps folder it just shows an error message when loading into the map. I gave it a random name, could that be the problem?

      dontknowletsplundefined 1 Reply Last reply
      0
      • Schnazundefined Schnaz

        @dontknowletsplay How do I use it exactly? When I make the .gsc file and put it in the maps folder it just shows an error message when loading into the map. I gave it a random name, could that be the problem?

        dontknowletsplundefined Offline
        dontknowletsplundefined Offline
        dontknowletspl
        wrote on last edited by dontknowletspl
        #19

        Schnaz i changed the code little so copy it again and save with .gsc extension and move to %localappdata%\Plutonium\storage\t5\scripts\sp

        Schnazundefined 1 Reply Last reply
        0
        • dontknowletsplundefined dontknowletspl

          Schnaz i changed the code little so copy it again and save with .gsc extension and move to %localappdata%\Plutonium\storage\t5\scripts\sp

          Schnazundefined Offline
          Schnazundefined Offline
          Schnaz
          wrote on last edited by
          #20

          @dontknowletsplay Thank you so much, works perfectly.

          1 Reply Last reply
          0
          • dontknowletsplundefined dontknowletspl

            This post is deleted!

            Emu_opundefined Offline
            Emu_opundefined Offline
            Emu_op
            wrote on last edited by
            #21

            @dontknowletsplay how do you assign a key to start game

            dontknowletsplundefined 1 Reply Last reply
            1
            • fecalfantomundefined Offline
              fecalfantomundefined Offline
              fecalfantom
              wrote on last edited by
              #22

              @dontknowletsplay said in [Release] [Zombies] Black Ops 1 Chaos mod:

              %localappdata%\Plutonium\storage\t5

              I put the folder in %localappdata%\Plutonium\storage\t5/maps
              how to I load the game mode when I go to mods there is nothing

              dontknowletsplundefined 1 Reply Last reply
              0
              • Emu_opundefined Emu_op

                @dontknowletsplay how do you assign a key to start game

                dontknowletsplundefined Offline
                dontknowletsplundefined Offline
                dontknowletspl
                wrote on last edited by
                #23

                Emu_op keys are always same. Jump, shoot and use button but it can show undefined or something not sure why that happened even player had his buttons set up correctly.

                1 Reply Last reply
                0
                • fecalfantomundefined fecalfantom

                  @dontknowletsplay said in [Release] [Zombies] Black Ops 1 Chaos mod:

                  %localappdata%\Plutonium\storage\t5

                  I put the folder in %localappdata%\Plutonium\storage\t5/maps
                  how to I load the game mode when I go to mods there is nothing

                  dontknowletsplundefined Offline
                  dontknowletsplundefined Offline
                  dontknowletspl
                  wrote on last edited by
                  #24

                  fecalfantom it doesn't show up in mods. Start some map and it will load up.

                  1 Reply Last reply
                  0
                  • PandaGora24undefined Offline
                    PandaGora24undefined Offline
                    PandaGora24
                    wrote on last edited by
                    #25

                    This is a very fun mod! The "out of body experience" Is a bit bugged Bullets wont damage zombies and player model occasionally goes invisible. Haven't noticed any other bugs but I figured I'd Let you know in case you would like to fix it. Thanks for the awesome mod!

                    dontknowletsplundefined 1 Reply Last reply
                    0
                    • PandaGora24undefined PandaGora24

                      This is a very fun mod! The "out of body experience" Is a bit bugged Bullets wont damage zombies and player model occasionally goes invisible. Haven't noticed any other bugs but I figured I'd Let you know in case you would like to fix it. Thanks for the awesome mod!

                      dontknowletsplundefined Offline
                      dontknowletsplundefined Offline
                      dontknowletspl
                      wrote on last edited by
                      #26

                      PandaGora24 Thats sadly unfixable what i have tested. Player only shoot one way even while trying to look another way is which causes that damage problem.

                      1 Reply Last reply
                      0
                      • dontknowletsplundefined Offline
                        dontknowletsplundefined Offline
                        dontknowletspl
                        wrote on last edited by
                        #27

                        [ UPDATE ] Added mod file for easier installion

                        I have seen few people asking how to install it so i decided to add mod file aswell. I will be creating plutonium t5 mod file installer and add it to this mod later.

                        996f9722-3e06-46eb-ae53-50047b2d96c9-kuva.png

                        1 Reply Last reply
                        0
                        • dontknowletsplundefined Offline
                          dontknowletsplundefined Offline
                          dontknowletspl
                          wrote on last edited by
                          #28

                          UPDATE

                          Has now mod installer which was written in python and compiled to exe with pyinstaller.

                          f943e1c7-5813-42af-a6fb-5bb3cbc9ad43-kuva.png

                          1 Reply Last reply
                          0
                          • dontknowletsplundefined Offline
                            dontknowletsplundefined Offline
                            dontknowletspl
                            wrote on last edited by
                            #29

                            Fixed some problems with call of the dead.

                            1 Reply Last reply
                            1
                            • wejwurundefined Offline
                              wejwurundefined Offline
                              wejwur
                              wrote on last edited by
                              #30

                              it doesnt work for me when i turn on the mod its like a normal zombies 😞

                              dontknowletsplundefined 1 Reply Last reply
                              0
                              • wejwurundefined wejwur

                                it doesnt work for me when i turn on the mod its like a normal zombies 😞

                                dontknowletsplundefined Offline
                                dontknowletsplundefined Offline
                                dontknowletspl
                                wrote on last edited by
                                #31

                                wejwur I am not sure what to say it works fine for me. I used the installer to install the mod.

                                1 Reply Last reply
                                0
                                • bhfffundefined bhfff referenced this topic on
                                • Georgelfcsg8undefined Offline
                                  Georgelfcsg8undefined Offline
                                  Georgelfcsg8
                                  wrote on last edited by
                                  #32

                                  thanks

                                  1 Reply Last reply
                                  0
                                  • GhostForLifeTTVundefined Offline
                                    GhostForLifeTTVundefined Offline
                                    GhostForLifeTTV
                                    wrote on last edited by
                                    #33

                                    where the file for the loader to actviate it

                                    1 Reply Last reply
                                    0
                                    • Pacman_lmaoundefined Offline
                                      Pacman_lmaoundefined Offline
                                      Pacman_lmao
                                      wrote on last edited by
                                      #34

                                      post was deleted

                                      1 Reply Last reply
                                      0
                                      • grethazorundefined Offline
                                        grethazorundefined Offline
                                        grethazor
                                        wrote last edited by
                                        #35

                                        I looked all up and down on both pages, I dont see the download anywhere.

                                        1 Reply Last reply
                                        0
                                        • Xerxesundefined Xerxes moved this topic from BO1 Modding Releases & Resources
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • 1
                                        • 2
                                        • Login

                                        • Don't have an account? Register

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