RMMZ Adjust Window_ActorCommand & Window_BattleStatus = Rows and Columns

Marillmau5

Veteran
Veteran
Joined
May 8, 2014
Messages
94
Reaction score
11
First Language
English
I updated this post again for one more shot at someone being able to help.

I'm requesting a plugin that would allow me to force the window to show only 2 rows and 2 columns of skills. Like a message core manager but for the battle window.

Yanflys mv core had a setting to force the battle window columns and row. But For Vissustella they only have that option for choices and message window.
 
Last edited:

Marillmau5

Veteran
Veteran
Joined
May 8, 2014
Messages
94
Reaction score
11
First Language
English
Update: I was able to get the effect in RMMV using Yanflys Core and some other small scripts but they dont translate to MZ. And theres no MZ equivalent right now.
 

Attachments

  • Untitled-2.png
    Untitled-2.png
    12.7 KB · Views: 6

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
1,015
Reaction score
658
First Language
English
Primarily Uses
RMMV
Try this. I loaded it into a test project, and it shows the first four skills an actor knows in the BattleSkill Window. If he knows more than that, there's no way to select anything past the fourth one, and since columns is set to 2, it will only shows 2 rows of skills.

Interestingly enough, setting maxRows to 2 didn't have any effect in my test project.

Import at the bottom of the plugin manager so it's changes aren't overwritten by anything else. Filename doesn't matter, and you don't need to credit me.
 

Attachments

  • battleskill mod.js
    145 bytes · Views: 5

Marillmau5

Veteran
Veteran
Joined
May 8, 2014
Messages
94
Reaction score
11
First Language
English
Thanks but like you were saying setting maxrows doesnt work. In rmmv it would be .numVisiblerows

I think they might have coded it differently where its not based on rows anymore. It might be based on the window height now. I have to see how to change that but it seems the height value might be nested in base window height. Not sure.
 
Last edited:

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
1,015
Reaction score
658
First Language
English
Primarily Uses
RMMV
Thanks but like you were saying setting maxrows doesnt work. In rmmv it would be .numVisiblerows

I think they might have coded it differently where its not based on rows anymore. It might be based on the window height now. I have to see how to change that but it seems the height value might be nested in base window height. Not sure.
Okay, so let me understand more clearly here.
You want this window to only show four skills, but you also want the window to only be physically large enough to have four slots on it as well, yes? Or do you only want the window to show four skills at a time, and still be scrollable like a normal battle skill window? Because what I did does not change the actual size of the window at all, I dunno why, but I assumed you'd already done that part.
 

Marillmau5

Veteran
Veteran
Joined
May 8, 2014
Messages
94
Reaction score
11
First Language
English
Yes exactly, I was able to do it with rmmv, But Im unable to with rmmz.
 
Last edited:

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
1,015
Reaction score
658
First Language
English
Primarily Uses
RMMV
This edit makes it so that all windows at the bottom of the battlescreen are only two lines tall. Which makes it so that the skill window can only show four things at once, but also changes the battlecommand and battlestatus windows to also only be two lines tall.

If you want the status window to remain the same size, I can revert that back for just that window, but doing so will require me to change the positioning of the other windows as well, which is why I didn't do it yet (since I'm not sure you want that).
 

Attachments

  • battleskill mod.js
    251 bytes · Views: 10

Marillmau5

Veteran
Veteran
Joined
May 8, 2014
Messages
94
Reaction score
11
First Language
English
That is perfect, thank you. From there I can do the rest for the other windows.
 

Latest Threads

Latest Profile Posts

Can you recognize where this area is from? :kaocry:
Mq9QM3h.png
For those with up to 9 elements of magic; how do you structure your database. By element? Or by what is offensive vs supportive spells?
would anyone here be interested in rough concept art for the main protagonist of my game that might get changed later? :kaoswt2:
I guess I have no idea how to properly upload a custom font lmao. The menu fonts are too damn small.

Font_Size.PNG

Forum statistics

Threads
124,436
Messages
1,163,647
Members
163,252
Latest member
kurus_12
Top