roninator2 257 Posted February 24, 2021 KMS Gauge addon for Xail Menu Delux 1.0 by Roninator2 Introduction An addon to make the Xail Menu Delux work with KMS Generic Gauge Features - Plug & play How to Use Put below KMS Generic Gauge and Xail Menu Delux Images Spoiler Script Spoiler #============================================================================== # Compatibility Patch : v1.0 (05/10/20) # XaiL System - Menu Delux + KMS Generic Gauge #============================================================================== # Script by: # Mr. Bubble - recreated by Roninator2 #-------------------------------------------------------------------------- # Place this script below both XaiL System - Menu Delux and KMS Generic Gauge # in your script edtior. # #============================================================================== $imported ||= {} $kms_imported ||= {} if $imported["XAIL-XS-MENU_DELUX"] && $kms_imported["GenericGauge"] class Window_MenuStatus < Window_Selectable def draw_menu_stats(actor, stat, x, y, color1, color2, width) # // Method to draw actor hp & mp. case stat when :hp rate = actor.hp_rate ; vocab = Vocab::hp_a ; values = [actor.hp, actor.mhp] # // Draw guage. draw_actor_hp_gauge(actor, x, y - 4, width = 100) when :mp rate = actor.mp_rate ; vocab = Vocab::mp_a ; values = [actor.mp, actor.mmp] # // Draw guage. draw_actor_mp_gauge(actor, x, y - 4, width = 100) when :tp rate = actor.tp_rate ; vocab = Vocab::tp_a ; values = [actor.tp, actor.max_tp] # // Draw guage. draw_actor_tp_gauge(actor, x, y - 4, width = 100) end contents.font.name = XAIL::MENU_DELUX::FONT[0] contents.font.size = 14 # // Override font size. contents.font.color = XAIL::MENU_DELUX::FONT[2] contents.font.bold = XAIL::MENU_DELUX::FONT[3] contents.font.shadow = XAIL::MENU_DELUX::FONT[4] # // Draw stats. draw_text(x + 2, y, width, line_height, values[0], 0) draw_text(x + 1, y, width, line_height, values[1], 2) # // Draw vocab. draw_text(x, y, width, line_height, vocab, 1) if XAIL::MENU_DELUX::BAR_VOCAB reset_font_settings end end end # if $imported Credit and Thanks - Mr Bubble - Roninator2 Terms of use Follow original authors terms Share this post Link to post Share on other sites