PDA

View Full Version : [Essentials tutorial] Transparent Speech Box


thor348
April 29th, 2013, 05:36 AM
Her's a quick tutorial for those who want to make some speech bubbles transparent.

So here is how the final product will look like:

http://i1351.photobucket.com/albums/p800/thor348k/battleAid_zps4616a0fa.png

Here's what you do:
1) Go to your Graphics Folder then the Windowskins Folder
2) Copy and paste a copy of "frlgtextskin.png" and rename it whatever you'd like.
This is how it should look:

http://i1351.photobucket.com/albums/p800/thor348k/renamedWindowskin_zps5e2912df.png

3) Go into any image editor you prefer (I use Paint.Net) and change the copied image transparency to however you would like it.
4) Now just by doing this, you cannot change to it in the game. First you'll have to go into the script editor and add a line.
5) So go into the script editor and click on the "PokemonOptions" section.
6) Now scroll down to the part, "Stores game options" (for me it's at line 200)
7) You'll see where it says "# Default text skin - frlgtextskin"
8) Scroll down until you see "textbox19",
9) Now adjust it to where it looks like this:

http://i1351.photobucket.com/albums/p800/thor348k/speechScript_zpsde39e321.png

10) Once you've done that, you can now change the window skin via Event Command.
Here's Where:
http://i1351.photobucket.com/albums/p800/thor348k/eventCommandHelp_zpsfb040018.png

There ya go! Request anything, I'll try to help

Maruno
April 29th, 2013, 06:15 AM
I don't recommend that you use the "Change Windowskin" event command, because it overrides the windowskin the player has chosen to use without remembering which one they were using. Your example changes it back to frlgtextskin, but it's entirely possible that they were using a different one instead, and this mucking around will annoy them.

Either use the \w[X] message command (http://pokemonessentials.wikia.com/wiki/Messages) instead, or use scripts to remember and restore the user's windowskin.

thor348
April 29th, 2013, 06:35 AM
Either use the \w[X] message command (http://pokemonessentials.wikia.com/wiki/Messages) instead, or use scripts to remember and restore the user's windowskin.

that is easier and will cause less possible trouble

BenGames,Films, and More!
April 29th, 2013, 11:20 AM
that is easier and will cause less possible trouble

Or you can use materialbase and just make it transparent

thor348
April 29th, 2013, 04:20 PM
Or you can use materialbase and just make it transparent

what is materialbase? is that in rmxp?

FL
April 30th, 2013, 03:51 PM
I agree with Maruno and think that his way is simpler and the player also can't change the active windowskin to a transparent one.

You can also change the alpha value of color attribute of windowskin properties, is harder, but is the right way and match to all windowskins.