MZ SV weapon Frame Spacing

Weapon Frames.PNG

Darkened the shape/colors as its irrelevant.

In sideview (SV) battle mode, you can set weapon animations via Weapons1, 2, 3 (pngs). My characters sprites, being larger than the norm, causes issues with how they display. I have a plugin for that remedying the issue. Said plugin ALSO gives me the options to move it around (where the weapons appears relative to the character). Thats excellent. But due to how large my characters are, part of the backswing of weapons is hidden, by quite a lot in some cases. Here's the real issue (and my point with the topic):

Is it possible to space weapon frames further, horizontally speaking? Its no big deal if unfeasible. Excluding anything Yanfly-related, please.
You mean like make the file bigger or what? It's always the sprite updateFrame method that changes the frames. Change the width to match your file dimensions (change w to bigger number) [edit: add as plugin]:

Sprite_Weapon.prototype.updateFrame = function() {
if (this._weaponImageId > 0) {
var index = (this._weaponImageId - 1) % 12;
var w = 96;
var h = 64;
var sx = (Math.floor(index / 6) * 3 + this._pattern) * w;
var sy = Math.floor(index % 6) * h;
this.setFrame(sx, sy, w, h);
} else {
this.setFrame(0, 0, 0, 0);
}
};
I wasnt sure it'd have been possible, let alone how, since extending the sheet itself caused problems.

I extended the sheet by +50 horizontally, and with your plugin, it works like a charm. Now Ive got so much more room to move my sprite around! Was very easy to use/edit too. It didnt even conflict with my other plugin addressing a sim issue as well (mentioned above). Thank you very much! ✨ Ill put your name in the .js's credits.

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/sv-weapon-frame-spacing.183429/