Skills on equipment and based on level

I posted this in another forum and it got several views, but it seems no one has an answer. I'm kind of surprised because I didn't think this would be all that difficult to implement. Anyway, here goes:

I'm sure someone has probably asked about this before, but I couldn't find a thread addressing it (I promise, I searched).

So here is what I would like some help with: I'd like to have the skills a character is able to use, determined by the weapon he is using. Not, however, the weapon type. For example, if he has Weapon A equipped, he can use Skill 1 and Skill 2; if he has Weapon B equipped, he can use Skill 1 and Skill 5. Let's say Weapon A and B are both swords, so as I said, I don't want skill usage to be determined by weapon type but rather individual weapon.

In addition, I would like to know if it's possible to require the character to be a certain level to use the skills. Continuing the above example, at level 1 the character can only use Skill 1, on either weapon. At level 5 he can use Skill 2 if he has Weapon A equipped.

Basically, I want character skills to be gained through their weapons, and which skills on any weapon are available are determined by level. So as a character levels up, the sword they started with might now suddenly better than their newer sword because they have access to a third skill on the starter sword.

Now I know I could put the skills on the weapons by making each weapon a separate weapon type in the database, but that seems like it could get clunky quickly, especially if I want 2 or more weapons to have access to the same skill (although I believe Hime has a script that would make this part easier). Previous statement edited, as this would cause the skills to show up in battle, but be grayed out until the proper weapon was equipped. I'm not sure how to do the level check thing at all.

Is this possible simply through the editor, or do I need a script? I'd love for each weapon to display how many skills are on it, but they are not revealed (shows ????? or something in skill window) until they are useable, but that I'm (almost) sure requires a script.

Thanks in advance for any help!
You can add skills by equipping a specific weapon if that weapon has the specific skill added as a feature. Depending on your setup, the weapon might also have the specifc skill type as a feature to add.


That however, is level-independent. to add level-restriction to weapons you'll need a script.


The following tutorial might help you by showing what can be done without scripting (unfortunately it'll need a lot of extra work and careful bookkeeping):


http://forums.rpgmakerweb.com/index.php?/topic/10235-a-way-to-customize-skill-useconditions-without-scripting/
Andar, thanks for the response. I don't know where my brain was, for some reason I was thinking when you added a skill through a weapon as a feature, it became permanent. Doh! Of course, I didn't test it either because that would have made too much sense. 

As for the level restriction, it turns out Hime wrote a Feature Conditions script that works perfectly for that (I went through the Master Script List twice and somehow missed it both times, so I apologize for lack of brain activity).

Marking as solved. Thanks again!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/skills-on-equipment-and-based-on-level.37496/