Jump to content


Photo

change the display name color


  • This topic is locked This topic is locked
3 replies to this topic

#1 GaPeLo

GaPeLo

    Advanced Member

  • Member+
  • 61 posts
  • LocationCanutillo
  • Primarily UsesRMVX Ace
  • First LanguageSpanish

Posted 25 June 2012 - 08:54 AM

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

#2 Racheal

Racheal

    Advanced Member

  • Early Adopter
  • 185 posts
  • LocationCanada
  • Primarily UsesN/A

Posted 25 June 2012 - 09:48 AM

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.
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.

Edited by Racheal, 25 June 2012 - 09:50 AM.

ArtorisBanner.png

HFbar.png RBTS.png


#3 Linkzell

Linkzell

    High Level n00b >_<!

  • Early Adopter
  • 35 posts
  • LocationFlorida, USA
  • Primarily UsesRMVX Ace
  • First LanguageEnglish

Posted 25 June 2012 - 12:37 PM

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.

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

@Linkzell

<img src="http://qrfree.kaywa....meMirrorsOfFate" alt="QRCode"/>

 


#4 Nathanial B.

Nathanial B.

    RPG Maker Web Staff Member

  • RPG Maker Web Staff
  • 1,278 posts
  • LocationKalamazoo, MI
  • Primarily UsesRMVX Ace
  • First LanguageEnglish

Posted 25 June 2012 - 01:24 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users