Class Change Advanced

AlphaSilvr

King of the Wolves
Veteran
Joined
Aug 7, 2013
Messages
63
Reaction score
8
First Language
English
Primarily Uses
Hello,
I am probably asking the impossible here, but I will ask anyway. :p

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!
 
Last edited by a moderator:

Berylstone

Veteran
Veteran
Joined
Jun 3, 2013
Messages
642
Reaction score
62
First Language
English
Primarily Uses
Hello,

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

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.
 
Last edited by a moderator:

AlphaSilvr

King of the Wolves
Veteran
Joined
Aug 7, 2013
Messages
63
Reaction score
8
First Language
English
Primarily Uses
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.
 

kerbonklin

Hiatus King
Veteran
Joined
Jan 6, 2013
Messages
1,726
Reaction score
275
First Language
English
Primarily Uses
RMMV
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)
 
Last edited by a moderator:

Berylstone

Veteran
Veteran
Joined
Jun 3, 2013
Messages
642
Reaction score
62
First Language
English
Primarily Uses
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?
 
Last edited by a moderator:

AlphaSilvr

King of the Wolves
Veteran
Joined
Aug 7, 2013
Messages
63
Reaction score
8
First Language
English
Primarily Uses
@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. :D 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!
 
Last edited by a moderator:

Berylstone

Veteran
Veteran
Joined
Jun 3, 2013
Messages
642
Reaction score
62
First Language
English
Primarily Uses
@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...
 

AlphaSilvr

King of the Wolves
Veteran
Joined
Aug 7, 2013
Messages
63
Reaction score
8
First Language
English
Primarily Uses
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. :D
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,070
Members
137,577
Latest member
SadaSoda
Top