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
48
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
707
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,463
Reaction score
14,816
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

It's almost 3 month and this piece of drawing is still not finished yet.
aaaa.jpg

Really busy with other stuffs like commission and coping with personal problem.
Stella & Elyune, maybe used for promotional art if my game project finished one day.
My ex put my heart upon a self he said don't give me no lines and keep my hands to myself :,(
An Old... old Harold | RPG Maker News #71

Did a test on myself and I was negative on COVID. I was sitting near my aunt the whole time while doing stuff.

Forum statistics

Threads
112,243
Messages
1,066,802
Members
145,855
Latest member
Anvi
Top