Help with creating an extra window on the battle screen

Good Morning / Day / Afternoon / Evening everyone.

Before I begin, I need you to know i'm using Yanfly Core to make the resolution 640 x 480 for my project.

31.05.2021_23.11.44_REC.png


You see the extra system window that shows behind the ACTUAL system window? That's just a trick I did with photoshop to add it to the battleback, the problem is when the screen flashes, because it's just a battle back, that little window flashes too because obviously it's an edited battleback.

What I would like to do it to add a window in the battle screen just like the one behind the battle status window, exactly like it would look on the picture.

Is this possible to achieve?

Any help is appreciated.
Shouldn't be hard at all, adding new windows is pretty straightforward, especially if you don't even need to display anything inside it.
Shouldn't be hard at all, adding new windows is pretty straightforward, especially if you don't even need to display anything inside it.
Yeah but as you may have realised I am very much a NOOB when it comes to scripting... I don't think I'd have trouble setting up a window but I'm not sure how I would make it so it would appear behind the battle status window...

it has to be on Window_BattleStatus right?
Windows have a z coordinate, which determines their "depth". Just create a new window in Scene_Battle and set its z coordinate to be lower than the status one.
31.05.2021_23.50.07_REC.png


Like this?

What should I do afterwards?
It doesn't have to be a Window_BattleStatus. You could just do Window_Base.new(0, @status_window.y, Graphics.width, @status_window.height) since it doesn't need to have any text.

Then do @behind_status_window.z = @status_window.z - 1

You'll also have to give that method a different name, and then call it after create_status_window.
I'm sorry. I'm obviously not doing this right, you're talking to someone with zero knowledge here... Sorry for the inconvenience...
01.06.2021_00.00.03_REC.png
It can be as simple as this
Ruby:
class Window_Status_Blank < Window_Base
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    super(0, Graphics.height - fitting_height(4), Graphics.width, fitting_height(4))
    self.z = 20
    self.openness = 255
  end
end
class Scene_Battle < Scene_Base
  alias r2_create_status_back_all_windows create_all_windows
  def create_all_windows
    r2_create_status_back_all_windows
    create_status_back_window
  end
  def create_status_back_window
    @status_back_window = Window_Status_Blank.new
  end
end
It can be as simple as this
Ruby:
class Window_Status_Blank < Window_Base
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    super(0, Graphics.height - fitting_height(4), Graphics.width, fitting_height(4))
    self.z = 20
    self.openness = 255
  end
end
class Scene_Battle < Scene_Base
  alias r2_create_status_back_all_windows create_all_windows
  def create_all_windows
    r2_create_status_back_all_windows
    create_status_back_window
  end
  def create_status_back_window
    @status_back_window = Window_Status_Blank.new
  end
end
Thank you and sorry for my complete lack of knowledge and common sense.
Never apologise for not knowing things. You know more now than you did before you posted, and that's a win in my book. Also you don't need to create a new class for this:

Ruby:
class Scene_Battle < Scene_Base
    def create_status_window
        @status_window = Window_BattleStatus.new
        @status_window.x = 128
        @behind_status_window = Window_Base.new(0, @status_window.y, Graphics.width, @status_window.height)
        @behind_status_window.z = @status_window.z - 1
      end
end

Original thread: https://forums.rpgmakerweb.com/threads/help-with-creating-an-extra-window-on-the-battle-screen.137024/