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.

Minkoffs Animated Battle System - Noob Question but its really bugging me >.<

Devro

Member

http://img254.imageshack.us/img254/6972 ... rorkj1.jpg[/img]

As you can see i have a problem with one of the battlers and i have a good idea why but dont know hwo to change it. Basically this is copied straight from his demo and in the demo i believe that character is meant to be using a plain characterset but i cant find where in his script i would change it or what it looks like :( Ive tried lots of different things now and its really annoying me so any assistance will be greatly appreciated.

While on the subject does anyone know how i would go about putting some facesets behind the character information at the bottom? You know to make it look a little nicer? Ive also seen people use proper status pictures instead of text is this a mod readilly available within the community or is this something im gonna have to work out for myself?

Thanks in advance guys

EDIT: Damn im really sorry but i have put this in the wrong section like a nub >.<
 

Devro

Member

Hmm sorry but i dont think your quite getting what i mean. What i want is a mod for the battle system to display an image of the character in questions face :P so like underneath the text where the characters HP, SP is displayed id like to show an image of them. If im the one misunderstanding then im sorry XD but i think your just talking about showing faces in game while using the Message event.
 
I'm not familiar with Minkoff's animated battle stuff, but it appears that Window_BattleStatus isn't changed.

Try this code, it might work.

Code:
#===============================================================================
# * Window_Base
#===============================================================================
class Window_Base < Window
  #------------------
  # * Draw Actor Face
  #------------------
  def draw_actor_face(actor, x, y)
    bitmap = RPG::Cache.pictures(actor.character_name, actor.character_hue)
    fw = bitmap.width / 4
    fh = bitmap.height / 4
    src_rect = Rect.new(0, 0, cw, ch)
    self.contents.blt(x - cw / 2, y - ch, bitmap, src_rect)
  end
end
#===============================================================================
# * Window_BattleStatus
#===============================================================================
class Window_BattleStatus
  alias_method :minkoff_window_battlestatus_refresh, :refresh
  #---------------------------
  # * Refresh Method (Aliased)
  #---------------------------
  def refresh
    minkoff_window_battlestatus_refresh
    for i in 0..$game_party.size
      draw_actor_face(actor, actor_x, 0, 120)
    end
  end
end

I didn't test it but tell me if it works. The script will probably assume that the face graphic name is in the Graphics\Pictures folder and is named the same as the character graphic.
 

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