NEW FONT COLOURS

RPG Maker XP

A nifty scripting tool for those of you who don't know about it!

  • Redd
  • 09/05/2011 04:52 PM
  • 2725 views
Okay, the only thing I can really think of this going anywhere is for scripters editing stuff.

But anyway, here's how to add different colors in Window_Base to make it so that you can have different colors in windows that you make:

<> Go to Window_Base in the script editor
<> Find line 90
<> Hit enter
<> Paste this code in the blank line:

#--------------------------------------------------------------------------
# * Get v Text Color
#--------------------------------------------------------------------------
def w_color
return Color.new(x, y, z)
end


<> Change v to the name of the color you want it (Ex. Aqua)
<> Change w to what you should call the color with (Ex. aqua_color)
<> Change x to how much Red should be in the color
<> Change y to how much Green should be in the color
<> Change z to how much Blue should be in the color

While you are making a window, make sure to add in this line for your color:
self.contents.font.color = w_color