Author Topic: Simple Battle HUD  (Read 4335 times)

0 Members and 1 Guest are viewing this topic.
Dark Gaia Male
**
Rep: +1/-1
Offline Offline
Level 58 (65%)
The Guardian Dragon
Simple Battle HUD
« on: January 13, 2010, 07:31:15 AM »

  • Easy Battle HUD
    An RPG Maker VX script written by Dark Gaia


    Introduction
    Sick of seeing the same old boring battle status window in your game? Want something a bit different to the same old list with just your party's names and HP bars? That looks a bit dry, doesn't it?
    This simple plug and play script will change that for you, by swapping over your battle status window for a nice looking HUD complete with facesets!
    Plus, there's no need to make your own HUD image!

    The reason I made this script is simple; I wanted to use EvenAngel's HUD script in my game but lacked the graphical skills to make a HUD image for it, so I decided to make my own HUD script which uses the normal battle window instead of a custom image.

    Features
    This script has a few notable features:

    ? Simple to use for newbies. Just paste it in and you're done!
    ? Includes customisable fonts, which are very easy to set up.
    ? Compatible with most popular battle systems, including the default battle system and the Tankentai SBS.
    ? Designed to be compatible with most other battle add ons.
    ? Displays status condition icons, unlike other HUDs.

    Screenshot


    Instructions
    Simply paste the script under Materials and above Main. Place it under any custom battle systems you have installed.
    Then, just set up the font and font size in the first section of the script (if you use custom fonts) and you're done!

    Credit me if this is used. Free for use in commercial projects!

    Compatibility
    This script is designed to work with most popular battle systems and battle addons. The scripts however it won't work with are listed:

    ? Tankentai ATB (Only turn based variety is supported)
    ? Overdrive/Limit Break systems (unless the gauge is turned off in battle)
    ? Scripts which alter the Battle Status window itself.
    ? EvenAngel's Battle HUD script.

    Script

    Code: [Select]
    #----------------------------------------------------------------------------
    # Easy Battle HUD v1.3 (for RPG Maker VX *only*)
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    # Scripted by Dark Gaia (www.darkgaia@live.com.au)
    # Based in part upon EvenAngel's Battle HUD
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    # Insert this script under Materials and above Main. This script is compatible
    # with any other script that doesn't modify the Battle Status window.
    # **Not to be used with Tankentai ABS battle system**
    # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    # Credit if used. Free for use in commercial projects.
    #----------------------------------------------------------------------------

      #--------------------------------------------------------------------------
      # ? Set Up Battle HUD
      #--------------------------------------------------------------------------
    # You can customise aspects of your battle HUD here.

    FONT_SIZE = 20 # Size of the font in the battle window.
    STATUS_FONT = ["Verdana"] #Name of the font used in the battle window.

    # End of customisation section.

    class Window_BattleStatus
      #--------------------------------------------------------------------------
      # ? Initialize
      #--------------------------------------------------------------------------
      def initialize
        super(0, 0, 416, 128)
        @column_max = 4
        refresh
        self.active = false
        self.opacity = 255
       
       def update_cursor             
        self.cursor_rect.empty
      end

      end
      #--------------------------------------------------------------------------
      # ? Window_BattleStatus
      #--------------------------------------------------------------------------
      def draw_item(index)
        x = index * 96
        rect = Rect.new(x, 0, 96, 96)
        self.contents.clear_rect(rect)
        self.contents.font.color = normal_color
        actor = $game_party.members[index]
       
        draw_actor_face(actor, x + 1, -9, 74)
        draw_actor_state(actor, x + 72, WLH * 3)
        self.contents.font.color = hp_color(actor)
        self.contents.font.name = STATUS_FONT
        self.contents.font.size = FONT_SIZE
        draw_actor_hp(actor, x + 2, WLH * 2, 80)
        draw_actor_mp(actor, x + 2, WLH * 3, 70)
       
      end
    end
    [/size]
    "Generatin' projects cause you want em!!!"

    My Projects! Click to visit project thread![/u]
    *Complete*
    *v3.3 Available*
    *Complete*
    Drakusatheon Male
    **
    Rep: +1/-1
    Offline Offline
    Level 52 (89%)
    Dreamers often lie.
    Re: Simple Battle HUD
    « Reply #1 on: January 13, 2010, 01:15:45 PM »

  • I like it. Reminds me of a HUD from the Tales series. I'll have to try it out!  :D
    modern algebra Male
    *
    Rep: +336/-113
    Online Online
    Level 79 (49%)
    Re: Simple Battle HUD
    « Reply #2 on: January 13, 2010, 02:07:30 PM »

  • Looks very pretty. Nice job Dark Gaia


    Dark Gaia Male
    **
    Rep: +1/-1
    Offline Offline
    Level 58 (65%)
    The Guardian Dragon
    Re: Simple Battle HUD
    « Reply #3 on: January 13, 2010, 11:19:56 PM »

  • Thanks!

    I may do more to it though; I'd like to add a feature eventually that allows users to use custom char images instead of facesets and some compatibility for Tankentai ABS is on the cards too.
    "Generatin' projects cause you want em!!!"

    My Projects! Click to visit project thread![/u]
    *Complete*
    *v3.3 Available*
    *Complete*
    hikick10 Male
    **
    Rep: +0/-0
    Offline Offline
    Level 50 (39%)
    You will die with honor...
    Re: Simple Battle HUD
    « Reply #4 on: June 27, 2010, 05:05:12 PM »

  • What is the Things icon in the battle menu for?
    Mara Male
    **
    Rep: +0/-30
    Offline Offline
    Level 20 (47%)
    I love minus rep! :D
    Re: Simple Battle HUD
    « Reply #5 on: July 06, 2010, 01:27:47 AM »

  • I do not understand how to change its colur?

    And on ur screenshot u have small pics, at the attack options and so. how do you do this?? ;D Like ur hud


    Ps nice script
    hikomarukun Male
    **
    Rep: +0/-0
    Offline Offline
    Level 10 (86%)
    Hello everyone ^_^
    Re: Simple Battle HUD
    « Reply #6 on: August 28, 2010, 11:17:46 AM »

  • I know it's been almost 2 months since there's been a post, so this is cutting it close to necroing... So I'm sorry, but about the icons next to the attack, skill, block, and item commands - how did you put icons next to them? Is this a separate script I assume?
    RPG Maker ^_^
     

    hi

    RMRK.net Theme Super Ultra Mega Beta

    Follow RMRK on Twitter Ask RMRK Questions on Formspring Get RMRK Updates via Windows Live

    Page created in 0.642 seconds with 19 queries.