[VX] Job Changing/EXP Script

JOB CHANGING SCRIPT (Version 1.0)

Features
  This is a Job Changing system, made by Prexus. It does several things, up to
  and including changing Jobs:
    * You can change in between any Job in the 'Class' tab of the Database.
    * Experience is totalled for characters and their Jobs, individually.
    * Jobs gain levels, Jobs determine what skills you learn in the Class tab.
    * Job Levels/Exp are remembered when changing jobs.
    * An interface for changing jobs.
    * Interface will show available/unavailable skills when highlighting a job
      and pressing Shift.

  It also includes a Window_Base method (draw_seperator,) that is useful for
  drawing a fancy line to separate one area of a window from another, and the
  Window_Confirm class. A subclass of Window_Selectable that creates a small
  Yes/No confirmation window.

  Uses the same basic layout as my Party Selection Script

Screens
http://i177.photobucket.com/albums/w233 ... lector.png[/img]

http://i177.photobucket.com/albums/w233 ... ector2.png[/img]

http://i177.photobucket.com/albums/w233 ... ector3.png[/img]

Instructions

Instructions are in the script, use $scene = Scene_ClassChange.new to call the interface.

Demo
Hosted by http://rpgmaker.net at http://rm-dev.org

Changelog

- * Nil
Wow, Prex, nice man. I'll have to find a cool use for this.
Yay! This is brilliant! I just know I'll be using this!
Good job, Prexus!
This is EXACTLY what I was looking for! YOU'RE BRILLIANT!!! 😀
Quick question: Does this solve the issue of the event command for changing class, for when you change to a new class, you still have your old skills from the previous class and you don't get the earlier spells in the new class (Like if you're supposed to learn Fire at Lv.3 but you changed to the class at Lv.5, then you won't learn Fire)?
Damn! I'm working on a script extremely similar to yours... Whatever, great job man! :thumb:
This is a great script but. Should'nt there also be requirements for the more powerful jobs.
Holy wow. Amazing script. Good job, as always Prexus.

EDIT: Just one error. When only one person is in the party, it gives me an error... to be more exact:
Script: 'Profession' line 434: NoMethodError occured.
undefined class 'class_id' for nil:NilClass

Basically what happens is, when I hit the arrow key to go to a different person, it crashes. This is because I'm assuming I have no one else in the party, so it doesn't have anyone to select and such. Just a small error I assume, but overall, amazing script.
Hero wrote:
Quick question: Does this solve the issue of the event command for changing class, for when you change to a new class, you still have your old skills from the previous class and you don't get the earlier spells in the new class (Like if you're supposed to learn Fire at Lv.3 but you changed to the class at Lv.5, then you won't learn Fire)?


Yes.

Mezmerize: I know what you are talking about but I never experienced the problem, i'll look for it.
can you make it show class pictures or charsets, or change the charset when you change jobs
Oh prexus, I was going to do this. I've been thinking about a good script for VX to make, to get back into scripting... And this was right at the top. lol

I'll have to download this. Well.. first I guess I'll have to buy VX.

I guess I can always help add to this script since it has a ton of "expanding" potential. Looks good though, prexus.
After watching my Party Script get knocked off the board by Dargor's, I felt I had to get the jump on this one :>

You're welcome to contribute to it, although I will be making extensions for it myself.
This is probably one of the most useful VX scripts out there right now. Its so simple. I can't wait to see what more comes out of it. I wish you the best of luck, Prexus.
A little question.

Is it possible to create classes that you must meet certain requirements to be able to change into?

An example is that to be able to switch into a Paladin you need Knight and Priest classes at lvl 5 each.
Very Gog!
I Tranlated from portuguese from brazil!!
My friends love this script!!!
This doesn't look like it's in Portuguese...
I've looked at all the suggestions in the thread, as well as fixed the problem Mezmerize had earlier regarding moving off a character.

- "Locked" Jobs until conditions are met (I'll do this)
- "Class Icons" to represent the classes (I can do this)
- Class Specific character graphics (I won't do this)

If anyone else has any suggestions, let me know. I'll be glad to review them and include them into the script if I like them. The focus of my scripts are simplicity and unless a feature adds something useful, I won't add it.
Is it possible to add this to the menu?

like

Item
Skill
Equip
Status
Job
Save
Game end
Why on the Demo, for the Current Exp, It says "Current Exp"
And for Next Level it says "To Next Level"

But when I put it on my game, it comes up as "Total Experience" and "Level to Next Level" :crazy: Not only does that not make
sense, but it also underlaps the number for the Current and Total Exp

Confuzzled  :crazy:
How about when mastering a job allows you to pass the skills over to a default job. EXCEPT for unique skills of that class.


For example let's say the  beginner job is a Student. You learn no skills, little stat growth and no abilities learned. But when you master the Warrior Class. All skills pass to the beginner job Except unique skills to that class. as well as some stats that come with it.
VxOsx wrote:
Why on the Demo, for the Current Exp, It says "Current Exp"
And for Next Level it says "To Next Level"

But when I put it on my game, it comes up as "Total Experience" and "Level to Next Level" :crazy: Not only does that not make
sense, but it also underlaps the number for the Current and Total Exp

Confuzzled  :crazy:


Check your "Vocab" section of the script, it should be there. You probably have changed the Vocab section or are using a version of RMVX that isn't kosher.
Awesome I may use this if I make a game similar to FF.
Prexus wrote:
VxOsx wrote:
Why on the Demo, for the Current Exp, It says "Current Exp"
And for Next Level it says "To Next Level"

But when I put it on my game, it comes up as "Total Experience" and "Level to Next Level" :crazy: Not only does that not make
sense, but it also underlaps the number for the Current and Total Exp

Confuzzled  :crazy:


Check your "Vocab" section of the script, it should be there. You probably have changed the Vocab section or are using a version of RMVX that isn't kosher.


:crazy: sorry to sound noobish... But wtf is Kosher -.- and my Vocab is exactly the same as the demo
Kosher just means acceptable.

Awesome script, Prexus.
If I used VX, I'd snap this up in a heartbeat.
Ah well. Maybe eventually, if I ever start a VX project.
Great script Prex, I was wondering if in a future release you could include +/- percentage change on stats when changing classes to reflect the new class, customizable by the user for each class.  And GOT2MOVE's idea about having Job as an option in the menu would be cool as well.
ummm...the demo link is down =(

edit: nvm, its working lol
Great scrip.. I'll use it.
How about, when you change to another job, your stats also change. Example: Knight which has high HP and strength, when you job change to magician, your stats will be converted to high spirit and MP.
how about since you said you are doing locked jobs can you also add in

char specific jobs [only one char can be it]
and the option to put in certain class id's that will never show up in the class menu?

I wanted to make sections with a fake class marked {beginning jobs go here}
then after a few beginning jobs
{advanced jobs}
this way it would be more organized for me XD
wsensor wrote:
char specific jobs

I would really like to see this also.  This is a great script, but for me to use it I would need to be able to restrict characters to certain classes only.  For example, it wouldn't suit me to have a scholarly type of character who can select Knight or Berserker as a job.

Again though, nice work.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=42990