SV Battler by Weapon/Armor

Hello there! I'm looking for a functional script that, well... before I begin, let me say that I've been hunting all over for a script that does this. There's someone that has a work around with passive scripts on each map, but my maps each have over 400 events on them as is, and I'm trying to chip away the memory usage already.


I would like a script that changes a character's SV_Actor image based on what weapon he/she is wielding. I'm fairly certain this must be possible, since I know Yanfly's SV_Actors for enemies uses a plugin command in the notes of enemies... but there's nothing for equipment.


That, and there's plugins that increase frames on map characters, add eight directions, and even alter their image for dashing/idle. I really like those... but there's not really much for the battlers.


I'm making SV battlers that look more like fighting game figures, rather than chubby little chibi actors. I also want them to have their weapons out and brandished during all points of combat, so I'm drawing them directly into the sprite, and making more interesting attack animations.


I would like a script that, when placed into an armor's notebox, could do something like this...

"If actor is X and weapon is Y then use SV_Actor Z"

This would allow full visual details for a character's weapon, and their worn armor to show up in their sprite's details.

EXAMPLES:
Armor: Kreyshi's Qipao
Notebox: <Act=02,Weap=04: KreyshiQipaoStriker>
So... if the actor is ID02, Kreyshi, and she is equipped with the weapon Lumae Striker while wearing her Qipao, it would search for KreyshiQipaoStriker.png in the SV_actor directory.
1518211046.edgarkingmaker_kreyshi_anitest.gif

Armor: Sojourner's Robes
Notebox: <Act=01,Weap=N: AramilSRobesN>
So if the actor is ID01, Aramil, and he has no weapon equipped, it would search for AramilSRobesN.png in the SV_actor directory.
1518287523.edgarkingmaker_aramil_anitest.gif



Then, if the character is not wearing armor, it would search by their weapon, which could more easily just check what actor it is, and pop the battler by that.

Then, if they're not wearing armor or equipped with a weapon, it'll just use whatever actor they've been normally assigned.

An additional neatness would be if it could also check for shields. Yum.


Hoo...



Yes, I know it means that I'd be making a number of SV_Actors for each character, but to me it seems worth it. To actually show them in their combat stances and ready to strike with their weapons will be a lot more rewarding. As an artist, you could say I'm big on visual tells.

I'd actually also like it if there was a way to add another frame to the SV_Actors and make it so they loop by 1-2-3-4-1-2-3-4 rather than 1-2-3-2-1-2-3-2. This would allow for more sensible running sequences.



Err, anyway... hope someone is up to the task, able to help me, or knows of something already done/in the works.


-Edgar
I am in a similar boat as you. Custom sv actors with weapons drawn and visible. I have settled for simply having their weapons change visually. Armor or shields don't change at all as it is the simplest I could do for now.

I use yanfly's utility common event plugin. One option is to run a common event upon closing the menu. So after player equips a new weapon and closes menu, the common event changes the sv graphic dependent on what weapon is equipped. It still has its limits but it at least it does work.

Here's hoping something better exists too.
I am in a similar boat as you. Custom sv actors with weapons drawn and visible. I have settled for simply having their weapons change visually. Armor or shields don't change at all as it is the simplest I could do for now.

I use yanfly's utility common event plugin. One option is to run a common event upon closing the menu. So after player equips a new weapon and closes menu, the common event changes the sv graphic dependent on what weapon is equipped. It still has its limits but it at least it does work.

Here's hoping something better exists too.
Not a bad idea. I didn't realize YanFly's could do that. Does seem like it'd be a lot messier for the developer though, but workable.

Even more as I work on battlers, I keep wanting that extra frame though. Four frames would make so much more sense for battlers.
Here's Vibrato's battler tutorial that sets up a plugin for more frames. I have not found the time to watch it thoroughly but it does involve a plugin he provides in a link and allows at least 4 frame animations. It is a bit old and not sure of the compatibility but worth a shot if you really are interested.

Original thread: https://forums.rpgmakerweb.com/threads/sv-battler-by-weapon-armor.91691/