Help - Search - Members - Calendar
Full Version: Animated Enemy Battlers
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
oldmangreg
I was looking for a script to animate enemy battlers for RPG VX but I haven't found one yet. Does anyone know of one?
Atsavin
this is what you mean?
CODE
#==============================================================================
# ■ Enemy Animated Battlers for RPG Tankentai Sideview Battle System
#     5.10.2008
#------------------------------------------------------------------------------
#  Script by: Kylock
#==============================================================================
#   Easy to implement interface to specify animated battlers for enemies.  Note
# enemy batters must be formatted THE SAME as your character battlers.  Also,
# you must have 2 copies of your enemy battler:
#   <game folder>\Graphics\Battlers\$<enemy name>.png
#   <game folder>\Graphics\Characters\$<enemy name>_1.png
#   When you set up your "troops" for the encounter, you may need to tweak the
# positioning of the enemy as the sprites look funny and the actual placement
# may be slightly off.  A few battle tests should be sufficient.
#==============================================================================

module K_ENEMY_BATTLERS
  ENEMY_ID = [] # list of enemies with batter sprites(ex. [1,24])
end

class Game_Enemy < Game_Battler
  alias keb_anime_on anime_on
  def anime_on
    for x in K_ENEMY_BATTLERS::ENEMY_ID
      return true if @enemy_id == x
    end
    keb_anime_on
  end
  alias keb_action_mirror action_mirror
  def action_mirror
    for x in K_ENEMY_BATTLERS::ENEMY_ID
      return true if @enemy_id == x
    end
    keb_action_mirror
  end
  alias keb_position_plus position_plus
  def position_plus
    for x in K_ENEMY_BATTLERS::ENEMY_ID
      return [0,0] if @enemy_id == x
    end
    keb_position_plus
  end
end


that is for tankentai sbs
click here for more info
oldmangreg
Too late I found it already. Thanks anyways.
cvixy
QUOTE (Atsavin @ Feb 24 2010, 11:07 PM) *
this is what you mean?
CODE
#==============================================================================
# ■ Enemy Animated Battlers for RPG Tankentai Sideview Battle System
#     5.10.2008
#------------------------------------------------------------------------------
#  Script by: Kylock
#==============================================================================
#   Easy to implement interface to specify animated battlers for enemies.  Note
# enemy batters must be formatted THE SAME as your character battlers.  Also,
# you must have 2 copies of your enemy battler:
#   <game folder>\Graphics\Battlers\$<enemy name>.png
#   <game folder>\Graphics\Characters\$<enemy name>_1.png
#   When you set up your "troops" for the encounter, you may need to tweak the
# positioning of the enemy as the sprites look funny and the actual placement
# may be slightly off.  A few battle tests should be sufficient.
#==============================================================================

module K_ENEMY_BATTLERS
  ENEMY_ID = [] # list of enemies with batter sprites(ex. [1,24])
end

class Game_Enemy < Game_Battler
  alias keb_anime_on anime_on
  def anime_on
    for x in K_ENEMY_BATTLERS::ENEMY_ID
      return true if @enemy_id == x
    end
    keb_anime_on
  end
  alias keb_action_mirror action_mirror
  def action_mirror
    for x in K_ENEMY_BATTLERS::ENEMY_ID
      return true if @enemy_id == x
    end
    keb_action_mirror
  end
  alias keb_position_plus position_plus
  def position_plus
    for x in K_ENEMY_BATTLERS::ENEMY_ID
      return [0,0] if @enemy_id == x
    end
    keb_position_plus
  end
end


that is for tankentai sbs
click here for more info

Script "game_battler" line ????: SyntaxError occurred...help plz
Omegas7
[Show/Hide] Spoiler

QUOTE (cvixy @ Mar 12 2010, 11:22 AM) *
QUOTE (Atsavin @ Feb 24 2010, 11:07 PM) *
this is what you mean?
CODE
#==============================================================================
# ■ Enemy Animated Battlers for RPG Tankentai Sideview Battle System
#     5.10.2008
#------------------------------------------------------------------------------
#  Script by: Kylock
#==============================================================================
#   Easy to implement interface to specify animated battlers for enemies.  Note
# enemy batters must be formatted THE SAME as your character battlers.  Also,
# you must have 2 copies of your enemy battler:
#   <game folder>\Graphics\Battlers\$<enemy name>.png
#   <game folder>\Graphics\Characters\$<enemy name>_1.png
#   When you set up your "troops" for the encounter, you may need to tweak the
# positioning of the enemy as the sprites look funny and the actual placement
# may be slightly off.  A few battle tests should be sufficient.
#==============================================================================

module K_ENEMY_BATTLERS
  ENEMY_ID = [] # list of enemies with batter sprites(ex. [1,24])
end

class Game_Enemy < Game_Battler
  alias keb_anime_on anime_on
  def anime_on
    for x in K_ENEMY_BATTLERS::ENEMY_ID
      return true if @enemy_id == x
    end
    keb_anime_on
  end
  alias keb_action_mirror action_mirror
  def action_mirror
    for x in K_ENEMY_BATTLERS::ENEMY_ID
      return true if @enemy_id == x
    end
    keb_action_mirror
  end
  alias keb_position_plus position_plus
  def position_plus
    for x in K_ENEMY_BATTLERS::ENEMY_ID
      return [0,0] if @enemy_id == x
    end
    keb_position_plus
  end
end


that is for tankentai sbs
click here for more info

Script "game_battler" line ????: SyntaxError occurred...help plz


How come the line is ???? ?
Anyway, this script won't work unless you do use Tankentai SBS whatever. What battle system do you use?
oldmangreg
@cvixy You are a little late as stated in a comment above.

@Omegas7 Are you talking to me or the other guy? Because this problem was solved a month ago.


This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.