Scriptless Armor Appearance Change

Hey all, I was looking around to see if there was a free script that makes it to where when you change a piece of armor your characters appearance changes, but the best one I could find was from Victor and he charges for his scripts uses, so I decided I would try and do the same thing with common events, and found it is remarkably simple to do! So much so that this is going to be a very short tutorial. Without further ado:

TutorialScreenie.png

First, go to the common events tab of the database and make a common event and set it to parallel process, and the switch be whatever you want it to be(I make all my common event "passive" events run off my intro, so that they work throughout the entire game from the very beginning.)

Then inside that common event, make a conditional branch with the option of whatever piece of armor you want to be able to change the graphic to change the player into when equipped, then set up whichever graphic you want and turn off "set handling for when conditions don't apply" as that is not needed.

Underneath the graphic change within the same conditional branch, make another conditional branch, but this time instead of setting it to where a different piece of equipment changes the skin(or reverts it back to default, whichever you choose to do), make a conditional branch that changes the skin when that item is in the inventory.


Walah, you can now change your characters appearance at the drop of a dime based on which piece of gear you define is equipped, scriptless.
😮 oooh I'll try this. Does this apply for battle sprites as well and is it possible with weapons too 😮
I think I know what you're trying to do, and your logic is not quite right.


Why would you want to change the player's graphic based on whether a piece of armor is in inventory? What if they have several of the same and someone has it equipped AND there's also one in inventory? What if they HAD it equipped, but an event unequips it AND gets rid of it (so it's not in inventory) at the same time, before the common event gets a look-in?


This could also get very laggy if you're doing it for several actors, for every piece of armor or weapon they could have equipped.
I must admit I wrote this with the idea of only playing one character. I'll have to go back through it and see about how to get it working through multiple actors/gear changes.

But it shouldn't change based on if the item is in the inventory, but equipped.

I'll have to look through it and see how it works again being as how I wrote this a long time ago.
I've done it this method. It can cause a bit of lag with the constant checking of what the player is wearing.

Great tutorial for those of whom don't wish to use any scripts though. 🙂
Aside from being quite a really not so good method to use, it needs you to have different sprites of that actor for each armor... and that is something that isn't really easy to do...


also why the double check? You only need to check if it's equipped or not equipped... Right now, if the armor is equipped and I also have it on my inventory, then I will go back to Hanitoro since it checks if it's equipped, then checks if it's on my inventory...


Plus as armors become higher than 1, you'd need quite a different approach since you need to check first for any equipped armor... if none, that is only the time to change back to default sprite...
Indeed this metod is rather inconvenient, even if you have only one playable character in a whole game. Unless this is a very small one you usually have more than 2-3 pieces of armor your hero can equip throughout a story. Drawing new sprites for each one might be really time consuming + annoying. I`m not even considering the part if every piece of equipment is tracked, then you should have to~ons of variations what character wears at the moment. What about those who have multiple playable characters? You may not pay attention if they`re only party members from the menu but what if they are visible followers? Oh man, just imagine...

Original thread: https://forums.rpgmakerweb.com/threads/scriptless-armor-appearance-change.14590/