I haven't really played the game I'm making, and therefore haven't tried leveling up my character. So I was wondering...
1) Does your level stick to your character? Say I switch the character's class from fighter to thief mid-game, will my character still be lv. 5 or be shot back down to a lv. 1?
if it doesn't...
2) Does that mean the level sticks with the class? Say if it does go down to lv. 1 for thief if I change it back to a fighter will it be lv. 5 again?
and either way I want to know...
3) Is there a script out there that makes the level stick with the class and maybe comes with an extra menu tab that can show you your class levels?
I think it sticks to the character... there are scripts to make it stick to the class too... like Yanfly's Class System, it also allows you to easily change jobs, set jobs available to a certain actor and it allows you to have sub-classes too and others
It's class based. If your character has 10000 EXP which would put them at level 7 in class A, but at level 5 in class B, when you switch them from one class to another, they will be whatever level is appropriate for that amount of EXP for that class. So it won't go back down to 1, but it may not stay at the same level.
So it's like EXP is actor based but level is computed depending on class based from the actor's EXP, right?
Thank you both. I think I will use Yanfly's class system. I really enjoy it and remember that type of class leveling system in final fantasy III ...or something like that.
Kind of (you're making me look it up now!)
EXP is saved at the actor level, but in a hash that's indexed by class id. So if an actor swaps between half a dozen classes, they could have half a dozen EXP figures.
The method to change an actor's class accepts the new class and a flag to indicate whether to keep the current EXP. If you say yes, it will set up the EXP for the new class to whatever the current class has. Otherwise it'll set it to 0.
The very interesting thing is that this method is only called from one place - the interpreter, as a result of the Change Class event command. It does NOT pass in this second parameter, which causes it to default to false.
So according to what I see in the scripts, what I said in my previous post is wrong - they DO go back to 0, unless you're using a script mod to make it keep EXP between classes.
Seems unusual to me to provide a way to keep EXP but not to use it in any script calls, and have no option on the Change Class event command to say whether to keep it or not. Perhaps someone who's looked into this more can clarify.
If you do use a script to maintain any gained EXP upon class switching, you have to be careful when setting classes to gain skills at specific levels. If you level a Warrior to 10, and then switch to a mage who would learn a skill at lv5, they would NOT learn the skill because they don't level TO 5, they go straight to 10.
So when using a maintained EXP method of class stuff, it's best to not use that method of skill-learning unless you want to write/use a code that fixes the issue. (Not sure if one exists) But then again trying do use that method might be confusing to the player, learning skills for another class that they aren't using or don't have access to at the moment.
I think tsukihime's learning conditions script now works with the class change skill-learning problem... 🙂
Actually there is a bug on the RPG Maker.
On the scripts there is actually a method thar allows to change classes and keep the current level, But due to a failure on the RPG Maker interface, the change class event command don't have this option avaiable, even though the code for that is present.
So via events you can't keep levels by default (you can work around that though), but with scripts you can choose.
ah right... I'm getting confused due to the amount of your scripts... XD
Anyway, I think the OP said a few posts ago that he had what he needed, so I'll cut this interesting conversation short here 🙂
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.