MV Are there any simple visual equipment plugins?

In my experience, more often than not, plugins run stuff way more smoothly than eventing does. Especially if we're getting into more fancy territory. Code just offers more control in general than eventing buttons, especially when it comes to stuff like when to execute what.

A simple example would be with eventing you can only call a common event after the menu has been closed to change the sprite. With a plugin code, the sprite change can be executed while the menu is still open. This could be helpful to avoid the player seeing the sprite flicker from one armor to the other.

There are many many other examples, this is just a very simple, relevant one.
That it works doesn’t mean that it is in any way good practice, though. Running a parallel event just to catch this is wild. It’s like letting a dog stand watch at a door 24/7 to catch hubby coming home.


Starting with a couple of scripts will really do you good, trust me. I’m all for using the default eventing as much as possible. But. Sooner or later you’ll need to do some degree of coding if you want to do fancy stuff, might as well start early.


Probably not. It’s just extremely brute force for what you’re trying to do. Just keep that in mind going forward.
Jealousy is an ugly color. Telling someone something won't work when it already is is just wrong. Leave the person alone and get over that your way didn't work.
Telling someone something won't work when it already is is just wrong
he didnt say that it didnt work. what he said was...
That it works doesn’t mean that it is in any way good practice
which is explicitly saying that it does work with the caveat that it isnt "good practice". he then gave an explanation of why he believes it isnt good practice.

Leave the person alone and get over that your way didn't work.
youre the only one here that is saying that some method doesnt work (without yourself or OP even having tried it yet). everyone who mentioned JS acknowledged that the evented way will change the actor's sprites, just not efficiently.
he didnt say that it didnt work. what he said was...

which is explicitly saying that it does work with the caveat that it isnt "good practice". he then gave an explanation of why he believes it isnt good practice.


youre the only one here that is saying that some method doesnt work (without yourself or OP even having tried it yet). everyone who mentioned JS acknowledged that the evented way will change the actor's sprites, just not efficiently.
Which is wrong. Taking my words out of context and theirs doesn't change the fact the plugin they were talking about runs all the time and checks more. My way is BARELY even a check and when it does it DOES NOT AT ALL BREAK THE ENGINE!! Why is everyone attacking the RIGHT WAY to do something and SO BENT ON DOING IT THE WRONG WAY? Why do you think you are all talking glitches? That is PLUGINS ONLY!! Try it instead of attacking it and see how WRONG ALL OF YOU ARE!! The OP is HAPPY!! BEYOND HAPPY with MY SOULUTION BECAUSE IT WORKS RIGHT!! STOP CLAIMING IT DOESN'T WITHOUT ANYTHING AT ALL TO BACK THAT UP OTHER THAN YOU WANT IT TO NOT WORK RIGHT!! WOW!! Maybe learn how to event and then talk!! Not only does this work, it works BETTER than the PLUGINS!! MY GOD!!
----
Depends. Without a wait it can. Might get lucky on your end if it is your only parallel event EVER, but once deployed you might find out players can't run it well.

I mean I got lucky once and one without a wait didn't lag my game. YET. And that is the issue. Thankfully I caught it and fixed it before it had a chance to compound with everything else that is going on per frame.
I find it interesting so many are saying this won't work or it will bog things down and the OP says it works 100% the way they asked.
----
Would having one common event that works in parallel really lag the game that much?
Nope. I have over 25 running on a game with over 490 maps and one maps has over 35 NPCs running on parallels smoothly and without issues. All of these people are melting down because they do things the hard way and are mad there is another way than the hard scripting way they do things.

In fact, a plugin doing this would use more Ram to check constantly than the engine's eventing. But these people are melting down over the fact they didn't know that.
----
So, OP has a solution that works for them, but to address the points...



all event commands are script under the hood
Spoiler: i.e. the change actor images event command
and parallel events will run every frame if allowed. its not incorrect to say that this will be running a script 60 times a second as thats the basic result of calling that event command in a parallel event of any kind. theres plenty of examples of people running parallel common events on the forums and encountering lag from them. its why waits are recommended to be used - so that the game isnt trying to run it 60 times a second on the map

this one may be more directly relevant


like eventing the way you mentioned, it wont "glitch" if you do it right. and literally speaking, its a one line script call that you would copy-paste into noteboxes. the only real "work" would be typing the name of the new sprite sheet to be used. eventing it imo would be the more complicated way to do it as youll have to nest all the checks properly as the event gets larger with more options added
Yet the OP figured it out, it works for them, and you are now making excuses because each of you are 100% wrong in every single way and melting down over the fact you don't know how to use the engine at all and need to script things that are already there and work faster and better if evented. Making excuses get you nowhere fast.

@doller554 , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.



Taking my words out of context and theirs
I dont believe i misrepresented anything that i quoted, but i apologize if you believe that your words have been

the plugin they were talking about runs all the time and checks more.
In fact, a plugin doing this would use more Ram to check constantly than the engine's eventing. But these people are melting down over the fact they didn't know that.
except it doesnt. it provides an eval that hooks directly into Game_Actor.changeEquip. it only gets ran the moment any actor's equipment is changed as opposed needing to run every frame when on the map. if you dont believe it, then you can open devtools, place a breakpoint in the function i linked earlier, and see when that function runs using both methods

Why do you think you are all talking glitches
we're not

Try it instead of attacking it and see how WRONG ALL OF YOU ARE!!
I have before, which is why i dont suggest it either. efficiency aside, needing to go to the map for the change to take place is clunky when equipping gear rarely happens on the map. if an actor's face changes using the evented method, their face doesnt change till you go to the map. when you close the equip scene to go to the main menu on the way to the map, their face would not have updated yet.
same goes for if the actor's gear changes in battle via event commands or with an in battle equip menu plugin. The update wont happen until the battle ends and the player is returned to the map

STOP CLAIMING IT DOESN'T WITHOUT ANYTHING AT ALL TO BACK THAT UP OTHER THAN YOU WANT IT TO NOT WORK RIGHT
nobody claimed it didnt work
I was searching for a visual equipment plugin, but most of them are overly complicated, with multiple layers, and body part sprites being split across multiple files. I would appreciate if somebody would show me a plugin that simply changes the sprite of the main character when their worn armor is changed.
Take a second to look at Canned Dino and their friends and how each one of them has acted. Notice not once did a single one of them even try to help you at all. Not once at all. Instead, once you got the help you needed, they attacked it. These are trolls that do this all of the time here. They sell cheap plugins that don't work and are over complicated like the ones you complained about. Then when anyone has a solution that isn't one of their cheap plugins, they attack it. Canned Dino attacks everyone that has a solution that isn't scripts or plugins. This is NOT how the engine works properly and what they are doing in rewriting the engine.

Notice the ones that claimed that anyone that doesn't use scripts and plugins are afraid of debugging? This is why they take 5 years to make a short game. They don't know what they are doing and are writing scripts without any idea how it effects the engine in the long run, and they make things up as well to defend this nonsense. Why would you sit there and debug something from script when all you had to do is event it? And to make this worse on them, their plugin is checking EVERY SINGLE ITEM ATTACHED TO THE PLUGIN. This is where real lag comes from and why a lot of plugins are broken. My way ONLY checks what you are wearing and not every single item. Their way is a HUGE RAM eater and I've tried it in the past like you did. It's a garbage plugin that is more than overcomplicated, they made it to sell it or place their name in someone's game, but never cared if it worked or is what that person only needs. Instead they filled it with everything they could think of and that's why they don't work properly.

This group that is sitting here attacking solutions that work and place doubt in you, they do this all of the time and Hate when people have solutions. Again, notice not a single one of those trolls ever tried to help you and instead treated you like you weren't good enough for not knowing how to script the way they do. Stop listening to trolls and your game will be fine. Never allow a troll to place doubt in your head when they are not at all trying to help you like Canned Dino and their typical troll backing that are just their friends they told to lie to you to save their face.
I got a vague idea of how those visual equipment plugins work, yeah, but what I was looking for was a plugin that would simply change the whole sprite of the character, not only parts of it, since it's easier for me to draw a whole sprite, while those plugins require me to fragment my sprites into different body parts which is just more work and in my opinion is only overly complicating everything.
The problem with changing the whole sprite is that you then need a separate variant of the character for every possible combination of equipment they can have visible upon them. So the more slots you're adding distinct appearances for, the more exponentially your image requirements rise.

@doller554 I feel I should address some inaccuracies with things you've said. I'm not getting into whatever you have going on with other people here beyond pointing out that everyone who answers questions on these forums is an unpaid volunteer, we do it of our own volition, and there isn't some insidious plugin-plugging conspiracy you've unravelled. I don't disagree that often things can be solved with eventing, but you're starting to sound unhinged.

Here's the thing: every event command runs code under the hood; it's literally no different from what a plugin does. It's possible to inefficiently structure event commands, and it's possible to inefficiently code a plugin. Neither method is inherently superior to any other; the "correct" way to do something is the way that accomplishes what you want and doesn't introduce any side effects you don't want.

The pushback you're getting on your method stems, I believe, from three main potential issues:

1. A parallel process event runs every frame. If you're checking what equipment an actor has every frame, that's a huge number of frames on which you're performing a check that isn't actually needed, because equipment can only change when you change it. This might work, but it is not the most efficient method.

2. As I said above, it introduces an exponential requirements increase where if you want to visually represent an additional item, you then have to create a new image for every possible combination of equipment that can also be equipped along with that item. Your method works, but it isn't easily expandable.

3. It might not lag now, but if you also end up with a lot of other parallel process events doing various things, that won't necessarily always be the case. And you can't guarantee it won't lag on another player's machine if they have older or less powerful hardware than you're using to test your project.

I'm really confused as to what you mean when you say "their plugin is checking EVERY SINGLE ITEM ATTACHED TO THE PLUGIN". If you're referring to waynee95's CustomOnEquipEval, it runs the code in the associated notetag only when the equipment item with that notetag is equipped. That's it. It literally can't run at any other time, because it's part of an alias of Game_Actor's changeEquip function, which is only ever called when equipment changes. It's not checking every item, at all, ever, anywhere.

It's possible you've gotten confused by the part of the plugin that parses the notetags on weapons and armors, because that does process every item in the database, but only at the very beginning of the game when data is created. The overhead of this is so minor as to be completely negligible, and it doesn't introduce something happening every frame that you have to keep track of as you add more things to your game in case it does become an issue.

Using a plugin over eventing tends to become the more attractive solution, at least in my opinion, when directly editing the engine code allows you to eliminate repetitive or complex tasks that events simply cannot do on their own, and in which the part of the engine you need to execute them from isn't exposed enough to events to use the "script" command. (imagine for a second that someone wants to do this exact same thing, but has 6 characters with visual equipment and 6 equipment slots in which the item they have on is visible; can you tell me how many conditional branches your event would need for that?)

But I'm glad your suggestion seems to have worked for OP's needs at this time. I really hope that continues to be the case, but the idea that a plugin can't solve this problem is as mental as the arguments you're saying other people in the thread are making. There's literally nothing events can do that a plugin is incapable of, because they end up routed through the same back-end codebase in the end.
The problem with changing the whole sprite is that you then need a separate variant of the character for every possible combination of equipment they can have visible upon them. So the more slots you're adding distinct appearances for, the more exponentially your image requirements rise.

@doller554 I feel I should address some inaccuracies with things you've said. I'm not getting into whatever you have going on with other people here beyond pointing out that everyone who answers questions on these forums is an unpaid volunteer, we do it of our own volition, and there isn't some insidious plugin-plugging conspiracy you've unravelled. I don't disagree that often things can be solved with eventing, but you're starting to sound unhinged.

Here's the thing: every event command runs code under the hood; it's literally no different from what a plugin does. It's possible to inefficiently structure event commands, and it's possible to inefficiently code a plugin. Neither method is inherently superior to any other; the "correct" way to do something is the way that accomplishes what you want and doesn't introduce any side effects you don't want.

The pushback you're getting on your method stems, I believe, from three main potential issues:

1. A parallel process event runs every frame. If you're checking what equipment an actor has every frame, that's a huge number of frames on which you're performing a check that isn't actually needed, because equipment can only change when you change it. This might work, but it is not the most efficient method.

2. As I said above, it introduces an exponential requirements increase where if you want to visually represent an additional item, you then have to create a new image for every possible combination of equipment that can also be equipped along with that item. Your method works, but it isn't easily expandable.

3. It might not lag now, but if you also end up with a lot of other parallel process events doing various things, that won't necessarily always be the case. And you can't guarantee it won't lag on another player's machine if they have older or less powerful hardware than you're using to test your project.

I'm really confused as to what you mean when you say "their plugin is checking EVERY SINGLE ITEM ATTACHED TO THE PLUGIN". If you're referring to waynee95's CustomOnEquipEval, it runs the code in the associated notetag only when the equipment item with that notetag is equipped. That's it. It literally can't run at any other time, because it's part of an alias of Game_Actor's changeEquip function, which is only ever called when equipment changes. It's not checking every item, at all, ever, anywhere.

It's possible you've gotten confused by the part of the plugin that parses the notetags on weapons and armors, because that does process every item in the database, but only at the very beginning of the game when data is created. The overhead of this is so minor as to be completely negligible, and it doesn't introduce something happening every frame that you have to keep track of as you add more things to your game in case it does become an issue.

Using a plugin over eventing tends to become the more attractive solution, at least in my opinion, when directly editing the engine code allows you to eliminate repetitive or complex tasks that events simply cannot do on their own, and in which the part of the engine you need to execute them from isn't exposed enough to events to use the "script" command. (imagine for a second that someone wants to do this exact same thing, but has 6 characters with visual equipment and 6 equipment slots in which the item they have on is visible; can you tell me how many conditional branches your event would need for that?)

But I'm glad your suggestion seems to have worked for OP's needs at this time. I really hope that continues to be the case, but the idea that a plugin can't solve this problem is as mental as the arguments you're saying other people in the thread are making. There's literally nothing events can do that a plugin is incapable of, because they end up routed through the same back-end codebase in the end.
Except a ton of you SELL plugins you made, so not volunteers. In fact, the ones attacking, that do so every single time anyone has a solution outside of a plugin, are the ones selling them. So making it up that no one here sells anything at all is pure lies.
Except a ton of you SELL plugins you made, so not volunteers. In fact, the ones attacking, that do so every single time anyone has a solution outside of a plugin, are the ones selling them. So making it up that no one here sells anything at all is pure lies.
Yes, some of us sell plugins. A lot of us don't, and several don't even create them. We're still volunteers when it comes to answering questions on the forums, which is the only claim I made; don't put words in my mouth, please. I have plenty of them to put there myself.

What plugin has even been suggested here outside of waynee95's (which is completely free), who wasn't even commenting in the thread? What exactly do you imagine people are trying to convince OP to buy?

You haven't addressed a single one of the points I made to you on the actual topic.
Yes, some of us sell plugins. A lot of us don't, and several don't even create them. We're still volunteers when it comes to answering questions on the forums, which is the only claim I made; don't put words in my mouth, please. I have plenty of them to put there myself.

What plugin has even been suggested here outside of waynee95's (which is completely free), who wasn't even commenting in the thread? What exactly do you imagine people are trying to convince OP to buy?

You haven't addressed a single one of the points I made to you on the actual topic.
Yet, not one gave any solution at all. And when a solution was given that the OP loved and worked for them, it was attacked. That is called not helping at all and trolling. And those people do sell plugins. That's the issue here. Every single time anyone gives any solution outside of plugins, these same people attack it. That is NOT helpful to ANYONE AT ALL. The OP was happy, and then these people came down on everyone for not using their ideas instead. And their ideas were nothing at all but to shame the OP for not knowing how to script. That is NOT helpful either and is in fact what TROLLING IS!!
Yet, not one gave any solution at all. And when a solution was given that the OP loved and worked for them, it was attacked. That is called not helping at all and trolling. And those people do sell plugins. That's the issue here. Every single time anyone gives any solution outside of plugins, these same people attack it. That is NOT helpful to ANYONE AT ALL. The OP was happy, and then these people came down on everyone for not using their ideas instead. And their ideas were nothing at all but to shame the OP for not knowing how to script. That is NOT helpful either and is in fact what TROLLING IS!!
Okay. I already told you I'm not getting into whatever else you had going on with others in the thread. I have not attacked you, shamed OP, or said anything unreasonable. So could you kindly address the points I've raised with you instead of going back to that as if it's a counterpoint against my post?
Except a ton of you SELL plugins you made, so not volunteers.
1. Point me to one plugin I’m selling.
2. That people are selling plugins does not somehow make your solution any less brute force.
And their ideas were nothing at all but to shame the OP for not knowing how to script.
No body is shaming the OP. Just trying to encourage OP to pick up scripting since you gotta start somewhere.

There’s simply no mechanism in place to pick up when an equipment change has occurred in RM. I’m all for using as much of the default event commands as possible since they are very robust. This is just not one of those situations.

Take a second to look at Canned Dino and their friends and how each one of them has acted. Notice not once did a single one of them even try to help you at all.
Why the gas lighting, brother. This is completely unnecessary.

This is why they take 5 years to make a short game.
I don’t know what metrics you have to back this up.
1758668257867.png

Also, this is JS Plugin Requests, so it’s not at all far-fetched of people to suggest plugin solutions above standard RM event commands.
The problem with changing the whole sprite is that you then need a separate variant of the character for every possible combination of equipment they can have visible upon them. So the more slots you're adding distinct appearances for, the more exponentially your image requirements rise.

@doller554 I feel I should address some inaccuracies with things you've said. I'm not getting into whatever you have going on with other people here beyond pointing out that everyone who answers questions on these forums is an unpaid volunteer, we do it of our own volition, and there isn't some insidious plugin-plugging conspiracy you've unravelled. I don't disagree that often things can be solved with eventing, but you're starting to sound unhinged.

Here's the thing: every event command runs code under the hood; it's literally no different from what a plugin does. It's possible to inefficiently structure event commands, and it's possible to inefficiently code a plugin. Neither method is inherently superior to any other; the "correct" way to do something is the way that accomplishes what you want and doesn't introduce any side effects you don't want.

The pushback you're getting on your method stems, I believe, from three main potential issues:

1. A parallel process event runs every frame. If you're checking what equipment an actor has every frame, that's a huge number of frames on which you're performing a check that isn't actually needed, because equipment can only change when you change it. This might work, but it is not the most efficient method.

2. As I said above, it introduces an exponential requirements increase where if you want to visually represent an additional item, you then have to create a new image for every possible combination of equipment that can also be equipped along with that item. Your method works, but it isn't easily expandable.

3. It might not lag now, but if you also end up with a lot of other parallel process events doing various things, that won't necessarily always be the case. And you can't guarantee it won't lag on another player's machine if they have older or less powerful hardware than you're using to test your project.

I'm really confused as to what you mean when you say "their plugin is checking EVERY SINGLE ITEM ATTACHED TO THE PLUGIN". If you're referring to waynee95's CustomOnEquipEval, it runs the code in the associated notetag only when the equipment item with that notetag is equipped. That's it. It literally can't run at any other time, because it's part of an alias of Game_Actor's changeEquip function, which is only ever called when equipment changes. It's not checking every item, at all, ever, anywhere.

It's possible you've gotten confused by the part of the plugin that parses the notetags on weapons and armors, because that does process every item in the database, but only at the very beginning of the game when data is created. The overhead of this is so minor as to be completely negligible, and it doesn't introduce something happening every frame that you have to keep track of as you add more things to your game in case it does become an issue.

Using a plugin over eventing tends to become the more attractive solution, at least in my opinion, when directly editing the engine code allows you to eliminate repetitive or complex tasks that events simply cannot do on their own, and in which the part of the engine you need to execute them from isn't exposed enough to events to use the "script" command. (imagine for a second that someone wants to do this exact same thing, but has 6 characters with visual equipment and 6 equipment slots in which the item they have on is visible; can you tell me how many conditional branches your event would need for that?)

But I'm glad your suggestion seems to have worked for OP's needs at this time. I really hope that continues to be the case, but the idea that a plugin can't solve this problem is as mental as the arguments you're saying other people in the thread are making. There's literally nothing events can do that a plugin is incapable of, because they end up routed through the same back-end codebase in the end.
So instead of reading AT ALL what the OP posted, you are making up your own rules. The OP said very specifically they wanted a way to event it, without using complicated plugins or scripting. They wanted to make those assets you now complain about, they didn't want the things you are pushing on them, and you NEVER ONCE LISTENED to ANYTHING AT ALL THEY SAID OR ASKED yet you think I am the problem. Maybe take a second to look back at where you messed up.
Okay. I already told you I'm not getting into whatever else you had going on with others in the thread. I have not attacked you, shamed OP, or said anything unreasonable. So could you kindly address the points I've raised with you instead of going back to that as if it's a counterpoint against my post?
And did I say YOU DID!! You claim they didn't though!! SO STOP LYING!! You have lied now three times!!
The OP said very specifically they wanted a way to event it
This is factually untrue. The OP was asking for a plugin.
1758779358022.png

Aside from the text, the OP is also posting in JS Plugin Requests. So it makes sense that plugins are suggested.
And did I say YOU DID!! You claim they didn't though!! SO STOP LYING!! You have lied now three times!!
Homeboy, you need to take a step away from the internet. At this point this completely unhinged tirade you are on is accomplishing nothing but making you look completely schizo. This is embarrassing. Stop.

I feel bad for the OP who probably wanted none of this drama in his thread.
Yeah, I'm out. I don't offer my time here to be yelled at.

Glad you got your solution, OP. I hope it doesn't end up causing you issues.

Alright, that's enough of that. If you are posting to help @Sandoiu (if they still need it, otherwise they can report this thread to be closed) that is fine, but the drama is over. Anyone who continues it will receive warning points and be banned from this thread.

@Sandoiu , if you want to do this with the waynee95 plugin use the script in the weapon/armor's notebox:

<Custom On Equip Eval>
$gameActors.actor(a._actorId).setCharacterImage("$blank");
</Custom On Equip Eval>

replace $blank with your filename of the image you want to change the actor's image to

Note: If you have more than one actor that can change their clothes (so each actor has a different image) I need to know what the filenames look like to give you the code for that.
I was away for a while and couldn't see what was going on with my thread, I apologize for it breaking out into a huge argument. Thanks to everyone who took their time to reply and help me, I can figure stuff out on my own from here. I think I want this thread closed though so that no further arguments can happen

Edit: To adress some misconceptions about my request for anyone who might be looking for a similar thing. My game will only have one playable character, and the only thing that will visually change is the armor she wears and her portrait, other equipment won't change anything to her sprite and that's why changing the whole sprite is easier, because I can just draw her with different armor. Both the common event and the CustomOnEquipEval plugin with the right script work well, but my personal preference is the plugin, so if you want something similar try those out.

Original thread: https://forums.rpgmakerweb.com/threads/are-there-any-simple-visual-equipment-plugins.180231/