So basically what I seek to do is impossible with my current coding knowledge. Though what I am confused about is that further status windows are added fine with the default layout, its just the sideways battle ui plugin that is having trouble to do this. I also tried permanently increasing the partys size to 5 using visustella party system. Same issue, even with permanent party members, sideways battle ui refuses to show more than 5. So the issue does not lie with the summon plugin.
I also came across this thread when searching for a solution, where OP did somehow manage to add status windows for more than 4 using the same plugin. What I don't understand is how they did it.
I'm trying to implement the sideview battle ui. And it's great! However one problem i've ran into is the size of the actors stats, My game has a party limit of 4 by defualt but there are rare items that allow you to increase it to a max of 8. And when this happens the UI does not fit on screen...
forums.rpgmakerweb.com
They are added in the default layout because the battle status window is one window that has max items as max battle members (I guess the plugin codes change the maxcolumns too). So when you refresh it with your new max battle members it draws all of them there. At least as far as I understand.
But with your VS Sideview plugin it creates a number of windows at battle start according to your max battle members. If you have less than max battlers some of the windows just stay "invisible".
You can't use that party plugin with VS Party plugin because some of the stuff overwrites same methods. I guess you can try to make a system with VS party plugin where you change max battlers with pre-battle common event (and change back post-battle). And have your summon appear as the 5th battler with just a common event and also disappear with a common event. But then you'll probably have to limit some of the actor/party switching stuff mid battle.
If you want to use the summon plugin you're currently used (you need to disable VS party plugin) you can try what I suggested. Go to console with F8 and go to console tab and write
SceneManager._scene.createSideviewUiBattleStatusWindowsand press enter. Then click on the function and it will take you to sources tab. Click 'pretty print'. Then copy paste the function that as its name highlighter yellow to notepad. For me it looks like below.
Scene_Battle['prototype'][_0x2aaebd(0x195)] = function() {
const _0x4b8f27 = _0x2aaebd;
if (!BattleManager['isUsingSideviewUiLayout']())
return;
this['_sideviewUiBattleStatusWindows'] = [];
const _0x3d73a6 = $gameParty[_0x4b8f27(0xff)]();
for (let _0x4d90f0 = 0x0; _0x4d90f0 < _0x3d73a6 + 1; _0x4d90f0++) {
if (_0x4b8f27(0x1f6) === _0x4b8f27(0x1f6)) {
const _0x58c226 = new Window_SideviewUiBattleStatus(_0x4d90f0);
this[_0x4b8f27(0xf8)](_0x58c226),
this['_sideviewUiBattleStatusWindows'][_0x4b8f27(0xbf)](_0x58c226);
} else
this[_0x4b8f27(0x16e)]['updateSideviewUiPosition']();
}
}
In the loop it's creating those windows based on maxBattleMembers. I wrote + 1 there in the for loop. Do the same and then save the notepad as .js file to your plugin folder and add as a plugin.
I haven't tested if doing that is enough, but you can try it.
EDIT: go to console during battle, if you want to get the function with that line