TheBoundDemon

Blasphemy against the holy spirit!
Veteran
Joined
May 15, 2020
Messages
53
Reaction score
2
First Language
Polish
Primarily Uses
RMVXA
In my project there are several classes: Assault, Sentinel, Support, Caster and Summon. However, different actors that have the same class can have different skillsets.

So for example Hero1 is an Assault class and has three skills: Sword, Bow, Dagger
And there's also Hero2 who is also an Assault class but has three other skills: Mace, Crossbow, Axe

My question is simple: Is it possible to make it so different actors have the same class but use different sets of skills?

Edit: Forgot to mention that it would be ideal to make this work without copy-pasting the class separately for each hero.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,901
Reaction score
8,596
First Language
German
Primarily Uses
RMMV
only by tricking the engine, usually the class is what defines the skill.
and it will have disadvantages like showing all skills even if they are not usable

have all skills learned by class, but don't put the skill type in the class - place it in the actor instead.
so the class will teach all skills, but only some will be available to each actor.


a better alternative might be to trick the player: make two different classes but name both "assault".
Unfortunately this has the disadvantage that you as the developer have to take much more care to not accidentally mix the classes up yourself.
 

TheBoundDemon

Blasphemy against the holy spirit!
Veteran
Joined
May 15, 2020
Messages
53
Reaction score
2
First Language
Polish
Primarily Uses
RMVXA
I see...
I don't like the option of having every single skill visible but unusable for the actors.

Looks like I will have to commit copypaste
(I could always put the relative actor's name in the class' notebox, to know which class "clone" is for which actor)

Thanks for advice
 

Latest Threads

Latest Posts

Latest Profile Posts

Finally got my website fixed and the security sorted so it's been a productive day. Can I go to sleep now? I mean... I don't need to work right?
It's always a good idea to refresh yourself on what your plugins do. I'm working on a map with opening walls, and I was about to tear my hair out over how much image editing and hand-constructing of autotiles I'd have to do, when I looked again and saw @Shaz 's Tile Changer could copy areas from another map.
"sorry it took me so long to respond" - can we please agree not to say that anymore unless it actually took a long time?! (Like 36hrs at least) I mean, I'm running out of funny responses here xD
Ugh... 4:53AM over here and I can't sleep so why not just game make.
I just love the MV feature that allows you to create your own animations!

Forum statistics

Threads
115,919
Messages
1,094,016
Members
151,174
Latest member
sardin
Top