MZ RPG MAKER MZ - How do I stop my battler sprite from looping?

Hey Rpg Makers,

I'm just messing around and testing custom battlers animations. I am using Junpei from Persona but I must stress this is just for testing, final battler will be my own sprite.

The problem I have, Junpei animation is looping when press guard, same with his wait animation.

I am using visustella basic free plugins also dragonbones union and public dragonbones.

I have no idea where to find battler battle motion commands and how to set frames or time limit for frames. Can you please help and show me how to do it.
That picture doesn't help much.
Please show us the battler sheet itself - that way we can check if there is anything wrong there.
more likely is a problem with the plugin however, so we need a screenshot of your plugin manager with all your plugins and their order as well.

The animations are fixed, you can only change assignements (database - system) by default, any other change requires a plugin for that specific change.

The basic rules for sprites and cells are explained in this tutorial:
Thx @Andar.

I am following Sideview Battler Extra Frames Tutorial - RPG Maker MZ by Human Being...



...that uses DragonBone animation software + dragonbone plugins, here are my plugins:
1686647284751.png

1686647545110.png

...and this is the battler sheet that dragonbones exports (it looks confusing to me)...
1686647428676.png

..in his video he doesn't have looping animations, so I'm not quite sure what I'm doing wrong. Note that Junpei battler guard animation has 5 frames and it loops but I don't have the same issue with the attack animation that has 12 frames. I was hoping that there is maybe an option in visustella battle core or other plugin like that to limit how long the battler is performing certain animation.
Yep, you'll need a plugin for this. It might be possible with your current plugins, but for now I'll move it to requests in case you need something extra~

I've moved this thread to JS Plugin Requests (from MZ Support). Thank you.

By default each motion type is assigned a "loop" value, which can be changed with a plugin. [Edit: I just noticed you're using DragonBones, though, which might well completely ignore that.]

In this case, you may also need something to change the order of priority for motion refresh (default Sprite_Actor#refreshMotion), to prevent the guard motion from being reapplied whenever a battler is guarding.

I'm not sure which of these options, if any, might be offered by VisuStella.
Thank You @caethyril ,

Then maybe, there's is a simpler way I can implement battlers with extra frames. Does anyone have any suggestions? Is there another plugin I can use for RPG Maker MZ that allows extra frames for your battler?
Hi Kage! This is a little tricky! I'm not aware of another extra frame plugin myself, and if you can get Dragonbones to work it cuts down on filesizes drastically.

Now onto your issue: Dragonbones Union plugin has a list of animations that it will loop, even if you have a finite play time in dragonbones. Remove guard from that and it may help. Make sure that within dragonbones program, your "play times" is set to 1. If it is set to 0, the animation will continue to loop. The idle motion, for example, loops continuously.

1686771764177.png


If you want the guard motion to play once, and for the battler to remain in the final frame, that is going to be a bit more complicated but doable I think. Let me know if this helps at all.
Hey @AkraticHuman first of all thank you so much for replying. Second unfortunately removing guard from Dragonbones Unions plugin list of looping animation didn't change anything, the animation is still looping. You have mentioned to set "play times" to #1 within dragonbones program but I'm not sure how and where, could you please show me?
1686908304578.png
1686939151125.png

Check it out! Hopefully changing it to 1 will fix it. It will play that motion once, then return to the idle motion.
Hey @AkraticHuman you are just awesome and it kinda worked (you should consider making dragon bone tutorials, hehe), so after changing play times to 1 in dragon bones software, the motion still plays more then once (3 x times for some reason) but after, it stops on the last frame. When the action is finished goes back to the idle animation. Now I can't work out why is still playing 3 x times not once. Do you think it's something to do with the timing of the animation? For example, if the timing is 3 sec the animation will play on repeat for 3 sec and after will stop thx to the play time being set to 1? Any ideas?
Ah, so close! Your timing guess is a good one. Did you figure it out yet? Unfortunately, I'm on a sabbatical from the dev world and just don't have the time to do more in depth troubleshooting, but I hope you can post a solution here if you get one.
Ah, so close! Your timing guess is a good one. Did you figure it out yet? Unfortunately, I'm on a sabbatical from the dev world and just don't have the time to do more in depth troubleshooting, but I hope you can post a solution here if you get one.
Hey @AkraticHuman

I apologize for the delayed response. I've been in a similar situation myself. I had to take a break from game development due to various reasons. I was in the process of moving, had to work overtime at my job, and my overall health took a hit. Currently, I'm between jobs, which is another setback. Anyway, solo game development is always a slow and steady journey, but every time I take a break, it feels like I'm starting from scratch.

Regarding your question, unfortunately, I couldn't find a solution. I suppose I'll have to work within my limitations. It's quite puzzling because I've seen some projects in the past that had custom animated battlers with interesting action animations, and they didn't rely on loops.

Also, I truly hope you'll consider returning to game development yourself at some point.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mz-how-do-i-stop-my-battler-sprite-from-looping.158298/