Actor skills and when they learn them

Ok so I know this might be stupid but I need a bit of help. I have skills that only specific actors can learn, but I don't want to put them on classes. How would I go at making the actor learn the skill at a specific level no matter the class they have?
common event? subclasses? idk
You can set up a common event that stores the actors levels into variables and then checks if they meet the requirements. The base logic would look something like this (of course not fully fleshed out for a whole skill tree for a full party)
Unbenannt.JPG
You can set up a common event that stores the actors levels into variables and then checks if they meet the requirements. The base logic would look something like this (of course not fully fleshed out for a whole skill tree for a full party)
View attachment 155418
That is close to what I am looking for. I made different skill types: Demon, Angel, Human, and the actors all have specific skill types put on them. How would I go at using the skill types in the common event? (Sorry if this is a stupid question)
You don't. There is no way to just assign skill types. So you have to assign the skills to the actors they belong to manually. At least if you do that via common event. Not sure if there is a script for that.
You don't. There is no way to just assign skill types. So you have to assign the skills to the actors they belong to manually. At least if you do that via common event. Not sure if there is a script for that.
How would I do that for each character though? I might be able to make a teacher so the player can learn them through the teacher, but it would be hard to do.
By using/creating a common event for all characters or one for each that uses the logic I described. Skill types don't matter then since the only thing you need to care about is that each character gets the correct skills. It's the only way to effectively deal with this without using a script (at least as far as I'm aware of).
Of course you can use a teacher npc to achieve that too in case it's not required for them to automatically learn the skills.
Can't quite sleep yet and this has piqued my interest.
So!
Thinking about making a quick script for you on this, just to clarify... the situation is this right? :

* You have 3 additional skill types set up under Skill Types in the Terms tab of the Database.
These skill types are: Angel, Demon, Human

* You would like your Actors to learn:
i) Angel skills if something in your game has taught them the Angel Skill-Type
ii) Demon skills if something in your game has taught them the Demon Skill-Type
iii) Human skills if something in your game has taught them the Human Skill-Type... right?

* This way, you are not assigning skills through the Class section, but instead using a script (probably with notetags) to base the Angel / Demon / Human skills a character learns on their character level and what skill-types they have access to.

And that's basically what you're after... right? Or am I misunderstanding?

(also just to double check, this is definitely for RPG Maker VX Ace right?)
Can't quite sleep yet and this has piqued my interest.
So!
Thinking about making a quick script for you on this, just to clarify... the situation is this right? :

* You have 3 additional skill types set up under Skill Types in the Terms tab of the Database.
These skill types are: Angel, Demon, Human

* You would like your Actors to learn:
i) Angel skills if something in your game has taught them the Angel Skill-Type
ii) Demon skills if something in your game has taught them the Demon Skill-Type
iii) Human skills if something in your game has taught them the Human Skill-Type... right?

* This way, you are not assigning skills through the Class section, but instead using a script (probably with notetags) to base the Angel / Demon / Human skills a character learns on their character level and what skill-types they have access to.

And that's basically what you're after... right? Or am I misunderstanding?

(also just to double check, this is definitely for RPG Maker VX Ace right?)
OMG, You are so close to it: Here is a bit of what I mean. Yes for vx ace.
1598331344961.png

1598331365279.png
Oh right, so is the situation:

1) You want Slick to be able to learn the Demon Skills skill type.

2) You want this to not be tied to any one particular class, instead, you would rather the Demon Skills skill type be tied to the character Slick himself.

3) Unfortunately, without a script, this means that Slick now knows the Demon Skills skill type at level 1, whereas you would like him to not learn the Demon Skills skill type until a later level (or maybe you'd rather he just not learn all its skills at once and would rather spread them out across levels, again without interacting with the Class features section in the Database).

Right?
Oh right, so is the situation:

1) You want Slick to be able to learn the Demon Skills skill type.

2) You want this to not be tied to any one particular class, instead, you would rather the Demon Skills skill type be tied to the character Slick himself.

3) Unfortunately, without a script, this means that Slick now knows the Demon Skills skill type at level 1, whereas you would like him to not learn the Demon Skills skill type until a later level (or maybe you'd rather he just not learn all its skills at once and would rather spread them out across levels, again without interacting with the Class features section in the Database).

Right?
Close, other actors also have specific skill types on them, but yes I want the skills to be taught to the actors they are on throughout leveling without messing with the class section.
Here are all the actors and their skills:
1598336051717.png

1598336070119.png

1598336096393.png

1598336119952.png

1598336137843.png

1598336161155.png
Close, other actors also have specific skill types on them, but yes I want the skills to be taught to the actors they are on throughout leveling without messing with the class section.
Here are all the actors and their skills:
View attachment 157222
View attachment 157223
View attachment 157224
View attachment 157225
View attachment 157226
View attachment 157227

Cool, I've almost got this script figured out.

In hindsight you could probably accomplish this without a script by adding duplicate classes of each class in the Database and naming those duplicate classes after the Actors they are for.

That way, for example, you could have "Soldier" class have regular "Soldier" class skills, but "Slick Soldier" class learn regular "Soldier" class skills AND "Demon" skills.

But I appreciate that's pretty cumbersome and time consuming.

So I'll have this script version done for you shortly instead which should make things a lot easier for you 🙂
Cool, I've almost got this script figured out.

In hindsight you could probably accomplish this without a script by adding duplicate classes of each class in the Database and naming those duplicate classes after the Actors they are for.

That way, for example, you could have "Soldier" class have regular "Soldier" class skills, but "Slick Soldier" class learn regular "Soldier" class skills AND "Demon" skills.

But I appreciate that's pretty cumbersome and time consuming.

So I'll have this script version done for you shortly instead which should make things a lot easier for you 🙂
Thank you so much for your help. If you wouldn't mind I would like to put you in the credits of my game for the help you have provided.
Thank you so much for your help. If you wouldn't mind I would like to put you in the credits of my game for the help you have provided.

No problemo! Thanks for posting about an interesting problem to solve while I was fighting off the urge to sleep and craving a new coding challenge lol 😀.

Anything to keep away the voices...

I jest.

Lol.

Anyway, posting Scripts to their own threads takes a little while to be approved by Mods (understandably so, they do good work those Mods), so for now I'll just leave the script here for you to use, but I'll take it off of this post and link to the thread I plan on hosting the script in once that thread gets approved.

Here's the script 🙂
Hope it helps!
Let me know if you have any issues or if I misunderstood and you'd like it to be a little different:


-Update-
Thread's out!
Here's the link to my script that should help you out then 🙂

No problemo! Thanks for posting about an interesting problem to solve while I was fighting off the urge to sleep and craving a new coding challenge lol 😀.

Anything to keep away the voices...

I jest.

Lol.

Anyway, posting Scripts to their own threads takes a little while to be approved by Mods (understandably so, they do good work those Mods), so for now I'll just leave the script here for you to use, but I'll take it off of this post and link to the thread I plan on hosting the script in once that thread gets approved.

Here's the script 🙂
Hope it helps!
Let me know if you have any issues or if I misunderstood and you'd like it to be a little different:


-Update-
Thread's out!
Here's the link to my script that should help you out then 🙂

Ok, so I got an error when I put both the skills and skill type in the actors part of the database:
1598368981268.png

1598369014453.png

1598369037454.png
Ok, so I got an error when I put both the skills and skill type in the actors part of the database:
View attachment 157370
View attachment 157371
View attachment 157372

Ah silly me, that's what I get for trying to give the script a bit of extra functionality lol.

Alright, I'll update to a version 1.1 that won't have the stype checker in it (it was just a bit of background code I liked).

2 secs.
I would most definitely use a plugin to modify the level up listener, because a parallel event is wasted processor time.
you only want to redirect the check for skills at the time of having to learn those skills, and that's usually at the change of level.
you don't need a listener constantly pinging the check for level up, just in the odd case that it might catch a level up.
the interpreter is doing that already, always, behind the scenes.... you don't need another thing doing that again, you need to hook up your check to the interpreter at the correct place.
that's the job of a plugin.
Ah silly me, that's what I get for trying to give the script a bit of extra functionality lol.

Alright, I'll update to a version 1.1 that won't have the stype checker in it (it was just a bit of background code I liked).

2 secs.
Is v1.1 up?
I would most definitely use a plugin to modify the level up listener, because a parallel event is wasted processor time.
you only want to redirect the check for skills at the time of having to learn those skills, and that's usually at the change of level.
you don't need a listener constantly pinging the check for level up, just in the odd case that it might catch a level up.
the interpreter is doing that already, always, behind the scenes.... you don't need another thing doing that again, you need to hook up your check to the interpreter at the correct place.
that's the job of a plugin.

You on about the "skills" method?

Because that's a default method, I just modified what it chooses to include within it.
Is v1.1 up?

Yup. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/actor-skills-and-when-they-learn-them.125314/