Class Change Advanced

Hello,
I am probably asking the impossible here, but I will ask anyway. 😛

I have a character that can change class IN and OUT of battle. This is pretty important to story. But I ran into something while playtesting... when she would switch to her attack class, her equips would "disarm" if they couldn't be equipped on her.
I have found scripts that allow transformations during battle by using states, but that is not what I want since I want the change to stick.
Example: She is a Healer (class) going into battle and then she transforms into her Assassin class, ending the battle this way.

Can I have it so that when she switches in battle you can choose to equip her right then and there (preferably an auto optimal would be nice, but a manual equip would work)?
Can the changes remain no matter where she changes?

I have this working for skills, class and graphic through a common event, the only remaining problem is the equipments... nothing like switching in the midst of battle only to realize your at base stats... 🙁

I want a system, if possible, to change the character's class AND equipment at any time, in or out of battle.

Is this even possible? Does it exist and I missed it?

Thank you!
Hello,

I am probably asking the impossible here, but I will ask anyway. 😛

I have a character that can change class IN and OUT of battle. This is pretty important to story. But I ran into something while playtesting... when she would switch to her attack class, her equips would "disarm" if they couldn't be equipped on her.

I have found scripts that allow transformations during battle by using states, but that is not what I want since I want the change to stick.

Example: She is a Healer (class) going into battle and then she transforms into her Assassin class, ending the battle this way.

Can I have it so that when she switches in battle you can choose to equip her right then and there (preferably an auto optimal would be nice, but a manual equip would work)?

Can the changes remain no matter where she changes?

I have this working for skills, class and graphic through a common event, the only remaining problem is the equipments... nothing like switching in the midst of battle only to realize your at base stats... 🙁

I want a system, if possible, to change the character's class AND equipment at any time, in or out of battle.

Is this even possible? Does it exist and I missed it?

Thank you!
I'm not 100% sure I understand what you are asking.  But if all you want to do is equip something during battle, you can use the Change Equipment command under Actor on page 1 in your event commands.
Sorry for the confusion. 

I want the change equip to automatically appear when you change her to another class during battle so that you are not wasting two turns setting up her new class during battle.

I guess what I am asking is, is there a combination of "Change Equipment" and "Change Class" so that when you use the ability to change class during battle it will automatically come up with change equipment?

Thank you.
Script call

$game_actors[x].optimize_equipments

X being the actor ID.

There may also be a way to remove your character's worn equipments and store those in an array, which can be called back later to re-equip them. It should look something like this, but for equips instead:

a = $game_actors[x]

v = []

a.skills.each do |skill|

  v.push(skill.id)

  a.forget_skill(skill.id)

end

$game_variables[y] = v

Y being a variable ID to store the array stuff.  Ask a scripter here if they can turn this into an equipment thing. (Ace Script Request)
Sorry for the confusion. 

I want the change equip to automatically appear when you change her to another class during battle so that you are not wasting two turns setting up her new class during battle.

I guess what I am asking is, is there a combination of "Change Equipment" and "Change Class" so that when you use the ability to change class during battle it will automatically come up with change equipment?

Thank you.
You could write a conditional branch into your change class event to check what Class the Actor is after switching then automatically equip the weapons and armor you want that class to equip.  An example:

Conditional Branch: [Actor1] is [Class1]

Change Equipment: [Actor1], Weapon = [Weapon1]

Branch End

Is that what you mean?
@kerbonklin - I know nothing of scripting but I will try the first one. The equipping optimal would be, at this moment, the best way... but it would be nice to equip your own items and have them stay the same between class swaps. 😀 Thank you!

 EDIT: That worked great! Thank you!

@Berylstone - That is almost what I want. I could do that but that would mean I as the creator set what equips go on the character after the class swap. So very close, but if nothing else works that will. Thank you!
@Berylstone - That is almost what I want. I could do that but that would mean I as the creator set what equips go on the character after the class swap. So very close, but if nothing else works that will. Thank you!
So you want the player to be able to choose their equipment for themselves after changing classes in battle?

You could do that by giving the player choices in your event then equipping gear based on their answers.  For example:

Text: Which Weapon do you want to equip?

Show Choices: Weapon1, Weapon2, Weapon3, Weapon4 

When Weapon1

Conditional Branch: [Weapon1] in Inventory

(Common Event that removes equipped weapon)

Change Equipment: [Actor1] Weapon = [Weapon1]

Branch End

When Weapon2 and so on...
Very nice!
That is a lot of event planning but doable! Thank you!

Not sure which one I will go with yet, but its nice to know that the options I had in mind are doable. 😀

Original thread: https://forums.rpgmakerweb.com/threads/class-change-advanced.17246/