MV YEP Animated Sideview Enemies - Weapon Image Not Appearing

Hi all,

I've had this trouble for months now and have tried pretty extensively to fix it, with no luck.
In Yanfly's Animated Sideview Enemies plugin, you can assign Weapon Images to enemies using <Weapon Image: int>, and assign Weapon Motions using <Weapon Motion: string>
My project has a ton of animated enemies that use the same sprite sheets as Actors, so having these weapons and weapon motions display for enemy attacks is really neat because it gives the illusion of enemies having diverse weapons.

This plugin worked completely fine for a while, but at some point that I can't quite remember (perhaps an engine update?) the weapon images just stopped showing up. The motions work completely fine, and the images show up on my Actors, but not my Enemies.

1768011023206.png


Above you'll see this boss enemy 'Magnus' is supposed to be wielding a spear, and while the <Weapon Motion: thrust> is working just fine, the <Weapon Image: 12> is not showing up.
This is what Magnus's notetag box looks like...

1768011099518.png

As below, #12 should be assigned to Spear.
I have not modified the Weapons image files in the System folder, everything is default in that regard.

1768011136331.png


When Leon attacks with a Spear equipped, it calls the default 'Attack' skill which reads motion attack: user in its action sequence.
Doing this actually does display his spear as seen below.

1768011193407.png


motion attack is reading the image and motion from the equipped weapon, which in Leon's case is a Spear.
Enemies can't have 'weapons' equipped, which is why this plugin has notetags to manually display weapon images and perform motions.
But while the motion is working, the images are not displaying.
It doesn't matter what I change it to. Dagger, mace, staff, sword, bow. None of them work for enemies, yet all of them work fine for Actors.

I know this is elaborate and confusing but I don't know how else to explain it and its been driving me up the wall for months now.
Does anyone have any ideas or suggestions?


Edit: I also want to point out that motion thrust: user is currently in Magnus's action sequence for his attack skill. But if I replace it with motion attack: user instead (the one Leon uses) instead no motion is played at all.
Did you check if it works with other (non-relevant) plugins turned off? Did you check that your Yanfly plugins are in correct order?
Did you check if it works with other (non-relevant) plugins turned off? Did you check that your Yanfly plugins are in correct order?
Yes, I was supposed to mention in the post
I have tried creating a new blank project with only YEP Core Engine, YEP Battle Core, the 3 action sequence packs, and YEP Animated Sideview enemies and the issue still occurs even then.
And yes I've double checked the Plugin Order from Yanfly's website too.
Hi all,

I've had this trouble for months now and have tried pretty extensively to fix it, with no luck.
In Yanfly's Animated Sideview Enemies plugin, you can assign Weapon Images to enemies using <Weapon Image: int>, and assign Weapon Motions using <Weapon Motion: string>
My project has a ton of animated enemies that use the same sprite sheets as Actors, so having these weapons and weapon motions display for enemy attacks is really neat because it gives the illusion of enemies having diverse weapons.

This plugin worked completely fine for a while, but at some point that I can't quite remember (perhaps an engine update?) the weapon images just stopped showing up. The motions work completely fine, and the images show up on my Actors, but not my Enemies.

View attachment 357174

Above you'll see this boss enemy 'Magnus' is supposed to be wielding a spear, and while the <Weapon Motion: thrust> is working just fine, the <Weapon Image: 12> is not showing up.
This is what Magnus's notetag box looks like...

View attachment 357175
As below, #12 should be assigned to Spear.
I have not modified the Weapons image files in the System folder, everything is default in that regard.

View attachment 357176

When Leon attacks with a Spear equipped, it calls the default 'Attack' skill which reads motion attack: user in its action sequence.
Doing this actually does display his spear as seen below.

View attachment 357177

motion attack is reading the image and motion from the equipped weapon, which in Leon's case is a Spear.
Enemies can't have 'weapons' equipped, which is why this plugin has notetags to manually display weapon images and perform motions.
But while the motion is working, the images are not displaying.
It doesn't matter what I change it to. Dagger, mace, staff, sword, bow. None of them work for enemies, yet all of them work fine for Actors.

I know this is elaborate and confusing but I don't know how else to explain it and its been driving me up the wall for months now.
Does anyone have any ideas or suggestions?


Edit: I also want to point out that motion thrust: user is currently in Magnus's action sequence for his attack skill. But if I replace it with motion attack: user instead (the one Leon uses) instead no motion is played at all.
I just started working on doing what you did with your boss to see if it works for me but noticed to the plugin is not free lol, I don't think many people will buy it just to try and help solve this problem unfortunately but maybe someone can figure it out without spending money. From the looks everything though it seems you are doing all the right things. If it worked before and you didn't change anything like add new plugins for other things in your game and didn't mess around with the note tag stuff it should be working. Adding new plugins for other things in your game for sure can mess up other plugins because sometimes they don't work good together so check that. Try turning off plugins one at a time and see if your weapons work.

I don't think Yanfly updates older plugin's anymore so it shouldn't be a plugin update error but yeah could be game update, so the plugin doesn't work with the newer update.
I don't think many people will buy it just to try and help solve this problem
You're kidding, right? The vast majority of people who use RPG Maker MV own the Yanfly suite.

could be game update, so the plugin doesn't work with the newer update.
MV's code hasn't changed since 1.6 came out, and Yanfly updated all plugins affected by that change.

I have tried creating a new blank project with only YEP Core Engine, YEP Battle Core, the 3 action sequence packs, and YEP Animated Sideview enemies and the issue still occurs even then.
Not for me. Using the notetags copied from your screenshot (except Magnus, I'm using Actor1_1), it works fine. I mean, the sprite is a little off because the spear is supposed to thrust, not swing, but it definitely appears.

1768188503352.png


Now this is during the default attack skill with the Battle Engine Core's default action sequence. So I'd suggest you repeat your test removing your custom action sequence to see if that's what you need help with.
I have tried creating a new blank project with only YEP Core Engine, YEP Battle Core, the 3 action sequence packs, and YEP Animated Sideview enemies and the issue still occurs even then.
can you share the action sequence for the skill youre using? ive installed the plugins mentioned and i have no issue seeing the weapons show up on enemy motions

Edit: when did Turan become a ninja?
Thank you both for your responses.
The Action Sequence I'm using for the attack is as follows...

<setup action>
clear battle log
display action
</setup action>

<Target Action>
animation 138: user
wait for animation
wait: 30
move user: target, front, 10
camera focus: target, center
zoom: 125%
wait for movement
motion thrust: user
action animation
wait for animation
wait: 15
action effect
action effect
wait: 30
reset zoom
</Target Action>

I have also tried using the default Attack skill as well, and as mentioned above, no motion plays at all when I use that one for enemies. Even though the Action Sequence has motion attack: user in it (as below)...

<Setup Action>
clear battle log
display action
immortal: targets, true
</Setup Action>

<Whole Action>
perform start
motion standby: user
wait for movement
face user: target
move user: forward, 90, 20
wait for movement
wait: 15
</Whole Action>

<Target Action>
motion attack: user
action animation
wait for animation
action effect
</Target action>

<follow Action>
wait for animation
</follow Action>

In the case of a new blank project, I have absolutely no idea why its not working for me, but is for the two of you. As I said my blank project only has the essentials to make YEP_ AnimatedSVEnemies function, and yet I'm still getting the issue on a fresh install.

Again it works fine for Actors, just not Enemies, which tells me theres some sort of conflict happening for the plugin to still be partially working. I'm just very confused.

Also, what is Battle Engine Core's 'default action sequence'? Is this located somewhere for reference?
In the case of a new blank project, I have absolutely no idea why its not working for me, but is for the two of you. As I said my blank project only has the essentials to make YEP_ AnimatedSVEnemies function, and yet I'm still getting the issue on a fresh install.
are you certain that your plugins are up to date and that theyre in the right order? if you are unsure, post a screenshot of your plugin manager

Also, what is Battle Engine Core's 'default action sequence'? Is this located somewhere for reference?
you can check it in the code of the battle engine core (with a couple extra steps), but the sequences are also added into the skill as properties. you can look for them with the console midgame

Spoiler
1768218883753.png

1768218939240.png

1768218957913.png

additionally, follow is blank by default, and either target or whole is going to be blank depending on if the skill hits all targets or has an animation set to "screen"

consider typing them out into a skill you can keep around for future reference
Even though the Action Sequence has motion attack: user in it (as below)...
Just to mention it, you should probably not be using both whole and target actions.

The whole action is for something that affects all targets simultaneously whereas the target action affects all targets in sequence.

If it's a single-target skill, there's no reason to be using both of those - choose one and put everything there (the target action is better practice).

I have absolutely no idea why its not working for me, but is for the two of you.
Robro's suggestion of double-checking your plugin versions is a good one. I would add to that checking your MV version (found at the top of rpg_core.js).

Additionally, have you done anything to modify your MV installation, such as changing your NW.js version?

Original thread: https://forums.rpgmakerweb.com/threads/yep-animated-sideview-enemies-weapon-image-not-appearing.181866/