MZ Play SV Image frames during battle as overlay

Good morning all,

I am looking for a way to Inject (choosing that word intentionally) an SV battler Image during battle.

I am using VS Battle Core and know that Inject Impact is a thing, However this replaces the target until the animation is complete.


What I'm looking to do is play a specific SV image in battle, but instead as an overlay to the target. So if playing on the user, I want to run through the entire animation of a sprite sheet of say a floating book.


Anyone know of a way to do this or a plugin that can?
Hi puppet,

I think I get what you are saying. Could you possibly do this using show/move picture through a base troop event?
Hi puppet,

I think I get what you are saying. Could you possibly do this using show/move picture through a base troop event?
I hadn't thought of that but possibly.

THe only concern I have there is properly anchoring the SV animation to the target
Haha yeah, you'd have to play with the X/Y coordinates of the picture.

I don't know of a plugin that can do that. I guess alternatively, you can have a new SV battler image WITH your battler + overlay and then use Change Actor Image command.
I don't know of a plugin that can do that. I guess alternatively, you can have a new SV battler image WITH your battler + overlay and then use Change Actor Image command.
Thats effectively what Injecting via Battle Core already does. Its entirely doable. But would mean me making A LOT of different SV images and conditional branches based on equipment/class of the Actors.


So thats

4 Actors
8 Weapon Types
5 Grimoire Types


Math.


lol. A lot easier for my purposes to only make 5 SV images based on the Grimoire type and have those overlay over the subjects sprite, rather than make 160 separate SV images just for a 15 second animation of a book flipping lol


While its doable to make 160 of these:

Harper_Book_Academy.gif



It'd be easier to just make 5 of these:
Academy_Book_Float.gif
For anchoring an animation to a target during an action sequence I used this (not sure if it works with pictures, maybe Control Variables recognizes it? Assuming you use VisuStella's plugins for this)

JavaScript:
BattleManager._subject.battler()._baseX
BattleManager._subject.battler()._baseY

And then put the images in a MV-style animation?
For anchoring an animation to a target during an action sequence I used this (not sure if it works with pictures, maybe Control Variables recognizes it? Assuming you use VisuStella's plugins for this)

JavaScript:
BattleManager._subject.battler()._baseX
BattleManager._subject.battler()._baseY

And then put the images in a MV-style animation?
I'll give this a try!
I forgot to mention I put it in this command:
1692025480887.png


Ahhh I think we may be on two different wavelengths. I'm not trying to play a regular animation from the animation database. I'm playing playing from an SV Image in an attempted alternative to INjection


1692025752681.png



I will try the combo of @TESTOSTERONE and your idea @Navas to anchor show pictures to the subject and see how it goes
I am aware, that's why I suggested the sneaky solution of putting for example the book in a MV animation sheet 😴 Not sure how to make it pull from an actual SV image, though...
book in a MV animation sheet
I wouldnt know how to do that myself xD
Put a folder named "animations" in the "img" folder, put any random Ace/MV sheet in it and replace the cells with the images you want to use, right click a new animation slot to make it MV compatible, and you can start putting in the cells from there 😴Not sure why new MZ projects don't start with some by default, maybe because it's a later added feature?
The action sequences have a 'Show Animation' command where you can just select the target as 'user'. I don't think you need to play with coordinates or anything? And then as suggested just make an MV-style animation.
It is done! Thank you all for the awesome suggestions! I'll add a gif into and updated comment here when I get back home before closing
As promised. Here is the culmination of the tips from this thread. Thank you all once again ^_^. Love getting to learn a new aspect of RPG Maker to fit my needs



GrimArmCombo2.gif

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/play-sv-image-frames-during-battle-as-overlay.160299/