Colorado

Villager
Member
Joined
Nov 13, 2019
Messages
8
Reaction score
2
First Language
English
Primarily Uses
RMMV
I'm still green when it comes to these forums but I'm having trouble figuring out what I may be doing incorrectly with the Yanfly VisualStella Weapon Animation Plugin for MZ.

The Weapon Images I try to use end up appearing behind the battler and not actually being held by the sprite. (Side View)

I have 20 Weapon Sheets and have correlated the number of the image I want to use in the notes for the specified weapon with the script given <Weapon Image: x>

Am I missing a script that places the image in the sprite's hands when the attack happens?
 

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
964
Reaction score
616
First Language
English
Primarily Uses
RMMV
Unless I'm missing something, weaponsprites are always drawn behind the battler. Arranging it so that they're in the exact right pixel perfect position so that they appear to be held by the actor swinging them is a matter of lining up the custom weapon on the sprite sheet in the exact right spot. You'd have to experiment by moving a weapon a few pixels in a direction, and then seeing how it lines up with your battler sprite.

If you have different sized battlers, who use the same weapon sprites, you're going to have an issue where the weapon never lines up with both of their hands, because the sprites are different sizes, or their hands are in different spots.

This has nothing to do with the visustella plugin, and would happen if you replaced one of the default weapon images with one of your custom ones as well, I'd wager.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
3,154
Reaction score
1,865
First Language
English
Primarily Uses
RMMV
So I'm confused by a bit of terminology - do you mean that the sprite is being drawn beneath the battler (on a lower graphics layer), or behind the battler (as in, the sword is floating at their butt)?

You would want the weapon to be drawn beneath the battler, that way it looks like they're holding the weapon and not like the handle is floating over their fist. If the weapon is behind your battler, floating in a different part of the battlefield, that would be undesirable.

So can you clarify, and maybe post a screenshot of what you're talking about?
 

LadyBaskerville

Hell-poodle
Veteran
Joined
Sep 12, 2016
Messages
706
Reaction score
611
First Language
German
Primarily Uses
RMMV
If you're talking about the layering order, I wrote a very small plugin to display the weapon sprite over the actor sprite (link in my signature under plugins - misc Javascript snippets) - however, that was written for RMMV and I don't own MZ to test if it still works there. Someone who owns MZ and has enough Javascript knowledge to edit a plugin might have to help there if that is indeed what you need.
 

Latest Threads

Latest Posts

Latest Profile Posts

I have never felt so attacked by a tree before :LZSlol: it took 10++ hours to make but at least it looks pretty LOL

Untitled-1.png
now seems like the worst time for me to need a better computer with how much stuff is costing. that and I don't thing there's much else I can do to make MV run any better with what I have.
Sigh... to have some variety in this weather. More than just sun and rain and wind and thunder.
In the meantime, I've discovered that I'm slowly becoming fatigued from the many sleepless nights my neighbors cause. Or at least their dogs. Always barking at something.
I might need a day to just sleep and recharge.
After the initial success with one event, I set up four different events on the same map to detect who is in which slot in my current party, and fortunately it managed to work as intended, with the events changing image to match the party members even as I swapped their positions around in formation. This will be a great tool for immersive scene design.

Forum statistics

Threads
118,449
Messages
1,116,069
Members
155,425
Latest member
thealchemist222
Top