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,948
Reaction score
8,615
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 Profile Posts

My home state baseball team is going back to the World Series for the first time since 1999. I remember when they went in 1995 and won, that was like the best day of my life. (I'm a huge baseball fan and yes I'm talking about the Braves).
FL Studio is a huge step up from LMMS but I'm having such a tough time with it D:<
The new Dune movie reminds me of the game Dune 2 made by Westwood. A quality product on its own, but extremely disloyal to its source of inspiration.
Terrible Writing Advice, you've done it again.
1635026211997.png
Feeling like my new profile picture is nice. Thinking of making it semi-permanent, does any one has an opinion? Does it look too evil or does it work as a public profile picture? :)
Bishiba.png

Forum statistics

Threads
116,038
Messages
1,095,207
Members
151,382
Latest member
ApeXKitsune
Top