Is it possible to use a different window graphic for battles? Like, not just changing the color, but a totally different one with different graphic.
Use a different text window for battles
RGSS3 Script RequestsMoved to: RGSS3 Script Requests
Yes. And no.
Yes, but you will need a script.
No, if you just meant to ask whether it was possible with default/base engine functionality.
As you can probably tell by now, unlike XP and earlier versions of RPGMaker, VX/Ace and onwards do not have any inbuilt ways for you to select any different windowskins. If you want to use a different one, you're either replacing the default "Window" graphic in the Graphics/System folder (which will obviously replace the windowskin across everything in your game).
Or else you will have to get an external script that can search for different windowskin files and can make the game to display those instead of the default one.
I think there are a bunch of them around like Galv's Menu Engine, although don't know if there's one that allows you to specifically change the windowskin just for the battle scene except maybe Luna Engine (which is kind of overkill just for that one thing).
But if you know how to script, it isn't that hard. It can be done in, like, 10 lines of code (well, 11 from my random back-of-envelope attempt).
Yes, but you will need a script.
No, if you just meant to ask whether it was possible with default/base engine functionality.
As you can probably tell by now, unlike XP and earlier versions of RPGMaker, VX/Ace and onwards do not have any inbuilt ways for you to select any different windowskins. If you want to use a different one, you're either replacing the default "Window" graphic in the Graphics/System folder (which will obviously replace the windowskin across everything in your game).
Or else you will have to get an external script that can search for different windowskin files and can make the game to display those instead of the default one.
I think there are a bunch of them around like Galv's Menu Engine, although don't know if there's one that allows you to specifically change the windowskin just for the battle scene except maybe Luna Engine (which is kind of overkill just for that one thing).
But if you know how to script, it isn't that hard. It can be done in, like, 10 lines of code (well, 11 from my random back-of-envelope attempt).
I can't script with ruby unfortunatly, i'll check the options you told me, thanks anyways.
There are a few scripts made for changing the windowskin.
Dekita - Windowskin
Rosesarecrimson - Multiple Windowskin
Theoallen - Windowskin Changer
Tsukihime - Change Windowskin
Crystal Engine - Variable Windowskin
I would recommend Crimson Rose - Multiple Windowskins. It has all the default windows separated so you can change whichever one you want.
Thank you this helped a lot :>
Just going to note, that Crimson Rose script will not completely do the job, if you want only to change the windowskin for the windows in Scene_Battle but NOT elsewhere.
Because off the top of head, I can tell you that the battle scene also reuses windows like Window_Message and Window_Help that appear in other scenes. So if you tried to change those using that script, it would end up changing the windowskin for the windows in all those scenes too.
I know I did also say there were a whole bunch of windowskin changers available - but to be fair, most of them don't allow you to globally set by scene. Galv's and Luna's were the two that came to mind that I vaguely recall might be able to do it (though admittedly I'm not sure, I haven't looked at either in a long while).
Among the ones you listed, there's some that allow you to change the windowskin on the fly with a script call or variable. In theory, those ones COULD let you do it for a whole scene - but without additional scripting, you would have to manually call for the windowskin change every time you entered Scene_Battle (i.e. through battle events) and then again on the map (maybe using some parallel process Common Event?) in order to achieve the effect.
Which is very messy compared to a dedicated script where in order to set the windowskin for a specific Scene, all you would have to do is something like this:
Ruby:
class Window_Base < Window
alias_method :winbase_init_traverse_050421, :initialize
def initialize(x, y, width, height)
winbase_init_traverse_050421(x, y, width, height)
if SceneManager.scene_is?(Scene_Battle)
self.windowskin = Cache.system("yourNewWindowskin")
else
self.windowskin = Cache.system("Window")
end
end
end
@Ina00
Well, I mean, I say it's "cleaner" and "easier" if you know how to script, but of course the hard part is actually knowing how to script. That does take time to learn, since even just those 11 lines there require you to not just know Ruby, but also to know at least 4 things about how the engine works, which will take you a lot longer to find out if you're not familiar.
Those 4 things in this case being:
1. That the windowskin file is checked and assigned by Window_Base, the parent class of all Windows in the game, at the time when a Window is initialized/created. No other class touches the windowskin.
2. That you can check which Scene the player is currently in by using the "scene_is?" method in SceneManager.
3. That the battle screen is called "Scene_Battle".
4. That Windows are all created and deleted everytime a Scene changes, instead of only being created once and persisting through the whole game. Because if that was how it worked, the script would need to modify something other than the window creation method to check for the Scene and reassign the windowskin. This one wouldn't work.
2. That you can check which Scene the player is currently in by using the "scene_is?" method in SceneManager.
3. That the battle screen is called "Scene_Battle".
4. That Windows are all created and deleted everytime a Scene changes, instead of only being created once and persisting through the whole game. Because if that was how it worked, the script would need to modify something other than the window creation method to check for the Scene and reassign the windowskin. This one wouldn't work.
I'll post a slightly more fleshed-out version of that script that allows you to set windowskins for different Scenes in its own thread and then link it back here.
EDIT: Script thread is here.
Original thread: https://forums.rpgmakerweb.com/threads/use-a-different-text-window-for-battles.135177/