Weapon Sprites Enhanced

Weapon Size works wonders — thank you!

For some reason, though, the weapon is about half a frame out of time with the battler's animation. I suppose it has something to do with Yanfly Core/Battle, but I can't figure out what. Maybe I've just done something wrong.

2rDDPtE.gif
Gah, I knew that would be a problem eventually. Since I changed the way frame speed is handled, each weapon frame wound up lasting about 2 frames shorter than the default one... (Default is 12, mine is 30/frames.).

I'll see what I can do to fix that (might just allow users to set it manually via notetag).

For the WeaponOffset, where are you considering the point of origin in the image? This will help in determining the offset... As in is it the upper left, bottom right, center?
The center.

Edit- Made a new version. Let me know if it solves that issue.
Hmm, I seem to be experiencing something rather odd.

I set the offset of a weapon, and after doing so, every time I swing with the weapon it changes it by that offset again. (Each time I attack with the weapon, it moves it over 10 more pixels.) Tried turning off all additional scripts as well as testing on a new project and still seems to do it.
Hmm, I seem to be experiencing something rather odd.

I set the offset of a weapon, and after doing so, every time I swing with the weapon it changes it by that offset again. (Each time I attack with the weapon, it moves it over 10 more pixels.) Tried turning off all additional scripts as well as testing on a new project and still seems to do it.
That's...odd. I didn't notice that while testing...

Oh, wait. I'm dumb. I know exactly what's wrong. I'll fix that right away.
You're the man Rexal! And thank you for this script, it's a necessity!
I'm fairly new here myself, but I can tell you that this is an amazing way to introduce yourself to the community.

Awesome plugin and very usable.

Thanks so much for sharing!
im having difficulty changing the WeaponImage- I want to use an image named WeaponABC for example. So I set WeaponImage: ABC. But it seems like its still referring to the SVAttackMotion Section to decide where the image is, which would be stuck at the files Weapons1, 2 and 3. What am I doing wrong? If I change the Weapon Image to a claw for example, I figure your plugins settings should over-ride that

--------------

Nevermind I put the notes in the actor instead of the weapon by accident
im having difficulty changing the WeaponImage- I want to use an image named WeaponABC for example. So I set WeaponImage: ABC. But it seems like its still referring to the SVAttackMotion Section to decide where the image is, which would be stuck at the files Weapons1, 2 and 3. What am I doing wrong? If I change the Weapon Image to a claw for example, I figure your plugins settings should over-ride that
Can you take a screenshot of the weapon in the database so I can see how you set it? I'm not sure what the problem is otherwise.
in "System" I have Sword set to Swing Motion and Image set to None (I've also tried other settings)

Under Weapon I have a Sword with this tag

[EnhancedSprite]

WeaponImage: WeaponsABC

WeaponID: 1

WeaponMotion: Swing

WeaponFrames: 3

WeaponSize: 456x124

and I have the sword equipped on my Actor

Unless I'm doing something wrong it seems to still be getting the info of the imagename and ID from the System Tab thing instead of the Note tags, if I switch it to Claw for example I will see a claw, but never my custom named Image
in "System" I have Sword set to Swing Motion and Image set to None (I've also tried other settings)

Under Weapon I have a Sword with this tag

[EnhancedSprite]

WeaponImage: WeaponsABC

WeaponID: 1

WeaponMotion: Swing

WeaponFrames: 3

WeaponSize: 456x124

and I have the sword equipped on my Actor

Unless I'm doing something wrong it seems to still be getting the info of the imagename and ID from the System Tab thing instead of the Note tags, if I switch it to Claw for example I will see a claw, but never my custom named Image
Huh, that should work...How did you download the plugin itself from github? If you don't use "Download ZIP", it'll have a lot of pointless additions to it that make it look nice in the preview, but totally unreadable by MV.
You were right. I downloaded the ZIP and now its working. Last time I downloaded it I used shift click or whatever and it had some sort of gibberish mixed in the file
Found another issue, but it may not really be with your Plugin. The weapon appears perfect now, however when I use Yanfly's Battle Engine to do a a special attack the weapon does not show in his hand. I guess his engine doesn't know where to reference the weapon image, and maybe no work around?
Nevermind again LOL... adding a motion attack tag fixed that. Before I didn't need one not sure.
hey Rexal is it possible to setup a different weapon animation ID depending on a state?
For example, if actor X is affected by state X, weapon X changes its animation to animation Y

lets say tat state X is flame sword, I'd like that if an actor has flame sword state applied to him, his attack anmation changes to Flame slash xD
Saw this earlier in the week but now that I saw it on your git and I have really tall characters this can be very useful. changing the weapon position will help me a ton. going to give this a try..

tomorrow though its getting late
hey Rexal is it possible to setup a different weapon animation ID depending on a state?

For example, if actor X is affected by state X, weapon X changes its animation to animation Y

lets say tat state X is flame sword, I'd like that if an actor has flame sword state applied to him, his attack anmation changes to Flame slash xD
Should be possible. That's a bit out of range of this script though. I think one of Yanfly's scripts lets you do that.

Now if you want to change the weapon into a flame sword when they're applied the flame sword state, that's a different story.

I don't have a method for that yet, but I could make one.
Gah, I knew that would be a problem eventually. Since I changed the way frame speed is handled, each weapon frame wound up lasting about 2 frames shorter than the default one... (Default is 12, mine is 30/frames.).

I'll see what I can do to fix that (might just allow users to set it manually via notetag).

The center.

Edit- Made a new version. Let me know if it solves that issue.
It's much better now, thank you, but it's still slightly out of time.

Since you have given us the option to change the speed ourselves I will probably just do that, but I thought I'd let you know anyway!

Update: I have it set to 12, which is as close as I can get, but there the sword is still slightly too fast. 11 and 13 are even worse. I mean, it's close enough, but it is noticeable if you're paying attention.

Thank you for this excellent script. Custom weapons were really important to me and this lets me do it.
Good to see it all got worked out! Wonderful, man. Truly wonderful.
This is a lifesaver.

I won't be using because i'm satisfied with my tools right now, but i will most certainly save this and use in a future project because i'ts too good to pass.

Congratulations.
Should be possible. That's a bit out of range of this script though. I think one of Yanfly's scripts lets you do that.

Now if you want to change the weapon into a flame sword when they're applied the flame sword state, that's a different story.

I don't have a method for that yet, but I could make one.
That's exactly what I need, I think that changing the weapon in the middle of the battle should be the best options, I'll only need to double the weapon database for each state but that's not a problem at all ^^

I tried to make it with events, but looks like that rmmv doesnt force an equipment change in the middle of the battle, so that's why I think it needs a plugin.
First I find the animated side-view enemies, now this.  You're quickly becoming one of my favorite scripters. 😀 Thanks for the plugin!

Original thread: https://forums.rpgmakerweb.com/threads/weapon-sprites-enhanced.47689/