So I've been trying for a while with editing default script however I have not found a way to make text windows completely black with no transparency effect at all. Yes I have made the window black, both top and bottom corners. I also want to keep the text border.
Game window opacity
RGSSx Script SupportThis does not belong here - it is a scripting question. However, as you've neither stated what maker you're using, nor listed your preferred maker in your profile, I have no idea which forum it does belong in.
The parameter you are looking for is opacity and you want to set that to 255 to make the window fully opaque (no transparency). If it's just the message window, you'll need to add it to either Window_Message or Scene_Map (and Scene_Battle) where they create the message window. However, there might not be something there to change, as it probably just inherits from Window_Base or Scene_Base.
If you can't get it working with just that information, let us know what you're using, and we can move this to the right place and give you a more specific answer.
The parameter you are looking for is opacity and you want to set that to 255 to make the window fully opaque (no transparency). If it's just the message window, you'll need to add it to either Window_Message or Scene_Map (and Scene_Battle) where they create the message window. However, there might not be something there to change, as it probably just inherits from Window_Base or Scene_Base.
If you can't get it working with just that information, let us know what you're using, and we can move this to the right place and give you a more specific answer.
I'm using vx ace, but I have messed around with nearly every window, window base window command Menu base script, changing opacity scripts, and so on. Everything has either has done nothing, or created an error.
I've moved this thread to RGSS3 Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
I see a couple of references to @back_sprite.opacity and self.opacity in Window_Message, but both of them should be 255 when the message window is fully open, so I suspect changing those will not have the effect you're after.
It may be that the code you're after is in the hidden classes that we don't have access to.
However, there is this, on line 44 of Game_System:
It may be worth replacing $data_system.window_tone with
substituting the colour names for values, to see if it helps at all.
I see a couple of references to @back_sprite.opacity and self.opacity in Window_Message, but both of them should be 255 when the message window is fully open, so I suspect changing those will not have the effect you're after.
It may be that the code you're after is in the hidden classes that we don't have access to.
However, there is this, on line 44 of Game_System:
Code:
def window_tone @window_tone || $data_system.window_toneend
Code:
Tone.new(red, green, blue, gray)
I tried that, the window still had some transparency effects lingering, plus it made it all white. All I'm looking for is absolutely no transparency effects on any Windows.
Original thread: https://forums.rpgmakerweb.com/threads/game-window-opacity.52039/