change the display name color

Status
Not open for further replies.

GaPeLo

Veteran
Veteran
Joined
May 22, 2012
Messages
106
Reaction score
3
First Language
Spanish
Primarily Uses
Hello, I did my best to try to find this question but could not. I want to change the color of the Display name on the maps. I don't want to use scripts so I was wondering if it is possible? If so how?

thank you in advance
 

Yato

(aka Racheal)
Veteran
Joined
Mar 17, 2012
Messages
825
Reaction score
346
Primarily Uses
It is not possible without a script. It is, however, very easy with a script. I know you said you didn't want to use scripts, but I'll leave this here if you change your mind.



Code:
class Window_MapName < Window_Base
  alias map_display_name_color_refresh refresh
  def refresh
	change_color(text_color(5))
	map_display_name_color_refresh
  end
end
(Insert anywhere in the materials section)

You can either use a color from the window skin, as I did here (in this case, the 6th color over), or you can pick any color by replacing text_color(5) with Color.new(red, green, blue) replacing the words with the desired number between 0 and 255.
 
Last edited by a moderator:

Linkzell

High Level n00b >_
Member
Joined
Jun 23, 2012
Messages
68
Reaction score
2
First Language
English
Primarily Uses
It is not possible without a script. It is, however, very easy with a script. I know you said you didn't want to use scripts, but I'll leave this here if you change your mind.



Code:
class Window_MapName < Window_Base
  alias map_display_name_color_refresh refresh
  def refresh
	change_color(text_color(5))
	map_display_name_color_refresh
  end
end
(Insert anywhere in the materials section)

You can either use a color from the window skin, as I did here (in this case, the 6th color over), or you can pick any color by replacing text_color(5) with Color.new(red, green, blue) replacing the words with the desired number between 0 and 255.
Tested and works very cleanly. I think I will use it myself! ^_^d
 

Nathanial

Veteran
Veteran
Joined
Feb 23, 2012
Messages
3,244
Reaction score
1,120
First Language
English
Primarily Uses
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,569
Latest member
Shtelsky
Top