Adjust battle system menus left/right

Requesting hopefully a quick script/fix to

Extend/move space to give more room for names?

the resolution is 480x432

ZoftMfr.png


I am using a lot of scripts already,

yanfly core engine,

yanfly battle engine,

with a lot of edits and changes to window padding and text padding.
Can a mod move this to RMMV support, i think it might have a better chance there. Thanks in advanced and sorry for the mess!
You will need a plugin to do this, moving the thread to support won't help.

Spoiler
Code:
/*: * @plugindesc Change Battle Status Window Width * <DreamX Battle Status Window Adjustment> * @author DreamX * @param Width * @desc Default: Graphics.boxWidth - 192 * @default Graphics.boxWidth - 192 * * @help * Terms of Use: Noncommercial/commercial is fine, Credit DreamX */(function () {    var parameters = $plugins.filter(function (p) {        return p.description.contains('<DreamX Battle Status Window Adjustment>');    })[0].parameters; //Thanks to Iavra        var parameterWidth = String(parameters['Width'] || 'Graphics.boxWidth - 192');    Window_BattleStatus.prototype.windowWidth = function () {        return eval(parameterWidth);    };})();
Thanks for the fast repsone.

Happy new year too!

I tested the script and it correctly can be extended or shortened the right part of the menu for the character names.. So technically your script works perfect. 

But in this case I'm trying to shorten the left part of the menu the moves and break part which is the attack, guard, item part of the menu. I should have mentioned earlier. I want to shorten that the same way you did for the names.
Thanks for the fast repsone.

Happy new year too!

I tested the script and it correctly can be extended or shortened the right part of the menu for the character names.. So technically your script works perfect. 

But in this case I'm trying to shorten the left part of the menu the moves and break part which is the attack, guard, item part of the menu. I should have mentioned earlier. I want to shorten that the same way you did for the names.
Np. Remove the old version from the plugin list and use this version:

Spoiler
Code:
/*: * @plugindesc Change Battle Window Width * <DreamX Battle Status Window Adjustment> * @author DreamX * * @param Battle Status Width * @desc Default: Graphics.boxWidth - 192 * @default Graphics.boxWidth - 192 * * @param Command Window Width * @desc Default: 192 * @default 192 * * @help * Terms of Use: Noncommercial/commercial is fine, Credit DreamX */(function () {    var parameters = $plugins.filter(function (p) {        return p.description.contains('<DreamX Battle Status Window Adjustment>');    })[0].parameters; //Thanks to Iavra    var statusWidth = String(parameters['Battle Status Width'] || 'Graphics.boxWidth - 192');    var commandWidth = String(parameters['Command Window Width'] || '192');    Window_BattleStatus.prototype.windowWidth = function () {        return eval(statusWidth);    };        Window_ActorCommand.prototype.windowWidth = function() {        return eval(commandWidth);    };})();
Ok I was able to adjust the command window exactly how I want,

But the battle menu doesnt adjust and move left automatically, it stays where it is,

with the script I cant move it left physically, I can just shrink from the right or extend from the right o the menu.

Here is the updated picture: 

9b4cuAr.png


I'd like to get that window with the names to move left, and if i need to extend it i know you already added that to the script so thats good! 

I highly appreciate your work and help for me and for the community. Hopefully this helps people out using smaller resolutions or for specific needs.
Script updated

Spoiler
/*: * @plugindesc Change Battle Window Width * <DreamX Battle Status Window Adjustment> * @author DreamX * * @param Battle Status Width * @desc Default: Graphics.boxWidth - 192 * @default Graphics.boxWidth - 192 * * @param Battle Status X Position While Inputting * @desc Default: Graphics.boxWidth - width * @default Graphics.boxWidth - width * * @param Battle Status X Position While Not Inputting * @desc Default: this._partyCommandWindow.width / 2 * @default this._partyCommandWindow.width / 2 * * @param Command Window Width * @desc Default: 192 * @default 192  * @param Command Window X Position * @desc Default: 0 * @default 0 * * @help * Terms of Use: Noncommercial/commercial is fine, Credit DreamX */(function () {    var parameters = $plugins.filter(function (p) {        return p.description.contains('<DreamX Battle Status Window Adjustment>');    })[0].parameters; //Thanks to Iavra    var statusWidth = String(parameters['Battle Status Width'] || 'Graphics.boxWidth - 192');    var commandWidth = String(parameters['Command Window Width'] || '192');    var statusXInput = String(parameters['Battle Status X Position While Inputting'] || 'Graphics.boxWidth - width');    var statusXNoInput = String(parameters['Battle Status X Position While Not Inputting'] || 'this._partyCommandWindow.width / 2');    var commandX = String(parameters['Command Window X Position'] || '0');            Window_BattleStatus.prototype.windowWidth = function () {        return eval(statusWidth);    };        Window_ActorCommand.prototype.windowWidth = function() {        return eval(commandWidth);    };        Window_ActorCommand.prototype.initialize = function() {        var y = Graphics.boxHeight - this.windowHeight();        Window_Command.prototype.initialize.call(this, eval(commandX), y);        this.openness = 0;        this.deactivate();        this._actor = null;    };        Window_BattleStatus.prototype.initialize = function() {        var width = this.windowWidth();        var height = this.windowHeight();        var x = Graphics.boxWidth - width;        var y = Graphics.boxHeight - height;        Window_Selectable.prototype.initialize.call(this, eval(statusXInput), y, width, height);        this.refresh();        this.openness = 0;    };        Scene_Battle.prototype.updateWindowPositions = function() {    if (BattleManager.isInputting()) {        this._statusWindow.x = eval(statusXInput);    } else {        this._statusWindow.x = eval(statusXNoInput);    }};})();
Let me know if you want anything else, I don't mind.
Perfection! Thanks so much 🙂 It took some tinkering with the values but i got it working,

I had to change the command width to 120, the battle width to 120 and the battle position to 360.

And the battle re-positioning to /3. Its like you knew exactly what i needed completely.

gbc1dwr.png


i cropped the right of the picture badly but its perfect in game,

thanks so much man!

Original thread: https://forums.rpgmakerweb.com/threads/adjust-battle-system-menus-left-right.54043/