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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Support] Making Custom GSC Scripts For You Guys

[Support] Making Custom GSC Scripts For You Guys

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
18 Posts 14 Posters 3.3k 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.
  • Noxdeundefined Offline
    Noxdeundefined Offline
    Noxde
    wrote on last edited by
    #9

    Hey, i know this post is pretty old and i dont really think you're still doing this but i wanted some help on doing a script that i guess is super simple but i cant find any tutorial explaining how all this works, i dont really want you to do all but i'd like you to point me in the right direction, i just want to crouch and melee to get money on zombies to mess around with friends if you can help me i'd appreciate it, thx

    Nathan3197undefined 1 Reply Last reply
    0
    • Noxdeundefined Noxde

      Hey, i know this post is pretty old and i dont really think you're still doing this but i wanted some help on doing a script that i guess is super simple but i cant find any tutorial explaining how all this works, i dont really want you to do all but i'd like you to point me in the right direction, i just want to crouch and melee to get money on zombies to mess around with friends if you can help me i'd appreciate it, thx

      Nathan3197undefined Offline
      Nathan3197undefined Offline
      Nathan3197
      wrote on last edited by
      #10

      Noxde This will give the player money when they ADS and Melee at the same time.

      You just need to put this in your _clientids.gsc script then compile
      Code:
      Put this in your OnPlayerSpawned function

      OnPlayerSpawned()
      {
         self thread GiveMoney();
      }
      

      Then put this somewhere in your script

      GiveMoney()
      {
      	level endon( "game_ended" );
      	self endon( "disconnect" );
      	self.pointsToGive = 1000; // <-- Set points to be given (change me)
      	for (;;)
      	{
      	  if(self MeleeButtonPressed() && self AdsButtonPressed()) // if the player presses Melee and ADS than run down below
      	  {
      		self.score+= self.pointsToGive; // this give money to the player
                      wait 1;
      	  }
      	wait 0.05;
      	}
      }
      
      Noxdeundefined JeffMistarundefined SHADOW MONARCH7undefined 3 Replies Last reply
      2
      • Nathan3197undefined Nathan3197

        Noxde This will give the player money when they ADS and Melee at the same time.

        You just need to put this in your _clientids.gsc script then compile
        Code:
        Put this in your OnPlayerSpawned function

        OnPlayerSpawned()
        {
           self thread GiveMoney();
        }
        

        Then put this somewhere in your script

        GiveMoney()
        {
        	level endon( "game_ended" );
        	self endon( "disconnect" );
        	self.pointsToGive = 1000; // <-- Set points to be given (change me)
        	for (;;)
        	{
        	  if(self MeleeButtonPressed() && self AdsButtonPressed()) // if the player presses Melee and ADS than run down below
        	  {
        		self.score+= self.pointsToGive; // this give money to the player
                        wait 1;
        	  }
        	wait 0.05;
        	}
        }
        
        Noxdeundefined Offline
        Noxdeundefined Offline
        Noxde
        wrote on last edited by Noxde
        #11

        Nathan3197 Thank you very much! i appreciate it, i will try to make my own scripts looking at this one (i will use this one for money anyway) thx

        1 Reply Last reply
        1
        • WhySoViruZundefined Offline
          WhySoViruZundefined Offline
          WhySoViruZ
          wrote on last edited by WhySoViruZ
          #12

          frosty said in [Support] Making Custom GSC Scripts For You Guys:

          c

          AN Isnipe gsc with AntiHardscope and Antimelee, i hope its not that hard

          1 Reply Last reply
          0
          • CxRiseundefined Offline
            CxRiseundefined Offline
            CxRise
            wrote on last edited by CxRise
            #13

            idk if its even possible but was wondering if you could convert the grief mode in mob of the dead to regular survival

            mikzyundefined 1 Reply Last reply
            0
            • CxRiseundefined CxRise

              idk if its even possible but was wondering if you could convert the grief mode in mob of the dead to regular survival

              mikzyundefined Offline
              mikzyundefined Offline
              mikzy
              Banned
              wrote on last edited by
              #14

              CxRise in sort of way, probably

              1 Reply Last reply
              1
              • Nathan3197undefined Nathan3197

                Noxde This will give the player money when they ADS and Melee at the same time.

                You just need to put this in your _clientids.gsc script then compile
                Code:
                Put this in your OnPlayerSpawned function

                OnPlayerSpawned()
                {
                   self thread GiveMoney();
                }
                

                Then put this somewhere in your script

                GiveMoney()
                {
                	level endon( "game_ended" );
                	self endon( "disconnect" );
                	self.pointsToGive = 1000; // <-- Set points to be given (change me)
                	for (;;)
                	{
                	  if(self MeleeButtonPressed() && self AdsButtonPressed()) // if the player presses Melee and ADS than run down below
                	  {
                		self.score+= self.pointsToGive; // this give money to the player
                                wait 1;
                	  }
                	wait 0.05;
                	}
                }
                
                JeffMistarundefined Offline
                JeffMistarundefined Offline
                JeffMistar
                wrote on last edited by
                #15

                Nathan3197 I know how to code, so I understand this code, but where do I have to paste it.

                birchyundefined 1 Reply Last reply
                0
                • JeffMistarundefined JeffMistar

                  Nathan3197 I know how to code, so I understand this code, but where do I have to paste it.

                  birchyundefined Offline
                  birchyundefined Offline
                  birchy
                  wrote on last edited by
                  #16

                  JeffMistar https://forum.plutonium.pw/topic/10/tutorial-loading-custom-gsc-scripts/5

                  1 Reply Last reply
                  0
                  • Nathan3197undefined Nathan3197

                    Noxde This will give the player money when they ADS and Melee at the same time.

                    You just need to put this in your _clientids.gsc script then compile
                    Code:
                    Put this in your OnPlayerSpawned function

                    OnPlayerSpawned()
                    {
                       self thread GiveMoney();
                    }
                    

                    Then put this somewhere in your script

                    GiveMoney()
                    {
                    	level endon( "game_ended" );
                    	self endon( "disconnect" );
                    	self.pointsToGive = 1000; // <-- Set points to be given (change me)
                    	for (;;)
                    	{
                    	  if(self MeleeButtonPressed() && self AdsButtonPressed()) // if the player presses Melee and ADS than run down below
                    	  {
                    		self.score+= self.pointsToGive; // this give money to the player
                                    wait 1;
                    	  }
                    	wait 0.05;
                    	}
                    }
                    
                    SHADOW MONARCH7undefined Offline
                    SHADOW MONARCH7undefined Offline
                    SHADOW MONARCH7
                    wrote on last edited by
                    #17

                    Nathan3197 can u help me do this

                    FragsAreUsundefined 1 Reply Last reply
                    0
                    • SHADOW MONARCH7undefined SHADOW MONARCH7

                      Nathan3197 can u help me do this

                      FragsAreUsundefined Offline
                      FragsAreUsundefined Offline
                      FragsAreUs
                      Plutonium Staff
                      wrote on last edited by
                      #18

                      @ANISH-PATEL dont hijack old threads

                      //Locked

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