Gremory Map Name Manager

Gremory Map Name Manager 1.3
by MateusDxD
Original Post
​

Introduction
This script allows modifications to be done in the Map Name Window, such as fade speed, color, etc.

Features
- Alter fade in and fade out speed;
- Alter the window width;
- Alter the window color;
- Alter the window position.

Screenshots

Spoiler
jfqXZJl.png


rs6GgcU.png


How to Use

Paste the code below Materials but above Main.
Adjust the configurations at line 16 as you see fitting.

Script

Spoiler: Code
Code:
#===============================================================================
# Gremory Map Name Manager
#-------------------------------------------------------------------------------
# Author: MateusDxD
# Version: 1.3
# Source: https://centrorpg.com/index.php?topic=21713.msg157561
#-------------------------------------------------------------------------------
# This script allows you to better configure the Map Exhibition Window
#-------------------------------------------------------------------------------
# Final thanks to Enterbrain, for the Windows_MapName class
# Centro RPG Maker, where I provided the script
# Script is free for use with as long credit is properly given :)
#===============================================================================
class Window_MapName < Window_Base
#===============================================================================
# Configuration
#===============================================================================
module Gremory_MapName
 
  # Defines Fade In and Fade Out speed
  FADE = 16  # Higher value, faster appearition. Setting to 0 erases the window
 
  # Defines width
  WIDTH = 240

  # Define background color 1
  BACKGROUND_COLOR1 = Color.new(0, 0, 0, 190) #(red, green, blue, alpha)
 
  # Define background color 2
  BACKGROUND_COLOR2 = Color.new(0, 0, 0, 0) #(red, green, blue, alpha)
 
  # Define X position (Horizontal)
  X = 0
 
  # Defines Y position (Vertical)
  Y = 0

end
#===============================================================================
  #-----------------------------------------------------------------------------
  # * Update Fade In
  #-----------------------------------------------------------------------------
  def update_fadein
    self.contents_opacity += Gremory_MapName::FADE
  end
  #-----------------------------------------------------------------------------
  # * Update Fade Out
  #-----------------------------------------------------------------------------
  def update_fadeout
    self.contents_opacity -= Gremory_MapName::FADE
  end
  #-----------------------------------------------------------------------------
  # * Update window width
  #-----------------------------------------------------------------------------
  def window_width
    return Gremory_MapName::WIDTH
  end
  #-----------------------------------------------------------------------------
  # * Acquisition of background color 2
  #-----------------------------------------------------------------------------
  def back_color1
    Gremory_MapName::BACKGROUND_COLOR1
  end
  #-----------------------------------------------------------------------------
  # * Acquisition of background color 2
  #-----------------------------------------------------------------------------
  def back_color2
    Gremory_MapName::BACKGROUND_COLOR2
  end
  #-----------------------------------------------------------------------------
  # * Position
  #-----------------------------------------------------------------------------
  def initialize
    super(Gremory_MapName::X, Gremory_MapName::Y, window_width, fitting_height(1))
    self.opacity = 0
    self.contents_opacity = 0
    @show_count = 0
    refresh
  end
end

Credit and Thanks
- MatheusDxD for creation of the script
- Enterbrain for class Window_MapName
- Centro RPG Maker for original post of the script
- Raizen for helping in compatibility

Author's Notes
Usage is for free commercially and non-commercially as long as you credit the author (MatheusDxD).
It might help if you edited the usage line to state explicitly if this can or cannot be used in a commercial game, otherwise you are likely to be repeatedly asked.
It might help if you edited the usage line to state explicitly if this can or cannot be used in a commercial game, otherwise you are likely to be repeatedly asked.

The only thing the author said was that, so I suppose that it is free both commercially and non-commercially.
I'll edit it and keep an eye in any modifications in the terms

Original thread: https://forums.rpgmakerweb.com/threads/gremory-map-name-manager.108357/