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,452
Reaction score
14,815
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 Posts

Latest Profile Posts

image_2021-06-13_213812.png

Todays Lesson: Tiles are a pain to make xD
The game is not even 2% complete, but i just wanted to release something for funsies. :)
It's on my google drive.
It would be awesome if i could get a couple ideas and the like!
So yesterday Dad took me to Volcano Bay, and it was almost ruined by a thunderstorm... then it passed by and the lightning warning got lifted, leading to an awesome time sliding and swimming. Hopefully we get to go to the arcade tonight. The one we're planning on has a restaurant built in with AWESOME food. Not to mention how big the arcade itself is!
image_2021-06-13_150033.png

Maybe I'll actually try making a retro pack. Already have the shark fin made so why not xD
Hey everyone, for everybody following along with my RPG Maker MZ streams: There will unfortunately not be a stream tonight. There is a big exciting event that will go live next week that has been taking all my time, so look forward to that!

Forum statistics

Threads
112,196
Messages
1,066,518
Members
145,805
Latest member
Amber22
Top