Battle Actor Window doesn't look like a customized Battle Status Window, thats something that annoys me.
I wanted it to use the same parameters as the Battle Status Window instead.
Battle Actor Window copy the Battle Status Window
● ARCHIVED · READ-ONLY
-
-
Bump
-
By Battle Actor window you mean what, exactly?
-
The window that appears when you cast a skill and has to select an actor.
-
The window that appears when you cast a skill and has to select an actor.
In the menu? Because if it's in battle, it should be the same as battle status as far as I'm aware. -
In battle and at least VE Battle Status Window doesn't change Battle Actor Window
Victor Sant mentioned it on this post -
Victor uses his own class for battle status, that's why it appears different from battle actor. Normally it should look the same.
-
Funny thing is that before 1.3 they would look the same even if i was using his plugin.
Am i screwed? -
The BattleActor window is based off of the battle status class, but Victor does not change that class and uses his own.
Can't guarantee this will work perfectly since it is a workaround due to the class issue, but you can try this, put into a plugin under all plugins changing battle, including victor's
Code:var newPrototype = Object.create(Window_CustomBattleStatus.prototype); for (var attribute in Window_BattleActor.prototype) { if (Window_BattleActor.prototype[attribute] !== Window_BattleStatus.prototype[attribute]) { newPrototype[attribute] = Window_BattleActor.prototype[attribute]; } } Window_BattleActor.prototype = Object.create(newPrototype); -
it worked but it's not using the same X & Y position or window size as the Battle Status Window :v
-
it worked but it's not using the same X & Y or window size as the Battle Status Window :vCode:
var newPrototype = Object.create(Window_CustomBattleStatus.prototype); for (var attribute in Window_BattleActor.prototype) { if (Window_BattleActor.prototype[attribute] !== Window_BattleStatus.prototype[attribute]) { newPrototype[attribute] = Window_BattleActor.prototype[attribute]; } } Window_BattleActor.prototype = Object.create(newPrototype); a_Window_BattleActor_initialize = Window_BattleActor.prototype.initialize; Window_BattleActor.prototype.initialize = function (x, y) { a_Window_BattleActor_initialize.call(this, x, y); var width = this.windowWidth(); var height = this.windowHeight(); var boxWidth = Graphics.boxWidth; var boxHeight = Graphics.boxHeight; this.x = Math.floor(Number(eval(this.display().x))) || x; this.y = Math.floor(Number(eval(this.display().y))) || y; this.width = Math.floor(Number(eval(this.display().width))) || this.width; this.height = Math.floor(Number(eval(this.display().height))) || this.height; }; -
-
Victor uses his own class for battle status, that's why it appears different from battle actor. Normally it should look the same.
Yeah, the Battle Actor Window is a child of the Battle Status. Since I wanted the battle status to be different from the actor status I made on a different class.