Status
Not open for further replies.

TheHeroAaron

Villager
Member
Joined
Dec 25, 2017
Messages
15
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Hello for VX Ace, I was wondering if anyone knows how I could have my map names to be displayed in the CENTER TOP of my screen to be permanently there?

So basically like a static map display to ALWAYS SHOW the map name i'm currently at
 
Last edited:

Artille

Veteran
Veteran
Joined
Jul 23, 2012
Messages
47
Reaction score
33
First Language
French
Primarily Uses
RMMZ
I'm not familiar with VX Ace, but you could simply use an image and show it for as long as you want at the position you want?
 

TheHeroAaron

Villager
Member
Joined
Dec 25, 2017
Messages
15
Reaction score
1
First Language
English
Primarily Uses
RMVXA
I'm not familiar with VX Ace, but you could simply use an image and show it for as long as you want at the position you want?
Hmmm oh yeah, that can work too. I suppose I could make a bunch of text and event them out with images. I have a lot of maps though, I'd rather prefer a script or script edit to the main game source.

Edit; I was able to find out that I could remove some lines and add a few to:
class Window_MapName
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,132
Reaction score
706
First Language
English
Primarily Uses
RMVXA
to ALWAYS SHOW the map name i'm currently at
Try this
Ruby:
class Window_MapName < Window_Base
  def initialize
    super((Graphics.width / 2) - (window_width / 2), 0, window_width, fitting_height(1))
    self.opacity = 0
    self.contents_opacity = 0
    @show_count = 0
    refresh
  end
  def update
    super
    if $game_map.name_display
      update_fadein
    else
      update_fadeout
    end
  end
end
class Scene_Map < Scene_Base
  def update
    super
    $game_map.update(true)
    $game_player.update
    $game_timer.update
    @spriteset.update
    update_scene if scene_change_ok?
    @map_name_window.open if @map_name_window.close? && SceneManager.scene_is?(Scene_Map)
  end
end
 

TheHeroAaron

Villager
Member
Joined
Dec 25, 2017
Messages
15
Reaction score
1
First Language
English
Primarily Uses
RMVXA
@Roninator2 Much better, thank you so much! That's exactly what I wanted, it displays the map id everywhere I go and changes. 100% working ty :p
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,447
Reaction score
14,813
First Language
English
Primarily Uses
RMMV

I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.



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.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

Add Film-like Visual Effects During Test-Play, Deploy Games with Electron | RPG Maker News #69

brain broken as soon as i figure out whats wrong with my game im taking a long nap
Hey guys anyone is interested in playing my game? Just PM me and I'll give you a Steam key! Here's my latest video! ->
cst.PNG
What would you assume this thing was/is?
1623528827049.png
Ah yes. Just the reference I was looking for to use for my portrait. Thanks Google.

Forum statistics

Threads
112,182
Messages
1,066,412
Members
145,775
Latest member
Nyakiryu
Top