Is it possible to add a skill type to an actor through an event? For example, an actor gains the ability to transform and you want transformations to be their own skill type. And, until they learn how to transform, you don't want that skill type to be available to them. The only way I can think of to do this is change classes, but I'd rather not have to make copies of classes in my database just for this, if at all possible. Any ideas?
Adding Skill Types
RPG Maker MV SupportYou can create a plugin to do that.
If you want to keep away from plugins, you have this alternatives:
- Create another class than the user changes into, with that skill type added.
- Create an accesory/armor type than is equiped and fixed from that moment onwards.
If you want to keep away from plugins, you have this alternatives:
- Create another class than the user changes into, with that skill type added.
- Create an accesory/armor type than is equiped and fixed from that moment onwards.
You'll need a dynamic traits plugin for that, otherwise the traits are fixed to database changes.
I know it's on the to-do of several scripters, but I don't know if anyone had time to write one yet.
I know it's on the to-do of several scripters, but I don't know if anyone had time to write one yet.
I see. Thanks guys.
This idea is good. Could be like a Ben10 kinda deal where a magical bracelet, ring or necklace binds to the hero and although he can't remove it he can now transform
The thing about having an accessory equipped is that I want my transformations to be innate/dormant abilities that you give you access to a new skill type after you've learned/obtained them. I think there was a script for VX Ace that hit skill types until a skill for that type was learned... Not that I can remember its name. xD
Unless I can find a script that let's me with hide skill types until a skill for it is learned, or allows me to just add skill types outright, I'll have to bite the bullet and just make multiple classes.
Unless I can find a script that let's me with hide skill types until a skill for it is learned, or allows me to just add skill types outright, I'll have to bite the bullet and just make multiple classes.
Look at Shaz's Dynamic Traits. It'll be a little hard to learn, but it will allow you to modify the traits and add/remove skilltypes based on event.
I haven't tested it yet. But I was looking for the same solution as you. So I will be checking it out.
Ah, commented on the wrong thread. Please delete.
This seems like an old thread, so it probably doesn't matter anymore, but I managed to find a way to do just this without using plugins or equipping items.
I created a common event which runs parallel to the game and inflicts my character with a state which adds a skill type the moment he learns an ability.
So create a common event which is switched on before you learn the ability (for instance Fire I) in the common event you program a conditional branch: If: [player] has learned Fire I -> change state: [player] Magic.
In this case Magic is a state which adds the Magic skill type to the player. As long as you leave the title empty and don't add a symbol, it doesn't seem to appear in your stats (until now at least) and as the common event keeps running parallel to your game, even if the state is removed by resting or healing, it will immediately be reinstated.
This might not be the solution you were looking for but up until now it seems to work for me.
I created a common event which runs parallel to the game and inflicts my character with a state which adds a skill type the moment he learns an ability.
So create a common event which is switched on before you learn the ability (for instance Fire I) in the common event you program a conditional branch: If: [player] has learned Fire I -> change state: [player] Magic.
In this case Magic is a state which adds the Magic skill type to the player. As long as you leave the title empty and don't add a symbol, it doesn't seem to appear in your stats (until now at least) and as the common event keeps running parallel to your game, even if the state is removed by resting or healing, it will immediately be reinstated.
This might not be the solution you were looking for but up until now it seems to work for me.
Oh, a quick update regarding my earlier post.
If your character KO's in a battle and he is revived, he will have lost the skill type you added through a state until the end of battle, after which it will once again be reinstated through the parallel common event.
In my game this is no problem since I already decided that KO's must have a lasting effect on the battle, temporarily losing your magic is a penalty I inflict on those too weak to stay alive XD But because of this it might not be the solution you were looking for.
If your character KO's in a battle and he is revived, he will have lost the skill type you added through a state until the end of battle, after which it will once again be reinstated through the parallel common event.
In my game this is no problem since I already decided that KO's must have a lasting effect on the battle, temporarily losing your magic is a penalty I inflict on those too weak to stay alive XD But because of this it might not be the solution you were looking for.
Original thread: https://forums.rpgmakerweb.com/threads/adding-skill-types.48983/