Changing windowskin mid-game

Hello there, lovely peoples. I was wondering if there's a way for the game to switch to another windowskin mid-game, to match a particular atmosphere you want to create. For instance you reach a certain chapter/milestone, then switch windowskin.

Is that possible? 
You can only change the color of the window using the native options available in RPG Maker. You'll have to use a script to completely change the windowskin.

Here are two scripts I found doing a Google search. I don't know anything about them, so use on a test project first.

http://rmrk.net/index.php/topic,48076.0.html

http://forums.rpgmakerweb.com/index.php?/topic/12971-dynamic-window-skin/

Good luck.
well, you could do that...


1) Go to Window_Base


2) Go to initialize


3) See the self.windowskin = blahblah line?


4) Change the path used to a global variable that you set-up like $windowskin


5) Create the global variable, maybe before the Class Window_Base: $windowskin = "Window"


6) modify that variable in-game when you need to change windowskins


Note: If you do it while a window is still opened, it won't show the changes on that currently opened window
I am...going to bookmark this topic and reread it when I've found out how to tinker with global variables. Thanks guys! 😀

(just wanted to know if it could be done as I plan my first game)
I would suggest using Yanfly's System Options and adding an option to switch variables to switch windowskins using Engr. Shana's suggestion.  I kinda did that, but only via script options.  I had planned to add a system to change them during gameplay, but never did.  Good luck, however!
Hello, I had the exact same problem as you and may I say your topic and the people who replied really helped! But I also found this wonderful window-changing script by Hime you may wish to give a try, if you are still looking for a script to change windowskins mid-game, that is. Here you go: http://himeworks.com/2014/11/windowskin-changer/
Necro-post notice: Roseredpinball
The last post was well over 4 years ago, so it is highly unlikely that the OP is still searching for a solution.

Moderator note: Closing

Original thread: https://forums.rpgmakerweb.com/threads/changing-windowskin-mid-game.22970/