Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

  1. Home
  2. BO1 Modding Support & Discussion
  3. can't edit perks limit

can't edit perks limit

Scheduled Pinned Locked Moved BO1 Modding Support & Discussion
7 Posts 3 Posters 1.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.
  • Matrixvundefined Offline
    Matrixvundefined Offline
    Matrixv
    wrote on last edited by Matrixv
    #1

    i tried to make a script for edit perks limit but even with editing everything i can only buy 4 perks here is the script :

    #include maps\_utility; 
    #include common_scripts\utility;
    
    
    init()
    {  
    	level.perk_purchase_limit = 9;
            level.perk_limit = 9;
            self.num_max_perks = 9;
            level.max_perks = 9;
        for ( ;; )
        {
            level waittill( "connecting", player );
            player.clientid = level.clientid;
            player thread onplayerspawned();
            level.clientid++;
        }
    }
    onPlayerConnect()
    {
      //level.perk_limit = 9;
        //self.num_max_perks = 9;
        //level.max_perks = 9;
       //level.perk_purchase_limit = 9;
        for ( ;; )
        {
            level waittill( "connecting", player );
            player.clientid = level.clientid;
            player thread onplayerspawned();
            level.clientid++;
        }
    }
    onPlayerSpawned()
    {
        self endon( "disconnect" ); 
    
        for( ;; )
        {
            self waittill( "spawned_player" );
                //self.num_max_perks = 9;
                //level.perk_limit = 9;
                //level.max_perks = 9;
                //level.perk_purchase_limit = 9;
    	    while(1){
                	self.num_perks = 0;
                }
        }
    }
    

    why do i did a while boucle ? because i see that in zombiemode.gsc a check is made if self.num_perks >=4 then the game deny player to buy new perk so the while boucle is for make self.num_perks as 0 always but didn't work also

    dontknowletsplundefined 1 Reply Last reply
    0
    • Matrixvundefined Matrixv

      i tried to make a script for edit perks limit but even with editing everything i can only buy 4 perks here is the script :

      #include maps\_utility; 
      #include common_scripts\utility;
      
      
      init()
      {  
      	level.perk_purchase_limit = 9;
              level.perk_limit = 9;
              self.num_max_perks = 9;
              level.max_perks = 9;
          for ( ;; )
          {
              level waittill( "connecting", player );
              player.clientid = level.clientid;
              player thread onplayerspawned();
              level.clientid++;
          }
      }
      onPlayerConnect()
      {
        //level.perk_limit = 9;
          //self.num_max_perks = 9;
          //level.max_perks = 9;
         //level.perk_purchase_limit = 9;
          for ( ;; )
          {
              level waittill( "connecting", player );
              player.clientid = level.clientid;
              player thread onplayerspawned();
              level.clientid++;
          }
      }
      onPlayerSpawned()
      {
          self endon( "disconnect" ); 
      
          for( ;; )
          {
              self waittill( "spawned_player" );
                  //self.num_max_perks = 9;
                  //level.perk_limit = 9;
                  //level.max_perks = 9;
                  //level.perk_purchase_limit = 9;
      	    while(1){
                  	self.num_perks = 0;
                  }
          }
      }
      

      why do i did a while boucle ? because i see that in zombiemode.gsc a check is made if self.num_perks >=4 then the game deny player to buy new perk so the while boucle is for make self.num_perks as 0 always but didn't work also

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

      @3D2D To remove perk limit in bo1 you have to modify vending_trigger_think() function in _zombiemode_perks.gsc file

      a81a4584-e23b-446c-94c1-1edb4e891f00-kuva.png

      Matrixvundefined serranopepperundefined 2 Replies Last reply
      0
      • dontknowletsplundefined dontknowletspl

        @3D2D To remove perk limit in bo1 you have to modify vending_trigger_think() function in _zombiemode_perks.gsc file

        a81a4584-e23b-446c-94c1-1edb4e891f00-kuva.png

        Matrixvundefined Offline
        Matrixvundefined Offline
        Matrixv
        wrote on last edited by Matrixv
        #3

        @dontknowletsplay nvm sorry

        dontknowletsplundefined 1 Reply Last reply
        0
        • Matrixvundefined Matrixv

          @dontknowletsplay nvm sorry

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

          @3D2D Change the number 4 to what ever you want the limit to be-

          Matrixvundefined 1 Reply Last reply
          0
          • dontknowletsplundefined dontknowletspl

            @3D2D Change the number 4 to what ever you want the limit to be-

            Matrixvundefined Offline
            Matrixvundefined Offline
            Matrixv
            wrote on last edited by
            #5

            @dontknowletsplay yes just figured out thanks

            1 Reply Last reply
            0
            • dontknowletsplundefined dontknowletspl

              @3D2D To remove perk limit in bo1 you have to modify vending_trigger_think() function in _zombiemode_perks.gsc file

              a81a4584-e23b-446c-94c1-1edb4e891f00-kuva.png

              serranopepperundefined Offline
              serranopepperundefined Offline
              serranopepper
              wrote on last edited by serranopepper
              #6

              @dontknowletsplay do you know where that file is because i cant find it

              I dont think its there

              dontknowletsplundefined 1 Reply Last reply
              0
              • serranopepperundefined serranopepper

                @dontknowletsplay do you know where that file is because i cant find it

                I dont think its there

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

                serranopepper It is there otherwise you would get error when starting zombie game. Its in your game files raw/maps/_zombiemode_perks.gsc

                1 Reply Last reply
                0

                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


                • Login

                • Don't have an account? Register

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