The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Target on May 24, 2008, 10:34:41 PM

Title: How do i change the text color?
Post by: Target on May 24, 2008, 10:34:41 PM
As simple as it seems i cant find this. I think its in scripting.  :froghat:
Title: Re: How do i change the text color?
Post by: modern algebra on May 24, 2008, 10:55:07 PM
Text colour of what?

Messages?

With an AMS, you can easily change text colour. There are a lot of options, including Seasons in the Abyss' SMS and Letter by Letter System - both can be found in the Database. If you want even more options, then ccoa's UMS can be found on rpgrevolution and dubealex's AMS can be found on creationasylum.net
Title: Re: How do i change the text color?
Post by: Target on May 25, 2008, 08:16:37 AM
Uhh hate to say im fairly new to scripts and stuff but umm i got no idea wut ams, etc. is.

Is there a FULL script where i can erase the orginal and just paste the new? (Possibly Where ALL font is black?)


(Yes im a noob {i hate that word})
Title: Re: How do i change the text color?
Post by: modern algebra on May 25, 2008, 04:11:25 PM
How to Insert a Script (http://rmrk.net/index.php/topic,263.0.html)

Letter by Letter Message Window (http://rmrk.net/index.php/topic,7035.0.html) and read the Instructions.

Title: Re: How do i change the text color?
Post by: Target on May 25, 2008, 04:51:58 PM
Ok now we're talking. Thx algebra. I dont think any1 could do anything without u.  :moar: :huge:
Title: Re: How do i change the text color?
Post by: Target on May 25, 2008, 05:04:09 PM
Alright everything works fine but i cant change the color of name input processing which i use at the beginning of the game.

I looked at its script but couldnt find any color codes or anything. Or can this not be changed?
Title: Re: How do i change the text color?
Post by: modern algebra on May 25, 2008, 05:57:11 PM
Well, that script probably can't do it, nor would it work for the menus. It's a useful script to possess nonetheless. If you just want everything that is currently white to be changed to another color though, then the easiest thing to do is to go to the Window_Base script in the editor and find this around line 61 or so:


  #--------------------------------------------------------------------------
  # * Get Normal Text Color
  #--------------------------------------------------------------------------
  def normal_color
    return Color.new(255, 255, 255, 255)
  end


Then just change it to the colour you want. You can experiment with those numbers to get different colours.

black is Color.new (0, 0, 0, 255)
Title: Re: How do i change the text color?
Post by: Target on May 25, 2008, 06:33:32 PM
Alrught thx a bunch. Btw im getting scripting down thx to u.   :)
Title: Re: How do i change the text color?
Post by: modern algebra on May 25, 2008, 06:46:12 PM
I'm happy to be of service