4 frame sideview battler sprites?

Is there a plugin or other way to make battler sprites 4 frames long? I've seen some options for mv but the only option i've found for changing battler frames in mz at all is with a program called dragonbones and a bunch of associated plugins. Is there a simpler way of doing this or is learning the dragonbones software my only option?
If you specifically want 4 frames, you could try pasting the below into a text editor, save as a *.js file, include as a plugin.

Code:
Sprite_Actor.prototype.updateFrame = function() {
    Sprite_Battler.prototype.updateFrame.call(this);
    const bitmap = this._mainSprite.bitmap;
    if (bitmap) {
        const motionIndex = this._motion ? this._motion.index : 0;
        const pattern = this._pattern < 4 ? this._pattern : 1;
        const cw = bitmap.width / 12;
        const ch = bitmap.height / 6;
        const cx = Math.floor(motionIndex / 6) * 4 + pattern;
        const cy = motionIndex % 6;
        this._mainSprite.setFrame(cx * cw, cy * ch, cw, ch);
        this.setFrame(0, 0, cw, ch);
    }
};

Sprite_Actor.prototype.updateMotionCount = function() {
    if (this._motion && ++this._motionCount >= this.motionSpeed()) {
        if (this._motion.loop) {
            this._pattern = (this._pattern + 1) % 5;
        } else if (this._pattern < 3) {
            this._pattern++;
        } else {
            this.refreshMotion();
        }
        this._motionCount = 0;
    }
};

I haven't tested it, but I think that should work if your battler spritesheets are correctly formatted.

You'd make them exactly the same as the standard specifications, but each motion would need four frames in a row rather than three.
If you specifically want 4 frames, you could try pasting the below into a text editor, save as a *.js file, include as a plugin.

Code:
Sprite_Actor.prototype.updateFrame = function() {
    Sprite_Battler.prototype.updateFrame.call(this);
    const bitmap = this._mainSprite.bitmap;
    if (bitmap) {
        const motionIndex = this._motion ? this._motion.index : 0;
        const pattern = this._pattern < 4 ? this._pattern : 1;
        const cw = bitmap.width / 12;
        const ch = bitmap.height / 6;
        const cx = Math.floor(motionIndex / 6) * 4 + pattern;
        const cy = motionIndex % 6;
        this._mainSprite.setFrame(cx * cw, cy * ch, cw, ch);
        this.setFrame(0, 0, cw, ch);
    }
};

Sprite_Actor.prototype.updateMotionCount = function() {
    if (this._motion && ++this._motionCount >= this.motionSpeed()) {
        if (this._motion.loop) {
            this._pattern = (this._pattern + 1) % 5;
        } else if (this._pattern < 3) {
            this._pattern++;
        } else {
            this.refreshMotion();
        }
        this._motionCount = 0;
    }
};

I haven't tested it, but I think that should work if your battler spritesheets are correctly formatted.

You'd make them exactly the same as the standard specifications, but each motion would need four frames in a row rather than three.
after a quick test it seems like this works perfectly! thank you very much, i'll let you know if any errors come up when im able to do some more thorough testing.

additionally, these spritesheets are made to have 4 frames, and have other cool functions like changing based on which weapon you have equipped
additionally, these spritesheets are made to have 4 frames, and have other cool functions like changing based on which weapon you have equipped
To be clear, the changing on weapons is nothing to do inherently with the spritesheets 😉 That functionality relies on a plugin. I assumed since the OP was asking for a plugin to make 4-frame battlers work, he already has drawn/purchased/whatever battlers to be using.

The one Holder recommends for MZ is the Akea Animated Battle System 2, which absolutely does the things you mentioned - I rather assumed the OP knew about it if he said he's been searching for this info. The trick with Akea is - last time I took a look - it has a lot to configure and the demo project was set up in an absolutely incomprehensible way.

It may have been polished since then.

Holder does draw some beautiful stuff.

Original thread: https://forums.rpgmakerweb.com/threads/4-frame-sideview-battler-sprites.174185/