jjbones123

Veteran
Veteran
Joined
Aug 2, 2016
Messages
54
Reaction score
31
First Language
English
Primarily Uses
N/A
I know you can do  \C[number of the color you want] to turn the text from white to black, but to do that for every text box seems tedious.


How can I change it so that the game uses black text by default? Is there an option or do I have to change some script??
 

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
220
First Language
English
Primarily Uses
RMVXA
Well, these are the text colors used by default.


You could change to first one to 15 (I think that's black).

Code:
#==============================================================================
# ** Window_Base
#------------------------------------------------------------------------------
#  This is a super class of all windows within the game.
#==============================================================================
class Window_Base < Window
  #--------------------------------------------------------------------------
  # * Overwrite Methods: Get Text Colors
  #--------------------------------------------------------------------------
  def normal_color;      text_color(0);   end;    # Normal
  def system_color;      text_color(16);  end;    # System
  def crisis_color;      text_color(17);  end;    # Crisis
  def knockout_color;    text_color(18);  end;    # Knock out
  def gauge_back_color;  text_color(19);  end;    # Gauge background
  def hp_gauge_color1;   text_color(20);  end;    # HP gauge 1
  def hp_gauge_color2;   text_color(21);  end;    # HP gauge 2
  def mp_gauge_color1;   text_color(22);  end;    # MP gauge 1
  def mp_gauge_color2;   text_color(23);  end;    # MP gauge 2
  def mp_cost_color;     text_color(23);  end;    # TP cost
  def power_up_color;    text_color(24);  end;    # Equipment power up
  def power_down_color;  text_color(25);  end;    # Equipment power down
  def tp_gauge_color1;   text_color(28);  end;    # TP gauge 1
  def tp_gauge_color2;   text_color(29);  end;    # TP gauge 2
  def tp_cost_color;     text_color(29);  end;    # TP cost
end
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,490
Reaction score
8,136
First Language
German
Primarily Uses
RMMV
either change the color numbers like said above, or change the assigned colors in the windowskin picture
 

jjbones123

Veteran
Veteran
Joined
Aug 2, 2016
Messages
54
Reaction score
31
First Language
English
Primarily Uses
N/A
Well, these are the text colors used by default.


You could change to first one to 15 (I think that's black).



#==============================================================================
# ** Window_Base
#------------------------------------------------------------------------------
# This is a super class of all windows within the game.
#==============================================================================
class Window_Base < Window
#--------------------------------------------------------------------------
# * Overwrite Methods: Get Text Colors
#--------------------------------------------------------------------------
def normal_color; text_color(0); end; # Normal
def system_color; text_color(16); end; # System
def crisis_color; text_color(17); end; # Crisis
def knockout_color; text_color(18); end; # Knock out
def gauge_back_color; text_color(19); end; # Gauge background
def hp_gauge_color1; text_color(20); end; # HP gauge 1
def hp_gauge_color2; text_color(21); end; # HP gauge 2
def mp_gauge_color1; text_color(22); end; # MP gauge 1
def mp_gauge_color2; text_color(23); end; # MP gauge 2
def mp_cost_color; text_color(23); end; # TP cost
def power_up_color; text_color(24); end; # Equipment power up
def power_down_color; text_color(25); end; # Equipment power down
def tp_gauge_color1; text_color(28); end; # TP gauge 1
def tp_gauge_color2; text_color(29); end; # TP gauge 2
def tp_cost_color; text_color(29); end; # TP cost
end

Thanks! this worked, had to remove the Yanfly script for it to work though.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,305
Reaction score
11,734
First Language
English
Primarily Uses
RMVXA
@jjbones123 Please don't quote whole posts to indicate who you are replying to, it makes scrolling down the page slow and is especially difficult for people who are accessing this on their phone.  If you want to make it clear who you are answering, just use the @username convention as I have done on this post.


You didn't mention in your OP that you were using a script.  I am guessing that the Yanfly script you are referring to is the Ace Core Engine script.  That overwrites the default scripts in a number of places, including font colour.  If you want to keep that script (and it does a lot more than just affect the text), then you can change the colour there.  The section is this, starting at around line 234:


# - System Text Colours -
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Sometimes the system text colours are boring as just orange for HP, blue
# for MP, and green for TP. Change the values here. Each number corresponds
# to the colour index of the Window.png skin found in Graphics\System.
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
COLOURS ={
# :text => ID
:normal => 0, # Default: 0
:system => 16, # Default: 16
:crisis => 17, # Default: 17
:knockout => 18, # Default: 18
:gauge_back => 19, # Default: 19
:hp_gauge1 => 28, # Default: 20
:hp_gauge2 => 29, # Default: 21
:mp_gauge1 => 22, # Default: 22
:mp_gauge2 => 23, # Default: 23
:mp_cost => 23, # Default: 23
:power_up => 24, # Default: 24
:power_down => 25, # Default: 25
:tp_gauge1 => 10, # Default: 28
:tp_gauge2 => 2, # Default: 29
:tp_cost => 2, # Default: 29
} # Do not remove this.


You can change the colour 0 in the same way as Rinobi suggested.
 

jjbones123

Veteran
Veteran
Joined
Aug 2, 2016
Messages
54
Reaction score
31
First Language
English
Primarily Uses
N/A
@ksjp17 Sorry, still new to all this. Slipped my mind that you could @ users, so I quoted them to know that I was replying to them. But you're right; I should just use the @ and will do in future/

As for the mention of Yanfly, I just found it weird that it wasn't working for the project I was making, but when I tried it with a brand new project it worked just fine. I removed the custom scripts one by one to see which one was preventing it and it turned out to be yanfly. Though in hindsight; it isn't really that relevant.  
 

Yo Ewan

Veteran
Veteran
Joined
Mar 30, 2016
Messages
35
Reaction score
2
First Language
English
Primarily Uses
I know you can do  \C[number of the color you want] to turn the text from white to black, but to do that for every text box seems tedious.


How can I change it so that the game uses black text by default? Is there an option or do I have to change some script??

The Yanfly Message core adds this option, I think.
 

Latest Threads

Latest Posts

Latest Profile Posts

If it gets 6 degrees hotter we've reach 100
I am finally done making the 'superbosses' in my game!
I'm happy because oh my gosh they were a lot of work, but I'm also sad because I love database work... And also because I loved making stupid powerful bosses ._.
Question for anyone who reads Slip into Ruby or Jump into Javascript: do I sometimes get too "explainy" with the methods/functions? Would it be more useful if I stuck to explaining what the code is doing rather than also delving into minutiae of the technical side of it?
That moment when you try to figure out a color scheme for an alien ship so that it's something other than "Grey on Grey".
It's up for viewing! See what happened when EquestriAlert got tested in 1997... or was it a test? Did somepony hack the system? Or did somepony push the wrong switch? Even Adagio Dazzle (the owner of the channel) has no clue.

Can you put the pieces together? Don't worry, the game isn't over yet! There's more pieces to add on!

Forum statistics

Threads
111,118
Messages
1,058,459
Members
144,338
Latest member
shadowsoul
Top