equipped weapoon type changes class

i'm looking for actors to change class based strictly on their equipped weapon type

*actor class generic equips short sword: class changes to squire.

*actor class squire equips excalibur: class changes to knight.

and so on

note: i'm running SeM's weapon class change script atm, but when changing weapons all other equipment becomes equipable, armor included. equipping armor on the weapon slot obvs crashes the game

first forum post ever, any assistance would be greatly appreciated

much love to scripters and others who take time to help out newbs like
That's because each class has its own equip type that need to be set in the database editor.

Changing class changes the equip limit and requirements. So when you try to do things the opposite way, you have to make sure to set up the equip type and requirement on each class correctly.

edit:

I am not sure why you are trying to equip armour on the weapon slot. Weapon are restricted to slot 0 only, while armour uses the rest of the slots id.

If you want a class to have no weapon but using armours only, that can works too. eg. making spell book in armour type.

Try use this script for that, weapon slot will be removed if the class/actor can't use a weapon: http://forums.rpgmakerweb.com/index.php?/topic/50873-auto-equip-slots-beginner-friendly/
thanks for the reply, meow

i'm aware of weapon and class types and their functionality, and i have set them accordingly. The author says that the class type id and weapon type id must correspond in the database. eg: knight class id (003 in classes tab) corresponds to knight sword id (003 in terms tab under weapon type). I'm not "trying to equip armor" in the 0 slot. but the option is there once the script has been implemented.

having troubles upping images, so links:

screen (actor has ability to equip all weapon types)

screen1 (weapon types are set to 1-3)

screen2 (classes are set to 1-3)

screen3 (when i attempt to change my weapon i am given the option to equip all armor (despite none of it being an assigned armor type) in the 0 slot.

i'm fairly new to this, but have been able to troubleshoot a few script bugs on my own. this one, however, is beyond me

i would love a fix or working script. i think this mechanic has a lot of possibilities

thanks
Then there's a problem with your equip script. It's loading the wrong item list.

Well, if you just want the class to change according to weapon id. I might be able to put together a quick script for you.

Simply use this script instead.

Script link: http://forums.rpgmakerweb.com/index.php?/topic/53103-class-change-via-weapon-type-equip/
hi meow

loaded the script into a blank project and it worked perfectly! simple and effective! thank you so much for your help

you're a goddess
You're welcome!

Original thread: https://forums.rpgmakerweb.com/threads/equipped-weapoon-type-changes-class.52996/