MZ VisuStella Battle Core - Battle Status Mod

Hello,

I'm using VisuMZ Battle Core - portrait layout. I would like have the battle status window only appear on the right side of the screen. I want to decrease the width of the battle status by half, and align it to the right side.

Perhaps I'm missing it, but I didn't see any options to adjust the battle status window in the plugin parameters.

1657708708095.png
Bump.
I don't think that is possible with the plugin parameters. There may be some workarounds to adjust parts of the layout, but the windows themselves are pretty much fixed based on the style you choose.

What you could do is use the background parameter in combination with being able to add your own actor battle portraits via notetags. You can make the default status window invisible and put only half of the graphic as an included background, for example. By changing the battle portrait to whatever you want and adding it on top, you can even adjust it a bit further.
If I do remember correctly however, changing it like that will leave you with a messed up actor selector (that border around the current actor). So you may have to fix that with the battle portrait.
The problem is the window width/position itself.
Each actor added evenly divides their positions within the window.
1658003049410.png


The simplest solution I can think of is to reduce the width of the window itself, and align to the right side. Normally I would modify the plugin myself if the plugin parameters didn't exist, but the code for VisuStella plugins is too mangled for me to make sense of.
Ah, as you only had one actor in the first picture I thought it wouldn't be a problem.
Yes it would be the simplest solution to be able to change the width, but as mentioned there sadly isn't a parameter for that. At least, I didn't find it myself when working on it. You can change almost all layouts within the CoreEngine, but the Battle Layout is not a part of it. That leaves only the parameters within Battle Layout - but as said it is kind of hard-coded mostly. You can adjust the general style and the coordinates of the gauges for example, but how wide the actual "data box" is so to speak, you cannot. And yes, the VisuStella plugins can't be modified by default and without breaking their Terms of Use.

I guess you could try to change the core plugins themselves? I never looked into them, though. It also may or may not conflict what the BattleCore does actually adjust, but as it doesn't change the widths for example, you may just change that in there and it should work.

Seeing your second picture, you could still also try to use the Battle-Portrait workaround. You can hide the status window within the Battle Layout parameters and basically add a portrait of your actor that includes the part of the window itself. You will have to fiddle around until it looks as intended, but it is doable.
@Ingwer
Seeing your second picture, you could still also try to use the Battle-Portrait workaround. You can hide the status window within the Battle Layout parameters and basically add a portrait of your actor that includes the part of the window itself. You will have to fiddle around until it looks as intended, but it is doable.
I don't see how this would work. The status bars ((HP, MP, TP)), portraits, animations, etc, are tied to the position of the battler status. These positions change when actors are added and removed from the party. The available notetags only appear to have "offset" options for modifying their positions - these are relative.

In both screenshots, the portraits have an x offset of +200.
@Ingwer

I don't see how this would work. The status bars ((HP, MP, TP)), portraits, animations, etc, are tied to the position of the battler status. These positions change when actors are added and removed from the party. The available notetags only appear to have "offset" options for modifying their positions - these are relative.

In both screenshots, the portraits have an x offset of +200.
Yes I actually wanted to add the part about "it will not solve your issue if you want to have everything on the right side only", but I forgot that while writing the other parts. Sorry about that.
This is actually doable. Paste this code into a new .js file, and add it to the project through the plugin manager, making sure that it is below Battle Core:

JavaScript:
const Art_Scene_Battle_statusWindowRect = Scene_Battle.prototype.statusWindowRect;
Scene_Battle.prototype.statusWindowRect = function() {
    const rect = Art_Scene_Battle_statusWindowRect.call(this);
    rect.width = Math.round(rect.width * ($gameParty.battleMembers().length / $gameParty.maxBattleMembers()));
    rect.x = Graphics.boxWidth - rect.width;
    return rect;
};

const Art_Window_ActorCommand_setup = Window_ActorCommand.prototype.setup;
Window_ActorCommand.prototype.setup = function(actor) {
    this._actor = actor;
    Art_Window_ActorCommand_setup.call(this, actor);
};

Window_ActorCommand.prototype.move = function(x, y, width, height) {
    const ww = this._actor ? Math.round(Graphics.boxWidth / $gameParty.maxBattleMembers()) : width;
    const wx = this._actor ? SceneManager._scene._statusWindow.x + ww * this._actor.index() : x;
    Window_Command.prototype.move.call(this, wx, y, ww, height);
};

For various reasons, I chose to do it in an abnormally roundabout way. As a result, I can't promise that there won't be any side effects, but it seemed to work fine in my limited testing. Give it a shot, and let me know how it works out.

Rather than simply hardcoding it to use the right half of the screen, I actually made it align to the right and scale with the number of members in your party. For example:

Spoiler: Examples
One Member:
OneMember.png


Two Members:
TwoMembers.png


Three Members:
ThreeMembers.png


Four Members:
FourMembers.png

This probably goes without saying, but I'll say it anyway: This will only work if you're using portrait mode (also XP mode). For various reasons, I chose not to make it detect what mode you're in and act accordingly--it will just assume that you're using either portrait or XP.

Original thread: https://forums.rpgmakerweb.com/threads/visustella-battle-core-battle-status-mod.149434/