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
39
Reaction score
29
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,067
Reaction score
687
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,216
Reaction score
14,684
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

I realized that I don't talk about my game's plot too much. not that I'm hiding stuff, I just don't know what I should tell people in general that would be important. I know more so what plot points NOT to tell.
Have any of you read Sutter Kane?
jaynightwolf wrote on GalacticGod's profile.
hello GALACTICGOD I loved your characters especially the super heroes, I am new to this rpg program and I would like to know if you have more characters from DC comics, be they villains or heroes
My winter pack is now free on itch.io!
Writing music for Utara Forest, a location in All the King's Men. Nothing evokes a mysterious, dreamy sound like solo clarinet and modulation!

Forum statistics

Threads
111,470
Messages
1,061,343
Members
144,846
Latest member
mellissap
Top