Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Mr.Mo's HUD

In my game I am using Mr. Mo's HUD, that shows the name of the map you are on in the minimap. But I don't want that people can see that, so how can I delete that?
 

exec

Member

T0tal king;218065 said:
In my game I am using Mr. Mo's HUD, that shows the name of the map you are on in the minimap. But I don't want that people can see that, so how can I delete that?
Search and replace this:
Code:
      #Show Map Name
      map_infos = load_data("Data/MapInfos.rxdata")
      name = map_infos[$game_map.map_id].name.to_s
      self.contents.draw_text(520, 455, 400, 32, name.to_s)
with this:
Code:
      #Show Map Name
      #map_infos = load_data("Data/MapInfos.rxdata")
      #name = map_infos[$game_map.map_id].name.to_s
      #self.contents.draw_text(520, 455, 400, 32, name.to_s)
-------------------
Darkus;218090 said:
It'd be nice to know that, and how to disable the time played part.
It conflicts with another script im using.
Search and replace this:
Code:
    @time = game_time
    @time = $kts.time.to_s if $kts != nil
with this:
Code:
    #@time = game_time
    #@time = $kts.time.to_s if $kts != nil
Search and replace this:
Code:
    bitmap = RPG::Cache.picture("HUD Time Display")
    self.contents.blt(553.5, 338.5, bitmap, Rect.new(0, 0, 175, 175))
with this:
Code:
    #bitmap = RPG::Cache.picture("HUD Time Display")
    #self.contents.blt(553.5, 338.5, bitmap, Rect.new(0, 0, 175, 175))
Search and replace this:
Code:
    #Show Clock
    self.contents.font.color = system_color
    self.contents.font.color = normal_color
    self.contents.font.size = 14
    self.contents.draw_text(570, 270, 175, 175, @time.to_s)
with this:
Code:
    #Show Clock
    #self.contents.font.color = system_color
    #self.contents.font.color = normal_color
    #self.contents.font.size = 14
    #self.contents.draw_text(570, 270, 175, 175, @time.to_s)

Alternative you can simply delete the lines, if you are sure you don't need them anymore.
 
Thanks alot Exec. I'm horrible with modifying the scripts (unless clear and specific instructions are left with them. :P)
So I would've never figured those out. Thanks again.
 
exec;218709 said:
Search and replace this:
Code:
      #Show Map Name
      map_infos = load_data("Data/MapInfos.rxdata")
      name = map_infos[$game_map.map_id].name.to_s
      self.contents.draw_text(520, 455, 400, 32, name.to_s)
with this:
Code:
      #Show Map Name
      #map_infos = load_data("Data/MapInfos.rxdata")
      #name = map_infos[$game_map.map_id].name.to_s
      #self.contents.draw_text(520, 455, 400, 32, name.to_s)
-------------------

Search and replace this:
Code:
    @time = game_time
    @time = $kts.time.to_s if $kts != nil
with this:
Code:
    #@time = game_time
    #@time = $kts.time.to_s if $kts != nil
Search and replace this:
Code:
    bitmap = RPG::Cache.picture("HUD Time Display")
    self.contents.blt(553.5, 338.5, bitmap, Rect.new(0, 0, 175, 175))
with this:
Code:
    #bitmap = RPG::Cache.picture("HUD Time Display")
    #self.contents.blt(553.5, 338.5, bitmap, Rect.new(0, 0, 175, 175))
Search and replace this:
Code:
    #Show Clock
    self.contents.font.color = system_color
    self.contents.font.color = normal_color
    self.contents.font.size = 14
    self.contents.draw_text(570, 270, 175, 175, @time.to_s)
with this:
Code:
    #Show Clock
    #self.contents.font.color = system_color
    #self.contents.font.color = normal_color
    #self.contents.font.size = 14
    #self.contents.draw_text(570, 270, 175, 175, @time.to_s)

Alternative you can simply delete the lines, if you are sure you don't need them anymore.

Thanks, must work. I am using his ABS EvE.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top