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 Posts

Latest Profile Posts

yo i made a post but it hasnt really gotten any answers so uhhhh
Finished switching to a new PC. Now I could potentially start working at projects or plugins again if I feel the motivation to do so.
If you don't read the news, you are uninformed. If you read the news, you are misinformed.
Custom slip rates and custom ailment durations for enemies really opens up the floodgates for status effect use. I can have Poison and Time Stop affect bosses without it breaking their balance! Finally, a healthy middle ground.

(Especially after I cooked up a thing that prevents you from re-applying deadly states more than once in specific occassions.)
Voice.gif
The Voice... They usually show up to talk to you about leaving your mark on the world, which is one of the major themes of my game... How will you be remembered by society.

Forum statistics

Threads
124,533
Messages
1,164,270
Members
163,366
Latest member
kurutami
Top