MV Allow multiple classes on the same character

I've already tried to look for a plugin which allows to set multiple classes on the same character, but didn't have luck so far, though maybe this already exists, would be nice.

Allowing multiple classes for each character would seem like a simple request, but it touches on the very basis of the game system, and as such it may present more issues and problems than expected.
Regardless, this kind of feature would add a lot of character customization and build the ground work for the creation of many unusual archetypes.
The real use for this plugin, would be for games which allow the creation of new characters during the gameplay, or those which allow to change classes during the gamepley.

Spoiler: Visual aid
The preferred method to have multiple classes is by allowing every actor to have multiple class slots to be filled with any on of the existing classes. Most everything else of the system would remain the same.
visual aid multiclass.png



Assuming the left side to be accurate as to how rpgmaker MV operates, the right side is how it would look once multiple class slots are enabled in the system.
multiclass b-a.png


Summary:
1) unlock multiple class slots
(I would like having 3 class slots, but the number of class slots could be editable as well, some would like more, some only 2 classes)
1.a) unlock the slots inside the database data structure
1.b) unlock the slots visibly in the database editor

2) either create new functions to interact with different class slots (or modify the current class interaction functions)
2.a) add/change class inside a specific class slot
example:
◆Change Class:Harold, Mage, false
◆Change Class:[CharID], [ClassID], [class_slot], keep_level(true/false)
the possibility of having a Null class slot should also be considered, and likewise, having the class interaction to also remove the class, by setting the class slot as null, but not allowing the removal if there is only one class left active
2.b) change level to a specific class slot
example:
◆Change Level:Therese, + 3
◆Change Level:[CharID], [class_slot], [level]
or allow for a level up on all the classes the character holds (though, this would disadvantage the characters with less than the max classes in use)

3) have all the classes contribute to the character
3.a) stats = class1.stats + class2.stats + class3.stats
Base stats (HP, Attack, Agility, etc)
EX stats (hit rate, evasion, critical, regeneration, etc)
SP stats (effect recovery rate, damage rate, floor damage rate, etc)
3.b) total level = class1.level + class2.level + class3.level
3.c) character skills = class1.skills + class2.skills + class3.skills
all unlocked skills by each individual class level
3.d) character traits = class1.traits + class2.traits + class3.traits
traits like equip usability (though this could be skipped if
all characters could equip anything, ignoring classes)
traits like passive effects
traits more on the rpg side, like: cooking, riding, reading, tailoring, trading, diplomacy, detecting, etc
traits would be really anything written in the class "traits" and "notes" text areas of the editor.

4) have a point based levelling system, to allow to level up the classes not all at the same time
example: you have 10 class points, gained from levelling up in character total level,
spend 5 points on class1, 1 point on class2, 4 points on class3
so your character has: class1 Lv 5, class2 Lv1, class3 Lv4 (total character level Lv 10)



What could be done with a system like this one:

- Having multiple characters sharing the same class being still possibly unique, down to stats, traits, and general flavour
assume you have only 10 classes, with this system the combinations would multiply on an exponential rate, with 2 class slots there would be 100 combinations, with 3 class slots there would be 1000 combinations. (it isn't strictly 10 x 10, or 10 x 10 x 10, as there are doubles of pairings with just different order, but you get the point)
example: Warrior Archer, Warrior Mage, Warrior Priest, Warrior Thief, Warrior Summoner, etc

- Having races set using the class system, and having characters hold both races and multiple classes
example: Human Warrior Priest, Elf Brawler Mage, Orc Dancer Assassin, etc

- Or if one wants for more weird combinations, allowing multiple races on the same character.
example: Human Orc Warrior, Elf Dwarf Dragon, Golem Summoner Vampire
This would also allow for characters to build up based only on the race classes, like some kind of unholy fantasy mutants.

- Having multiple classes, combined with:
HIME_InstanceActors (by Hime) = allows the creation of new characters ingame
SRD_CharacterCreatorEX (by SumRndmDde) = allows to customize the face and appearance of characters ingame
would virtually allow a constant stream of new and unique playable characters inside the same game session (assuming the class combinations, and appearance combinations are beefed up properly), which would raise up the replayability of an huge amount, and would be the required feature for an open ended permadeath game.


This is all I can think of.
Are there more details or problems this kind of feature would bring on? Talking strictly about technical issues, not game designing ones. (issues of How, not of Why)


References:
HIME_InstanceActors (by Hime)
SRD_CharacterCreatorEX (by SumRndmDde)
YEP_X_Subclass (by Yanfly) (unclear yet if it allows multiple subclasses)
TalentBasedTraits (by Frogboy)
The core part of this is dead simple, even without scripting or plugins.

Store the individual class levels in variables.

Create a custom event to switch between them, storing the old class's levels in the appropriate variable and loading the destination class's level from the appropriate variable variable.

Then, have other custom events turn on skills and change class name etc based on the levels stored in those variables.
Off the top of my head, there's Yanfly's Class Select and Subclass plugins. I'm pretty sure Frogboy's D&D-inspired plugins also have some stuff for multiclassing.
Store the individual class levels in variables.

Create a custom event to switch between them, storing the old class's levels in the appropriate variable and loading the destination class's level from the appropriate variable.

Then, have other custom events turn on skills and change class name etc based on the levels stored in those variables.
The class variables would need to be bound to the actor (traits or notes, or similar), so not gamewide variables (V variables) (unless one wants to create a json inside a variable with all the existing characters and their levels, which is burdersome)

Using V variables could become messy when paired with actor creation mechanics, as the actor in action could not be among the predefined actors, so the class system needs to be flexible to also work with unknown characters.
As entirely new actors would not be known before the game starts, so premade variable assignations would only work for premade actors, but not for new actors, likewise having the class variables bound to the actor makes things easier when party-member-swapping happens (swapping between the active party and a reserve/bench/guildhall party)

It would also be convenient to use of the already existing class system inside MV, rather than scrapping it entirely.

I was also thinking of using a main class, in the regular actor class slot,, to manage all the regular operations like exp and level changes, without any change to the base MV system mechanics, while using other means to manage the other classes. But not by having the other classes entirely in background, but all contributing to the main class

Following that line of thought, the structure of the multiclass system could be by:
actorY [ total_class + (classes) ]
actorY [ total_class <---> (class1, class2, class3, classX) ]
where:
total_class (total exp, total level, total stats, total skills, total traits, total notes, total everything else)
total_class [set inside the regular actor class slot] [only holds native exp and level values, is empty otherwise, no skills, no stats, no traits] [all the other totals, are inherited from all the classes active on the actor]
classX (level, stats, skills, traits, notes, other)
classX [acts as a regular class, gains levels, grows stats, unlocks skills, but is not in the regular class slot, but inside a limbo somewhere else, is still strictly bound to the actor]
the total_class would hold levels to be distributed over the classesX
total_class --->(levels)---> classX
the classes would all transfer their qualities (stats, skills, traits, notes) to the otherwise empty total_class
(class1, class2, class3, classX) ---(stats, skills, traits, notes)---> total_class
This looks like a class level distribution system. And is similar to the system used in the Etrian Odyssey franchise (though that francise uses a main class + subclass scheme, not a freeform multiclassing, as described here).
There are clearly also other ways to build this, this system just has the bare minimun of required flexibility for character building.
Though manual point distribution systems can become burdersome when dealing with more than very few characters, automatic point distribution systems make it more feasible in games with many playable characters.

Much depends on which other systems one plans to connect this multiclassing further on.
Having the multiclassing as more flexible as possible, would be more convenient in general, and also help when combined with more plugins.

This is an other image to better explain what I am meaning for a multiclass system:
Spoiler: multiclass scheme
multiclass b-a.png
Going to add it to the title post too.


Though there is also the matter of keeping clear the distinction between the simplicity and the complexity of the system.
A gaming system must be simple, as to be easy to understand and be easily learned in the first phases of the game. Simplicity also relates to distinctiveness, which helps with early characterization. Class systems cover the simplicity side.
A gaming system must be complex, to allow a lot of freedom in gameplay, to better enjoy the latter phases of the game. Complexity also relates to depth, which relates to character development. Skill based systems cover the complexity side.
A multiclass system, is somehow in the middle between simplicity and complexity, but to keep things clear, a multiclass system should still lean on the simplicity side, and leave it to additional skill systems to cover the complexity.
Off the top of my head, there's Yanfly's Class Select and Subclass plugins. I'm pretty sure Frogboy's D&D-inspired plugins also have some stuff for multiclassing.
I've checked them thanks.

The subclass plugin of Yanfly does most of the things I'm looking for, like the merge of attributes from the subclass to the main class.
One doubt I have is if it allows for more than only one subclass. Given my premise, there would need to be at least 2 subclasses, to reach 3 classes for each character (1main + 2sub).

The scripts of Frogboy seem to go in the direction of entirely scrapping the class system and substituting it with a classless skill based system.
Which is interesting, but risks of losing simplicity, as class systems do still cover the important role of making the game more easy to approact and learn, compared to a pure skill based progression system which most often is intimidating and hard to mentally process as to derive distinctive and recognizeable characters.

I've added links of those to the title post as future references.
The scripts of Frogboy seem to go in the direction of entirely scrapping the class system and substituting it with a classless skill based system.
I don't exactly see that, but I was mistaken that he had a multiclassing system.

I don't know of any plugins, then, that do exactly what you want.

You might need to look into commissioning an extension for the Subclass plugin to allow for two to be assigned.

Or if you have more time than money, you could try to think up a workaround. For example, you could use Yanfly's Equip Battle Skills and call those skills your classes, then use SRD's Skill Extender so you select your "class" then you see its skills inside another window.

Original thread: https://forums.rpgmakerweb.com/threads/allow-multiple-classes-on-the-same-character.148038/