How can I greatly alter the battle screen?

Hi, guys. I understand that completely ripping off the style of other games is a big no-no, but I'd like to get my battle screen looking somewhat similar to Persona 3/4 as a jumping off point so that I can do my own alterations later.


I've attached what my game currently looks like, what I'd like to have it look like (for starters, I can figure out wiggling around X/Y placements fine on my own later), and P3's for reference.


My current roadblock is that I've seemingly edited my code for the face icons to not be bound to the rectangle; but they still are. Any thoughts as to why? Including my code as well.


http://hastebin.com/awudusuxey.rb (My window_battlestatus)

1477698200135.png

IDEAL.png

persona-3-fes-battle.jpg
I've moved this thread to Learning Ruby and RGSSx. Please be sure to post your threads in the correct forum next time. Thank you.
There are two things you must change in order to make your status window look as you want.


First of all, is changing its size. You can find this on these lines:


#--------------------------------------------------------------------------
# * Get Window Width
#--------------------------------------------------------------------------
def window_width
Graphics.width - 128
end
#--------------------------------------------------------------------------
# * Get Window Height
#--------------------------------------------------------------------------
def window_height
fitting_height(visible_line_number)
end


Then, there is something called a Viewport, which is like a container for visual things, like windows and sprites. RMVXA by default places the status window in a Viewport, you must look for this line where this happens, and get it out of it. Or change the size of that Viewport, though this will potentially break some other stuff (namely, the position for the party commands and actor commands).


Remember that both the party status and the command windows move to the left/right in unison when selecting actions? Well, none of them are moving really, all that and making them transparent after making a selection is achieved just by moving/invisibilizing the viewport.


So yeah, easies solution for this, get the Status window out of that viewport. At Scene_Battle...


def create_info_viewport
@info_viewport = Viewport.new
@info_viewport.rect.y = Graphics.height - @status_window.height
@info_viewport.rect.height = @status_window.height
@info_viewport.z = 100
@info_viewport.ox = 64
@status_window.viewport = @info_viewport # You could just try and delete this line.
end




Then reposition it to your liking in this line at Window_BattleStatus


super(0, 0, window_width, window_height)


And, if everything goes well, this should do the trick and finally let you use whatever size and position you want for your battle status window.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-greatly-alter-the-battle-screen.70319/