Hi there!
Yanfly's Party System plugin for MV replaces the default formation menu with a new one. There is a selection bar which flashes across each party member as you highlight them, but it goes right across the screen.
The plugin works just fine - it's mostly plug and play - but I've been trying to change the flashing selection box so it only covers half the screen / window width.
In Notepad++ I've found some code between lines 887 - 1178 which refer to drawing the rectangle and changing its opacity to simulate the flashing effect, but I can't seem to cut the size of it in half (vertically).
887-893 look like this:
I've attempted to add things in like / 2 and other mathematical operators, but it doesn't seem to change anything.
In essence, instead of calculating the full width of the window to be the size of the rectangle, I'd only like it to calculate half of it.
Here's an example of my scene below (with spoiler characters removed). The selection rectangle is over the uppermost character.
Yanfly's Party System plugin for MV replaces the default formation menu with a new one. There is a selection bar which flashes across each party member as you highlight them, but it goes right across the screen.
The plugin works just fine - it's mostly plug and play - but I've been trying to change the flashing selection box so it only covers half the screen / window width.
In Notepad++ I've found some code between lines 887 - 1178 which refer to drawing the rectangle and changing its opacity to simulate the flashing effect, but I can't seem to cut the size of it in half (vertically).
887-893 look like this:
Window_PartySelect.prototype.itemRect = function(index) {
var rect = new Rectangle();
rect.width = this.contents.width / this.maxItems() ;
rect.height = this.contents.height;
rect.x = index * rect.width;
rect.y = 0;
return rect;
I've attempted to add things in like / 2 and other mathematical operators, but it doesn't seem to change anything.
In essence, instead of calculating the full width of the window to be the size of the rectangle, I'd only like it to calculate half of it.
Here's an example of my scene below (with spoiler characters removed). The selection rectangle is over the uppermost character.