Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
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.5k 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.
  • Matrixv Offline
    Matrixv 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

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

      dontknowletspl Offline
      dontknowletspl 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

      Matrixv serranopepper 2 Replies Last reply
      0
      • dontknowletspl 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

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

        @dontknowletsplay nvm sorry

        dontknowletspl 1 Reply Last reply
        0
        • Matrixv Matrixv

          @dontknowletsplay nvm sorry

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

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

          Matrixv 1 Reply Last reply
          0
          • dontknowletspl dontknowletspl

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

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

            @dontknowletsplay yes just figured out thanks

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

              serranopepper Offline
              serranopepper 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

              dontknowletspl 1 Reply Last reply
              0
              • serranopepper serranopepper

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

                I dont think its there

                dontknowletspl Offline
                dontknowletspl 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
                • Donate