Name box with yanfly message system + Galv Bust Script

I am using Galvs message bust system and was thinking of using yanflys message system with a name box addon. The only problem that I seem to run into is that I don't exactly know how the addon works and when I just try to use the message system and get the name box above the text it overlaps the face picture. How would I go at fixing this?
Yanfly message system:
Message system Addon:
Galv Message bust:
Thanks for any help.
Can you show a picture of how it looks now?
I would suggest to use the name window in the middle.
Can you show a picture of how it looks now?
I would suggest to use the name window in the middle.
This is with just the message system.
1591151260778.png
Try this to see if it works for you
Spoiler: Name window adjust
Ruby:
#------------------------------------------------------------------------------#
#  Galv's Message Busts
#------------------------------------------------------------------------------#
#==============================================================================
#
# ▼ Yanfly Engine Ace - Ace Message System v1.05
#
#==============================================================================
# Script order
# Yanfly Message
# Galv Busts
# this patch
#==============================================================================
# Patch support by Roninator2
# Provide support to adjust name window or bust position
# Config options and positions will adjust
#==============================================================================

module R2_Galv_Bust_Name_Window
  MOVE_NAME_WINDOW = true # if false, will move Galv bust
  ADJUST = 112
end

class Window_Message < Window_Base

if R2_Galv_Bust_Name_Window::MOVE_NAME_WINDOW
  def start_name_window
    return if @name_text == ""
    @name_window.start(@name_text, @name_position)
    if !$game_message.face_name.empty?
      if $game_message.mirror
        @name_window.x += (R2_Galv_Bust_Name_Window::ADJUST * -1)
      else
        @name_window.x += R2_Galv_Bust_Name_Window::ADJUST
      end
    end
  end
else
  def update_bust
    if !$game_message.bust_name.empty? && !$game_switches[Galv_Bust::DISABLE_SWITCH]
      #domo @bust.mirror = $game_message.mirror
      @bust.bitmap = Cache.picture($game_message.bust_name + "-" + ($game_message.bust_index + 1).to_s)
      if !$game_message.mirror
        if Galv_Bust::SLIDE
          @bust.x = ((openness.to_f / 255) * @bust.width) - @bust.width
          #domo
          @bust.x += 110
        else  
          @bust.x = 0
        end
      else
        if Galv_Bust::SLIDE
          @bust.x = Graphics.width - ((openness.to_f / 255) * @bust.width)  
          #domo
          @bust.x += 110    
        else
          @bust.x = Graphics.width - @bust.bitmap.width
        end
      end
      if $game_message.position == 2 && !Galv_Bust::BUST_Y_OVER
        @bust.y = Graphics.height - @bust.bitmap.height - self.height
      else
        @bust.y = Graphics.height - @bust.bitmap.height
        #domo
        @bust.y += 60
      end
    else
      @bust.bitmap = nil
    end
    if $game_switches[Galv_Bust::DISABLE_SWITCH]
      @bust.opacity = 0
    else
      @bust.opacity = openness
    end
    if !$game_message.face_name.empty?
      if $game_message.mirror
        @bust.x += R2_Galv_Bust_Name_Window::ADJUST * -1
      else
        @bust.x += R2_Galv_Bust_Name_Window::ADJUST
      end
    end
    @bust.update
  end
end
end
Try this to see if it works for you
Spoiler: Name window adjust
Ruby:
#------------------------------------------------------------------------------#
#  Galv's Message Busts
#------------------------------------------------------------------------------#
#==============================================================================
#
# ▼ Yanfly Engine Ace - Ace Message System v1.05
#
#==============================================================================
#
#==============================================================================
# Patch support by Roninator2
# Provide support to adjust name window or bust position
# Config options and positions will adjust
#==============================================================================

module R2_Galv_Bust_Name_Window
  MOVE_NAME_WINDOW = true # if false, will move Galv bust
  ADJUST = 112
end

class Window_Message < Window_Base

if R2_Galv_Bust_Name_Window::MOVE_NAME_WINDOW
  def start_name_window
    return if @name_text == ""
    @name_window.start(@name_text, @name_position)
    if !$game_message.face_name.empty?
      @name_window.x += R2_Galv_Bust_Name_Window::ADJUST
    end
  end
else
  def update_bust
    if !$game_message.bust_name.empty? && !$game_switches[Galv_Bust::DISABLE_SWITCH]
      #domo @bust.mirror = $game_message.mirror
      @bust.bitmap = Cache.picture($game_message.bust_name + "-" + ($game_message.bust_index + 1).to_s)
      if !$game_message.mirror
        if Galv_Bust::SLIDE
          @bust.x = ((openness.to_f / 255) * @bust.width) - @bust.width
          #domo
          @bust.x += 110
        else     
          @bust.x = 0
        end
      else
        if Galv_Bust::SLIDE
          @bust.x = Graphics.width - ((openness.to_f / 255) * @bust.width)     
          #domo
          @bust.x += 110       
        else
          @bust.x = Graphics.width - @bust.bitmap.width
        end
      end
      if $game_message.position == 2 && !Galv_Bust::BUST_Y_OVER
        @bust.y = Graphics.height - @bust.bitmap.height - self.height
      else
        @bust.y = Graphics.height - @bust.bitmap.height
        #domo
        @bust.y += 60
      end
    else
      @bust.bitmap = nil
    end
    if $game_switches[Galv_Bust::DISABLE_SWITCH]
      @bust.opacity = 0
    else
      @bust.opacity = openness
    end
    if !$game_message.face_name.empty?
      @bust.x += R2_Galv_Bust_Name_Window::ADJUST
    end
    @bust.update
  end
end
end
It works. Only problem I am having now is when I set it from true to false this happens:
1591204160415.png
where did you put it?
Place below both galv and yanfly scripts
where did you put it?
Place below both galv and yanfly scripts
That worked. Thanks for the help.
@Roninator2 Had a real quick question how would I make the box flip to the other side if I have the faces show up on the right side like this:
1591206392060.png
Update the code.
You have to use \nr<X> option in text box to have the name box on the right.
Update the code.
You have to use \nr<X> option in text box to have the name box on the right.
When I do the\nr<X> it looks like this:
1591207222861.png
When I do the\nr<X>
How did you get the name box to show up?
How did you get the name box to show up?
The yanfly message system.
1591207611423.png
I tested that code \nr<\n[1]> and it worked fine.
So I'm not sure.
I tested that code \nr<\n[1]> and it worked fine.
So I'm not sure.
Well the name goes off the screen and when I switch them then the face goes off the screen.
when I switch them
So your saying when the setting is false?
This is a setting that either needs to be true or false and cannot be changed in the middle of the game.

But for the sake of full functionality I found the issue for the face. Just needed to add in the other mirror option.
Going to update the code in a sec.
So your saying when the setting is false?
This is a setting that either needs to be true or false and cannot be changed in the middle of the game.

But for the sake of full functionality I found the issue for the face. Just needed to add in the other mirror option.
Going to update the code in a sec.
Ok it works now. BTW how would I go at changing the color for the name text for different people?
In yanfly's message script it tells you how to change the color
\c[x]
So combine that with the name option.

\nr<\c[2]\n[6]>\c[0]
Thread closed a

Original thread: https://forums.rpgmakerweb.com/threads/name-box-with-yanfly-message-system-galv-bust-script.122355/