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

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [OUTDATED] BO2 Custom Classes + Custom Classes Tool Generator

[OUTDATED] BO2 Custom Classes + Custom Classes Tool Generator

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
25 Posts 15 Posters 11.4k Views
  • 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.
  • Sorexundefined Sorex

    Give Custom Class
    Developer: DoktorSAS

    ________________

    Download link or url of the tool will be relased soon. I lost the old uncompiled files so i nee to recreate the tool. It will probably change into a webversion.

    ________________

    This is a simple system to give class, not an hard code but is a code helpful to make things faster.
    This method can be used to give class after palyer spawn/respawned automatically.
    The classnameP is the name of the class, with a switch in onPlayerSpawned() is possibile to spawn with the selected classes.

    Implements this code to use the tool

    giveCustomClass( weap1, weap2, classnameP, equip1, equip2){ //Made By DoktorSAS
       self takeallweapons();
       self.classnamePlayerP = classnameP;
       self iprintln("Class ^2Choosed");
       self giveweapon("knife_mp",0,true(0,0,0,0,0));
       self giveweapon(weap1,0,true(0,0,0,0,0));
       self givemaxammo(weap1);
       self giveweapon(weap2,0,true(0,0,0,0,0));     
       self givemaxammo(weap2);
       self giveweapon(equip1);
       self setWeaponAmmoStock(equip1,1);
       self giveweapon(equip2);
       self setWeaponAmmoStock(equip2,1);
        self switchtoweapon(weap1); 
       self baseperk(); 
    }
    baseperk(){
       self clearperks();
       self setperk("specialty_additionalprimaryweapon");
       self setperk("specialty_fastequipmentuse");
       self setperk("specialty_fastladderclimb");
       self setperk("specialty_fastmantle");	 
       self setperk("specialty_bulletpenetration");
       self setperk("specialty_fastads");
       self setperk("specialty_longersprint");
       self setperk("specialty_fastweaponswitch");  
       self setperk("specialty_fallheight");
    }
    exemple(){
       giveCustomClass("dsr50_mp+steadyaim+fmj+extclip", "ksg_mp", "DSRKSG", "sticky_grenade_mp", "proximity_grenade_mp" );
    }
    
    

    Download this tool to make custom classes easily
    Class Generator v1.1:

    • Fixed Gun IdName clone
    • Added Equipment #1 and Equipment #2

    Github: https://github.com/DoktorSAS/BO2-GSC/tree/master/Class Generator
    VirusTotal: https://www.virustotal.com/gui/file/c5258d78efdf262588fcf634bae883a3ec668dbf1731f2cb655ab3e7d3c5a9a8/detection
    Developer: DoktorSAS
    7ec77815-ba55-4140-96d0-2e567e5786f0-image.png

    CloudyHvHundefined Offline
    CloudyHvHundefined Offline
    CloudyHvH
    wrote on last edited by
    #8
    This post is deleted!
    1 Reply Last reply
    0
    • CloudyHvHundefined Offline
      CloudyHvHundefined Offline
      CloudyHvH
      wrote on last edited by
      #9

      Sorex how do i use this?

      1 Reply Last reply
      0
      • Sorexundefined Offline
        Sorexundefined Offline
        Sorex
        Contributor
        wrote on last edited by
        #10

        CloudyHvH
        u have to implents the code in your mods, after that u have to create a classes with the tool, copy the code and paste it in your mods(i mean u have to peste it like new options of your menu).
        This is tool for mod Developer, is a simple tool to help the mod developer to generate classes for a class menu inside a menu (this is an exemple). I use it for a menu section with classes and for overwrite classes, thats make my life easier

        1 Reply Last reply
        0
        • alejandrodarzundefined Offline
          alejandrodarzundefined Offline
          alejandrodarz
          wrote on last edited by
          #11

          I already added everything but I can't get classes, What exactly should I put in onPlayerSpawned ()

          1 Reply Last reply
          0
          • Sorexundefined Offline
            Sorexundefined Offline
            Sorex
            Contributor
            wrote on last edited by
            #12

            alejandrodarz You have to add it on menu options or u can combine it with overwrite classes code

            1 Reply Last reply
            0
            • Sorexundefined Sorex

              Give Custom Class
              Developer: DoktorSAS

              ________________

              Download link or url of the tool will be relased soon. I lost the old uncompiled files so i nee to recreate the tool. It will probably change into a webversion.

              ________________

              This is a simple system to give class, not an hard code but is a code helpful to make things faster.
              This method can be used to give class after palyer spawn/respawned automatically.
              The classnameP is the name of the class, with a switch in onPlayerSpawned() is possibile to spawn with the selected classes.

              Implements this code to use the tool

              giveCustomClass( weap1, weap2, classnameP, equip1, equip2){ //Made By DoktorSAS
                 self takeallweapons();
                 self.classnamePlayerP = classnameP;
                 self iprintln("Class ^2Choosed");
                 self giveweapon("knife_mp",0,true(0,0,0,0,0));
                 self giveweapon(weap1,0,true(0,0,0,0,0));
                 self givemaxammo(weap1);
                 self giveweapon(weap2,0,true(0,0,0,0,0));     
                 self givemaxammo(weap2);
                 self giveweapon(equip1);
                 self setWeaponAmmoStock(equip1,1);
                 self giveweapon(equip2);
                 self setWeaponAmmoStock(equip2,1);
                  self switchtoweapon(weap1); 
                 self baseperk(); 
              }
              baseperk(){
                 self clearperks();
                 self setperk("specialty_additionalprimaryweapon");
                 self setperk("specialty_fastequipmentuse");
                 self setperk("specialty_fastladderclimb");
                 self setperk("specialty_fastmantle");	 
                 self setperk("specialty_bulletpenetration");
                 self setperk("specialty_fastads");
                 self setperk("specialty_longersprint");
                 self setperk("specialty_fastweaponswitch");  
                 self setperk("specialty_fallheight");
              }
              exemple(){
                 giveCustomClass("dsr50_mp+steadyaim+fmj+extclip", "ksg_mp", "DSRKSG", "sticky_grenade_mp", "proximity_grenade_mp" );
              }
              
              

              Download this tool to make custom classes easily
              Class Generator v1.1:

              • Fixed Gun IdName clone
              • Added Equipment #1 and Equipment #2

              Github: https://github.com/DoktorSAS/BO2-GSC/tree/master/Class Generator
              VirusTotal: https://www.virustotal.com/gui/file/c5258d78efdf262588fcf634bae883a3ec668dbf1731f2cb655ab3e7d3c5a9a8/detection
              Developer: DoktorSAS
              7ec77815-ba55-4140-96d0-2e567e5786f0-image.png

              Trikiundefined Offline
              Trikiundefined Offline
              Triki
              wrote on last edited by
              #13

              Sorex for me it jus puts the lethal and nonlethal but not the guns

              1 Reply Last reply
              0
              • Sorexundefined Offline
                Sorexundefined Offline
                Sorex
                Contributor
                wrote on last edited by
                #14

                Triki Have you choosed the classes? this tool is for mod developer

                1 Reply Last reply
                0
                • Sorexundefined Sorex

                  Give Custom Class
                  Developer: DoktorSAS

                  ________________

                  Download link or url of the tool will be relased soon. I lost the old uncompiled files so i nee to recreate the tool. It will probably change into a webversion.

                  ________________

                  This is a simple system to give class, not an hard code but is a code helpful to make things faster.
                  This method can be used to give class after palyer spawn/respawned automatically.
                  The classnameP is the name of the class, with a switch in onPlayerSpawned() is possibile to spawn with the selected classes.

                  Implements this code to use the tool

                  giveCustomClass( weap1, weap2, classnameP, equip1, equip2){ //Made By DoktorSAS
                     self takeallweapons();
                     self.classnamePlayerP = classnameP;
                     self iprintln("Class ^2Choosed");
                     self giveweapon("knife_mp",0,true(0,0,0,0,0));
                     self giveweapon(weap1,0,true(0,0,0,0,0));
                     self givemaxammo(weap1);
                     self giveweapon(weap2,0,true(0,0,0,0,0));     
                     self givemaxammo(weap2);
                     self giveweapon(equip1);
                     self setWeaponAmmoStock(equip1,1);
                     self giveweapon(equip2);
                     self setWeaponAmmoStock(equip2,1);
                      self switchtoweapon(weap1); 
                     self baseperk(); 
                  }
                  baseperk(){
                     self clearperks();
                     self setperk("specialty_additionalprimaryweapon");
                     self setperk("specialty_fastequipmentuse");
                     self setperk("specialty_fastladderclimb");
                     self setperk("specialty_fastmantle");	 
                     self setperk("specialty_bulletpenetration");
                     self setperk("specialty_fastads");
                     self setperk("specialty_longersprint");
                     self setperk("specialty_fastweaponswitch");  
                     self setperk("specialty_fallheight");
                  }
                  exemple(){
                     giveCustomClass("dsr50_mp+steadyaim+fmj+extclip", "ksg_mp", "DSRKSG", "sticky_grenade_mp", "proximity_grenade_mp" );
                  }
                  
                  

                  Download this tool to make custom classes easily
                  Class Generator v1.1:

                  • Fixed Gun IdName clone
                  • Added Equipment #1 and Equipment #2

                  Github: https://github.com/DoktorSAS/BO2-GSC/tree/master/Class Generator
                  VirusTotal: https://www.virustotal.com/gui/file/c5258d78efdf262588fcf634bae883a3ec668dbf1731f2cb655ab3e7d3c5a9a8/detection
                  Developer: DoktorSAS
                  7ec77815-ba55-4140-96d0-2e567e5786f0-image.png

                  ImBoredInnitundefined Offline
                  ImBoredInnitundefined Offline
                  ImBoredInnit
                  wrote on last edited by
                  #15

                  Sorex hey could i please get some help im quite new and dont exactly know what to do haha

                  1 Reply Last reply
                  0
                  • qweqwe333undefined Offline
                    qweqwe333undefined Offline
                    qweqwe333
                    wrote on last edited by
                    #16

                    ImBoredInnit said in [Release] BO2 Custom Classes + Custom Classes Tool Generator:

                    help im quite new and dont exactly know what to do hah

                    I would love for this to be updated, I want to be able to make a secondary my primary and my secondary a sniper.

                    Rx Tyundefined 1 Reply Last reply
                    0
                    • qweqwe333undefined qweqwe333

                      ImBoredInnit said in [Release] BO2 Custom Classes + Custom Classes Tool Generator:

                      help im quite new and dont exactly know what to do hah

                      I would love for this to be updated, I want to be able to make a secondary my primary and my secondary a sniper.

                      Rx Tyundefined Offline
                      Rx Tyundefined Offline
                      Rx Ty
                      wrote on last edited by
                      #17

                      qweqwe333 its there a way to still get the tool

                      1 Reply Last reply
                      0
                      • Sorexundefined Offline
                        Sorexundefined Offline
                        Sorex
                        Contributor
                        wrote on last edited by
                        #18

                        NOTE:

                        This its not made to replace your classes, this tool just generate a GSC code that "gsc modders" can use to build custom classes to give. Its just a tool use full for coders not for trickshotters.

                        Rx Tyundefined 1 Reply Last reply
                        0
                        • Sorexundefined Sorex

                          NOTE:

                          This its not made to replace your classes, this tool just generate a GSC code that "gsc modders" can use to build custom classes to give. Its just a tool use full for coders not for trickshotters.

                          Rx Tyundefined Offline
                          Rx Tyundefined Offline
                          Rx Ty
                          wrote on last edited by
                          #19

                          Sorex I seen a person in bo2 plutonium with LB Semtexs like for bo2 recoveries on Xbox/ps3

                          1 Reply Last reply
                          0
                          • mrn0b0dy699undefined Offline
                            mrn0b0dy699undefined Offline
                            mrn0b0dy699
                            wrote on last edited by
                            #20

                            Bo2 custom class and camos not showingclass not showing in game and in lobby

                            1 Reply Last reply
                            0
                            • rwfundefined Offline
                              rwfundefined Offline
                              rwf
                              wrote on last edited by
                              #21

                              yo Sorex anywhere i can get this the github link isn't working

                              1 Reply Last reply
                              0
                              • sxrreneundefined Offline
                                sxrreneundefined Offline
                                sxrrene
                                wrote on last edited by
                                #22

                                where can I download this github dead

                                1 Reply Last reply
                                0
                                • Sorexundefined Offline
                                  Sorexundefined Offline
                                  Sorex
                                  Contributor
                                  wrote on last edited by
                                  #23

                                  The download is not of use anymore. The code is bad and i was working on moving the tool on a website insteed.

                                  TahjGaddundefined 1 Reply Last reply
                                  1
                                  • Sorexundefined Sorex

                                    The download is not of use anymore. The code is bad and i was working on moving the tool on a website insteed.

                                    TahjGaddundefined Offline
                                    TahjGaddundefined Offline
                                    TahjGadd
                                    wrote on last edited by
                                    #24
                                    This post is deleted!
                                    1 Reply Last reply
                                    0
                                    • Chronical_undefined Offline
                                      Chronical_undefined Offline
                                      Chronical_
                                      wrote on last edited by
                                      #25

                                      Sorex this is about vanilla ts. i put the vanilla compiled gsc into this loacation C:\Users\chron\AppData\Local\Plutonium\storage\t6\scripts\mp. It works but i dont have vip or admin how do i get it.

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