Help Editing Battle Status Window

Hello,

I'm trying to make some slight edits to the Default Battle Status Window in RPG Maker VX Ace.

What I'm trying to do is basically make the Status window, and only the Battle Status Window, one character long instead of 4.

It would look something like this:

1631364927296.png


The problem Im running into is that when i updated the visible lines in the battle status window script (I made a copy of it), it allows only one actor line to be visible, but it also drags the party and command window (as well as all other command windows) to the same line as the Battle status

For instance, it looks something like this:
1631365031516.png


Does anyone know how to edit the status window and the status window only?

So far this is the only edit I've made to the status window (again a copy i made):
1631365160531.png


I also tried to adjust the y values of the other windows, but this happens:
1631365231265.png


Thanks for the help!
Ruby:
class Scene_Battle < Scene_Base
  def create_info_viewport
    @info_viewport = Viewport.new
    @info_viewport.rect.y = Graphics.height - 24 * 5
    @info_viewport.rect.height = 24 * 5
    @info_viewport.z = 100
    @info_viewport.ox = 64
    @status_window.viewport = @info_viewport
    @status_window.y = 24 * 3
  end
end
Moved to: RGSSx Script Support
Thanks, this worked! For my knowledge, can you give me a quick run down of what this did? What exactly does the Viewport do?
Ruby:
class Scene_Battle < Scene_Base
  def create_info_viewport
    @info_viewport = Viewport.new
    @info_viewport.rect.y = Graphics.height - 24 * 5
    @info_viewport.rect.height = 24 * 5
    @info_viewport.z = 100
    @info_viewport.ox = 64
    @status_window.viewport = @info_viewport
    @status_window.y = 24 * 3
  end
end
The basics of what a viewport is, is explained in the help contents.
My changes was to use specific numbers because by default the viewport position will move depending on how big the status window is. Since you changed it to just one line that made the position move down.
But making this change didn't make it look the way you wanted so I added the last line to move the status window down inside the viewport.
Thanks, this helped out a lot.

This can be closed.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/help-editing-battle-status-window.140348/