DeadlyCraft15 0 Report post Posted April 24, 2010 Ok For My Game you have the chance to go up in class like warrior to paladin to royal and then king but I want to know how to make my character go up in class like a FF tactics style of course but I cant find any scripts or tutorials if any on can help that would be great. Share this post Link to post Share on other sites
AbnormalHairGrowth 0 Report post Posted April 26, 2010 First of all, it's helpful to know exactly what "FF tactics style" means. From The Final Fantasy Wiki: "As each human character develops, they gain experience, which will increase their overall level. Characters also gain Job Points (JP), which allow them to level up within a job until they have mastered it. As a character gains more experience in various jobs, they gain access to other, more advanced or specialized jobs. Some jobs, like Calculator and Mime, require invested time and experience in several jobs, and require mastery of others to be truly effective. Once learned, skills and job-specific commands can be used even after a character switches jobs, though a penalty may be applied." So it's the same as Final Fantasy III and V, and similar to Dokapon Kingdom. The only way I know of to do it is like this: Create some variables. The number of variables you will need depends on how many characters you have and which classes are available to them. If all classes are available to all characters, you'll need the number of available characters x the number of available classes. For instance, if you have five available characters and five available classes, and each character can use each class, you would use 25 variables (5 characters x 5 classes). Set each variable to go up once for each job point you get - I think you can do this by calling a common event from your battle script, or within the script itself, but I'm not sure. Set it so that when each variable reaches a certain number, their level goes up (you can use another variable to represent job level), and when it reaches your set maximum, declare it Mastered. You can write it in so that each level up comes with stat bonuses, if you like. OR... From the sounds of it, you're not asking for a true FFTactics style system, but something more like a "rank" system, where your character only has one class path and proceeds along it the more he fights. That's much easier. Create one variable for each character who will be advancing classes. Same as before, program your battles so that each "LP" (which can be a hidden stat, or with a little coding you can mod your menu script to display it) they gain is added as a +1 to their class variable. You can assign certain numbers to levels, if you like, so that variable = 10 means your character is a Level 2 warrior, variable = 20 is Level Three, or whathaveyou. The numbers you decide on are up to you. To keep things really neat, create an extra variable labeled "Job Level (your character)," and every time the LP variable reaches a level-up point, increase the Job Level variable by one. The problem inherent in this is: where do you put in the coding for awarding LP? I have no friggin' clue. You're going to have to find somebody who knows how to call to a specific in-game variable from their script. Have each battle set the variable from 1-5 (or however much you're awarding), go into the ending script and have it increase the value of everyone's variable by that amount. Then you can have it check if any of these variables are at a level-up stage and set their level variable accordingly. Then you should put an event in your map - some wise wizardly wizard or whatever - that your characters can talk to. His purpose is to upgrade your characters' jobs. When you talk to him, the event will have him say something, then check to see if any of your characters can get a job upgrade (using Conditional Branch to test their Level Variable). If any of them have a maxed-out Level Variable, he'll ask if you want to upgrade their level, display Yes or No, and if you choose Yes, upgrade the character in question (Change Actor Class...), and do the same for any other characters you have. Of course, you'll want to make sure that any character getting upgraded is actually in your party. That'll require a few more conditions 'n' stuff. This is just a baseline to get you started - and, with any luck, to provoke someone who knows more about it than I do into saying something more intelligible. Share this post Link to post Share on other sites
DeadlyCraft15 0 Report post Posted April 30, 2010 First of all, it's helpful to know exactly what "FF tactics style" means. From The Final Fantasy Wiki: "As each human character develops, they gain experience, which will increase their overall level. Characters also gain Job Points (JP), which allow them to level up within a job until they have mastered it. As a character gains more experience in various jobs, they gain access to other, more advanced or specialized jobs. Some jobs, like Calculator and Mime, require invested time and experience in several jobs, and require mastery of others to be truly effective. Once learned, skills and job-specific commands can be used even after a character switches jobs, though a penalty may be applied." So it's the same as Final Fantasy III and V, and similar to Dokapon Kingdom. The only way I know of to do it is like this: Create some variables. The number of variables you will need depends on how many characters you have and which classes are available to them. If all classes are available to all characters, you'll need the number of available characters x the number of available classes. For instance, if you have five available characters and five available classes, and each character can use each class, you would use 25 variables (5 characters x 5 classes). Set each variable to go up once for each job point you get - I think you can do this by calling a common event from your battle script, or within the script itself, but I'm not sure. Set it so that when each variable reaches a certain number, their level goes up (you can use another variable to represent job level), and when it reaches your set maximum, declare it Mastered. You can write it in so that each level up comes with stat bonuses, if you like. OR... From the sounds of it, you're not asking for a true FFTactics style system, but something more like a "rank" system, where your character only has one class path and proceeds along it the more he fights. That's much easier. Create one variable for each character who will be advancing classes. Same as before, program your battles so that each "LP" (which can be a hidden stat, or with a little coding you can mod your menu script to display it) they gain is added as a +1 to their class variable. You can assign certain numbers to levels, if you like, so that variable = 10 means your character is a Level 2 warrior, variable = 20 is Level Three, or whathaveyou. The numbers you decide on are up to you. To keep things really neat, create an extra variable labeled "Job Level (your character)," and every time the LP variable reaches a level-up point, increase the Job Level variable by one. The problem inherent in this is: where do you put in the coding for awarding LP? I have no friggin' clue. You're going to have to find somebody who knows how to call to a specific in-game variable from their script. Have each battle set the variable from 1-5 (or however much you're awarding), go into the ending script and have it increase the value of everyone's variable by that amount. Then you can have it check if any of these variables are at a level-up stage and set their level variable accordingly. Then you should put an event in your map - some wise wizardly wizard or whatever - that your characters can talk to. His purpose is to upgrade your characters' jobs. When you talk to him, the event will have him say something, then check to see if any of your characters can get a job upgrade (using Conditional Branch to test their Level Variable). If any of them have a maxed-out Level Variable, he'll ask if you want to upgrade their level, display Yes or No, and if you choose Yes, upgrade the character in question (Change Actor Class...), and do the same for any other characters you have. Of course, you'll want to make sure that any character getting upgraded is actually in your party. That'll require a few more conditions 'n' stuff. This is just a baseline to get you started - and, with any luck, to provoke someone who knows more about it than I do into saying something more intelligible. Yea it perfect just two problems i have 8 characters and they are different classes and each classes has it own set of class paths like i have a warrior path archer path and warrior path cant go into archer path. and I dont know where to add the LP perimeter. Share this post Link to post Share on other sites
AbnormalHairGrowth 0 Report post Posted May 1, 2010 Create a variable for each character's LP. Label each variable "[Name]LP" so it's easy to tell which is which. If you want their LP to show up in the menu, you'll have to modify one of the menu scripts for this. I don't know how to do it. If you want to be quick-and-dirty, you can just write it into an event - for instance, the guy in charge of upgrading classes should tell you how much each character needs to get to the next level. All that takes is a simple "\v[event's number]" in the text. Share this post Link to post Share on other sites