YEP_ClassChange Core - No way to unlock subclasses?

Hi!

I would like to give new subclasses to the player acording to game progress,
but there is no option to unlock subclasses in the plug in. (You can set them from the beginning or completely restrict them)

There is an option to unlock classes using the comand:

"UnlockClass X Y"

but there is no equivalent to the subclasses system.

My Question is: Is there a way to reward the player with new subclasses?

What i have done until this point is simply hide the menu option for the player and give the option to change subclasses through an event but the player has acces to all of them.

I would like to give 1.st the hability to change and 2nd to unlock new ones through quests or events.



Plug ins:

ClassChange Core Plug in: http://yanfly.moe/2015/11/27/yep-32-class-change-core/
Subclass Plug in: http://yanfly.moe/2015/11/29/yep-34-subclass/
Moved to: Javascript/Plugin Support

Could you please edit your opening post to provide a link to the web pages where you got the plugins so that if people need to check something, they don't have to go hunting.
Thanks.
The best answer for your problem is a custom menu. You can event this very easily. I can make a quick mock up by tommorrow if you don't mind waiting.
The best answer for your problem is a custom menu. You can event this very easily. I can make a quick mock up by tommorrow if you don't mind waiting.

Thank you so much, you are so kind!

In my game there is a "main hub" that i would like the player keep coming back to.
this main hub will be filled with new NPCs acording to game progress.
That's why i would like to link this menu to an NPC and charge either gold or an item for changing subclasses.

My main problem is that there is no way (to my knowledge) to unluck subclasses.

My ideal scenario would be:
  • There is no option for subclass change
  • Story Event -> Unlocks new NPC -> Give player access to Change SC Menu
  • MC has only access to 2 sc's.
  • When new party member get's added -> New party memeber has access to 2 sc's but also gives acces to these 2 to the MC.

I can manage to restric the subclasses i want but i can't find a way to reward the player with new one by unlocking them.
Sorry for my inexpierience and languague barrier!
So you want the player to be able to unlock subclasses that aren't (I assume) also available as main classes?

At a guess, I'd suggest creating these subclasses like any other class, setting them to <Subclass Only>, and using the UnlockClass to make them available when they're ready. You can turn off the Subclass change in the menu and event it in elsewhere to keep that part restricted. If you do want the class available as both main and subclass (but only after it's unlocked), perhaps duplicate it in the database, then set one to <Primary Only> and one to <Subclass Only>?
@PrivateCaller
So here's my link to the MV project that has a menu that has locked subclasses.
The way I set it up is using Himeworks Hidden Choices plugin. I made it where the subclasses will only show when a switch is on. I set it up so that the switch will turn on when a certain character has joined the party. I also used Himeworks Disable Choices plugin. I used this to make it where the class cannot be selected, if you do not have enough money or are that subclass is that class or if you are already that subclass.
So let's say Harold is a Thief Class and a Healer subclass. Then when you go in the menu for Harold, both the Thief & Healer subclasses are disable and thus can not be selected.

There are few other things in the project as well, for example the subclass menu isn't in the main class menu, and certain variables are used, but I think those are self explanatory.

Oh and I used Himeworks Party Manager to Add & Remove Party Members. You don't need to use it for your project. I used it because it makes it easier to show the party adding mechanic. And Himeworks Large Choices to make a larger list, I also used Yanfly's Message Core for some text codes.

A few caveats about using this system,
1.Some JS knowledge is need, so if you have any questions about what any of the scripts calls I used do, just ask.
2.The subclasses are still available even if the party member leaves you. ie Therese gives you the warrior class when she joins the party, but then she leaves, Harold will still have access to the Warrior Subclass even though Therese is in not the party.

Oh and if anyone else want's to check out what I did, you may also click on the link above.
@PrivateCaller
So here's my link to the MV project that has a menu that has locked subclasses.
The way I set it up is using Himeworks Hidden Choices plugin. I made it where the subclasses will only show when a switch is on. I set it up so that the switch will turn on when a certain character has joined the party. I also used Himeworks Disable Choices plugin. I used this to make it where the class cannot be selected, if you do not have enough money or are that subclass is that class or if you are already that subclass.
So let's say Harold is a Thief Class and a Healer subclass. Then when you go in the menu for Harold, both the Thief & Healer subclasses are disable and thus can not be selected.

There are few other things in the project as well, for example the subclass menu isn't in the main class menu, and certain variables are used, but I think those are self explanatory.

Oh and I used Himeworks Party Manager to Add & Remove Party Members. You don't need to use it for your project. I used it because it makes it easier to show the party adding mechanic. And Himeworks Large Choices to make a larger list, I also used Yanfly's Message Core for some text codes.

A few caveats about using this system,
1.Some JS knowledge is need, so if you have any questions about what any of the scripts calls I used do, just ask.
2.The subclasses are still available even if the party member leaves you. ie Therese gives you the warrior class when she joins the party, but then she leaves, Harold will still have access to the Warrior Subclass even though Therese is in not the party.

Oh and if anyone else want's to check out what I did, you may also click on the link above.
Thank you so much for your effort! I'll try it right away!
I'll make sure to credit you in the game!

Original thread: https://forums.rpgmakerweb.com/threads/yep_classchange-core-no-way-to-unlock-subclasses.87205/