aldrinbulajr 0 Report post Posted June 14, 2013 (edited) i dont know if can call it advanced lol but i edited a gold hud script i changed the "G" to an icon SCREENSHOT: just add an icon named "gold" to the graphics/icons here is an example: http://i.imgur.com/hl1eGNz.png here is the script: (if any problems persist, please just reply i'll try to fix it even thou i'm not a script builder) module Gold_Window # Window's horizontal position WINDOW_X = 0 # Window's vertical position WINDOW_Y = 420 # Window's width WINDOW_WIDTH = 160 # Window's height WINDOW_HEIGHT = 64 # Default hide status of the window (true = hidden, false = visible) DEFAULT_HIDE = false @hide = DEFAULT_HIDE def self.hidden? return @hide end def self.hide @hide = !@hide end end #============================================================================== # ** Window_Gold_HUD #------------------------------------------------------------------------------ # This window displays amount of gold. #============================================================================== class Window_Gold_HUD < Window_Base #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize super(0, 0, 160, 64) self.contents = Bitmap.new(width - 32, height - 32) refresh end #-------------------------------------------------------------------------- # * Gold graphic #-------------------------------------------------------------------------- def draw_gold_pic(actor, x, y) bitmap = RPG::Cache.picture("gold") sw = bitmap.width sh = bitmap.height src_rect = Rect.new(0, 0, sw, sh) self.contents.blt(x, y, bitmap, src_rect) end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh if @old_gold != $game_party.gold || @old_hide != Gold_Window.hidden? self.contents.clear self.opacity = Gold_Window.hidden? ? 0 : 150 @text_opacity = Gold_Window.hidden? ? 0 : 255 cx = contents.text_size($data_system.words.gold).width draw_gold_pic(@actor, 112, 10) self.contents.draw_text(4, 0, 120-cx-2, 32, $game_party.gold.to_s, 2) @old_gold = $game_party.gold @old_hide = Gold_Window.hidden? end end end #============================================================================== # ** Scene_Map #------------------------------------------------------------------------------ # This class performs map screen processing. #============================================================================== class Scene_Map #-------------------------------------------------------------------------- # * Main Processing #-------------------------------------------------------------------------- alias gold_hud_main main def main @gold_window = Window_Gold_HUD.new gold_hud_main @gold_window.dispose end #-------------------------------------------------------------------------- # * Frame Update #-------------------------------------------------------------------------- alias gold_hud_update update def update @gold_window.refresh gold_hud_update end end Edited June 14, 2013 by aldrinbulajr Share this post Link to post Share on other sites
dolarmak 23 Report post Posted June 14, 2013 You just took what i made in http://www.gdunlimited.net/scripts/rpg-maker-xp/misc-system/gold-display-image and added it to some one's gold hud. And don't say you didn't because i can tell, you used the same faulty positioning i put in script when i used a crappy image. Besides that this won't even work in the menu or shop menu unlike the one I posted that replaces Gold_Window. This script only puts the hud on the main screen. Next time put credits for people's work you take or modify. Who made the hud? Share this post Link to post Share on other sites
Marked 197 Report post Posted June 14, 2013 @dolar: you should review your license on the script. You may need to specify credit is required for that particular license: http://creativecommons.org/licenses/by/3.0/ Share this post Link to post Share on other sites
dolarmak 23 Report post Posted June 14, 2013 I didn't say he couldn't do it I just said he should give credit to the people who he took the stuff from instead of claiming it as his own. Share this post Link to post Share on other sites
aldrinbulajr 0 Report post Posted June 15, 2013 oh sorry. I don't know who made the hud, a friend game me that script , im really sorry. I don't know how to add credits on scripts Share this post Link to post Share on other sites
dolarmak 23 Report post Posted June 15, 2013 by credits i mean acknowledgement of who did what. Just a line at the top of your post saying the hud was made by so and so, and part of the code was taken from so and so's script. Share this post Link to post Share on other sites
Marked 197 Report post Posted June 15, 2013 Usually you chuck it in the script too. Obviously someone didn't do that which is why we don't know the original author. Although it does seem trivial to me being a pretty minor script. Share this post Link to post Share on other sites