*HELP*

Help this is my first post sorry if in wrong section i do apologise in advance

ive used vx for years on and off and only just starting to delve into scripting a little

ive managed to change the txt colour throughout to the desired colour which is 02 - light orange
all other text has changed to the same which is what i want my only problem is the name inputting screen i cant find anywhere to change that to the same colour if anyone could help id be greatfull

thanks in advance and again im sorry if this belongs in another thread

(the game i am working on ive called the kings sword )
the name inputting screen
You'll need to edit the code.
Window_NameEdit
under def initialize before refresh add in
self.contents.font.color = text_color(2)

Same for Window_NameInput
under def initialize before refresh add in
self.contents.font.color = text_color(2)

The best way is to add in a new script slot those changes.
Ruby:
class Window_NameEdit < Window_Base
  def initialize(actor, max_char)
    super(88, 20, 368, 128)
    @actor = actor
    @name = actor.name
    @max_char = max_char
    name_array = @name.split(//)[0...@max_char]   # Fit within max length
    @name = ""
    for i in 0...name_array.size
      @name += name_array[i]
    end
    @default_name = @name
    @index = name_array.size
    self.active = false
    self.contents.font.color = text_color(2)
    refresh
    update_cursor
  end
end
class Window_NameInput < Window_Base
  def initialize(mode = 0)
    super(88, 148, 368, 248)
    @mode = mode
    @index = 0
    self.contents.font.color = text_color(2)
    refresh
    update_cursor
  end
end

When posting a thread for help, don't just say help. Make the title of your post descriptive of what you need or what the problem is.
You'll need to edit the code.
Window_NameEdit
under def initialize before refresh add in
self.contents.font.color = text_color(2)

Same for Window_NameInput
under def initialize before refresh add in
self.contents.font.color = text_color(2)

The best way is to add in a new script slot those changes.
Ruby:
class Window_NameEdit < Window_Base
  def initialize(actor, max_char)
    super(88, 20, 368, 128)
    @actor = actor
    @name = actor.name
    @max_char = max_char
    name_array = @name.split(//)[0...@max_char]   # Fit within max length
    @name = ""
    for i in 0...name_array.size
      @name += name_array[i]
    end
    @default_name = @name
    @index = name_array.size
    self.active = false
    self.contents.font.color = text_color(2)
    refresh
    update_cursor
  end
end
class Window_NameInput < Window_Base
  def initialize(mode = 0)
    super(88, 148, 368, 248)
    @mode = mode
    @index = 0
    self.contents.font.color = text_color(2)
    refresh
    update_cursor
  end
end

When posting a thread for help, don't just say help. Make the title of your post descriptive of what you need or what the problem is.
thanks for the heads up i never ask for help usually i try to do everything myself and ill make sure any further post will be more descriptive thanks again

Original thread: https://forums.rpgmakerweb.com/threads/help.135299/