Announcement

Collapse
No announcement yet.

max levels....

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    max levels....

    hey, i remember someone saying something about changing the max levels, atk, or something like that. exactly how do you do that?

    thanx
    Looking for a rmxp group to Join? Visit

    www.freewebs.com/warriordomain

    "The Only Limitations Are Those You Set On Yourself"

    #2
    Re: max levels....

    Every single thing you need to alter the characters is in the actors tab. By default, maximum level is 99, hp is 9999, mp and all the other stats are 999 but you can alter the scripts to increase them to an infinite level. To change the max level, click on the little slider next to maximum level and change it from 1-99. Same thing goes with all the other stats (except you click on a bar graph).

    Comment


      #3
      Re: max levels....

      There is a script out there that allows one to break those limits, however you can't change anything past the default caps in the editor.

      Comment


        #4
        Re: max levels....

        Yup, it's just as marcus said.


        However, if you want a specific idea on how you would go about reprogramming the scripts so that there are no maximums, you could do this little experiment.

        1. Open up RPGM XP, go to Tools-->Script editor.

        2. In the lefthand column labeled "Script", right-click anywhere, and go down to Find, like so:




        3. Once you select Find, type in 999 in the "Find in All Sections" window box that appears, and start the search. (You can also type in 99, or 9999 or whatever else you feel like searching for).


        4. The search will bring up a list of all the lines in which "999" appears in the scripts, like this:



        From here you can jump to any line of a script that contains "999."


        5. To permanently change the maximum for a certain stat, you would have to find every instance in which that stat is calculated against the maximum 999 and change that 999 value to a new number.

        Take a look at this line, found in line 79 of the Game Battler 1 script. It is part of the method called "str" that checks a battler's current strength.

        n = [[base_str + @str_plus, 1].max, 999].min

        n is a variable in which a certain battler's strength stat is temporarily stored so that the method can return the stat.

        [base_str + @str_plus, 1].max checks so see whether the battler's base strength plus their strength plus (the attack bonus gained by weapons and other equipment and such) or 1 is higher. This is what the .max does: checks to see which value is higher among those listed in an array in brackets and sets it equal to that value.

        Then, the .min checks to whether the battler's strength (or 1, if their strength is less than 1) or 999 is lower, and sets it equal to that value. So if your battler's strength is actually 1001, his or her strength will still be returned as 999, because 999 is lower.

        If you go into the code and change the 999 to 5000, then from now on the script will return which is smaller, your battler's strength or 5000. This means you have changed all of the battler's max stat for strength to 5000. If you do this for all of the times a similar calculation occurs in the scripts, you can custom tailor stat maximums to your heart's content.


        If you want to make adjustments to your scripts, just make sure you save a backup copy of your game file in case you save a script configuration that crashes.
        Last edited by TheHonorableRyu; 09-22-2005, 07:00 AM.

        Comment


          #5
          Re: max levels....

          thanx everyone
          Looking for a rmxp group to Join? Visit

          www.freewebs.com/warriordomain

          "The Only Limitations Are Those You Set On Yourself"

          Comment

          Working...
          X