设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 75|回复: 0

[转载发布] AnimBat! - Animated Battlers - Comprehensive

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    前天 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    4469

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    22945
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    28308

    灌水之王

    发表于 5 天前 | 显示全部楼层 |阅读模式




    Animated Battlers - Comprehensive
    Version 1.2

    Title graphics by Lunarberry
    http://www.lunarberrystudio.com




    Introduction
    This script adapts front-view battle systems (like the default battle system, or the RTAB system), and turns it into a side-view battle system.  Battlers can bob and weave while  waiting to attack, charge forward to attack, and strike a victory pose when they win.




    Screenshots



    Aluxes, Gloria and Ghost battlers courtesy of Green Raven.  Artist for Felix battler is unknown.





    Script
    Broken up into 7 pages.
    Credits
    Configuration - Basic Settings
    Configuration - Pose Control
    Configuration - Movement and Frames
    Engine - Game Classes
    Engine - Sprite Systems
    Engine - Battle Engine




    Demos
    Spoiler: Kept Here
    By battlesystem title (except the default system)
    *Battlers by Green Raven and various artists

    AnimBat! (the default battlesystem)
    *   Battlesystem by Yoji Ojima & Enterbrain
    AnimBat! Holder Edition (the default battlesystem)
    *   Battlesystem by Yoji Ojima & Enterbrain - But with Holder's 13-pose battlers
    The Action Cost CBS
    *   Battlesystem by Fomar0153
    The Active Timer Battle System
    *   Battlesystem by Trickster
    Agility Based Battle System
    *   Battlesystem by Syvkal (an XRXS edit)
    Conditional Turns/Timer System
    *   Battlesystem by Trickster
    Individual Turns Battle System
    *   Battlesystem by Trickster
    MakirouAru's ATB
    *   Battlesystem by Makirou Aku
    ParaDog's CTB v2.58
    *   Battlesystem by ParaDog
    RTAB with Extras
    *   Battlesystem by Cogwheel
    The Soul Rage System
    *   Battlesystem by Blizzard
    Speed Based Battle System
    *   Battlesystem by Trickster
    TRTAB - Trickster's RTAB
    *   Battlesystem by Trickster
    XRXS's #65 System
    *   Battlesystem by XRXS (Cherry Tree Elegance Resident in Earth)

    Original Demo(with the old 10-pose system)
    The earliest version by Minkoff (w/ RTAB) that I know


    With the Battle Animations 'Flip' system
    Another system that literally 'flips' the battle animations horizontally and/or vertically.


    Using Charlie Fleed's CTB Final Fantasy X-Like Battle System v 3.3 (formerly 3.2)
    Link to Charlie Fleed's original "Final Fantasy X-like Battle System" topic
    Revision to his system made solely for the newer AnimBat! system.  Everything else is the same



    Instructions
    Please refer to the following manual (in .chm help format) now available for download.
    >Help File Manual<
    If you are having problems reading the help file (the AnimBat.chm), follow these steps...

    1. Right-Click the AnimBat.chm
    2. Select Properties
    3. Click the Unblock button at the bottom of the Properties dialog (above the OK and Cancel buttons)
    4. You should now be able to read the CHM file.





    Pre-Rendered Configs
    The demo and the scripts above show how to generate a system that uses multiple types of spritesheets and RTP battlers.  Below are two  configuration files you may wish to use in it's place.
    Minkoff Configuration ... the typical Minkoff system without any extra.
    Cybersam Configuration ... a configuration system for Cybersam's 7-pose system.
    Charset Configuration ... a configuration system to use Charactersets for battlers.
    Holder Configuration ... a 13-pose system designed by Holder.
    RM2K3 Styled Configuration ... based on RPGMaker 2003's style, but after formed into a single 1-row sheet.
    RMMV Styled Configuration ... based on RPGMaker MV's style, but after formed into a single 1-row sheet.



    The Formation System
    Removed from Animated Battlers is the formation system.  A new one (roughly similar in nature to Claihm's system) is available below if you want to make custom battle formations.
    Spoiler: Formation System
                    Code:       
    #==============================================================================# ** AnimBat Add-On:#    Animated Battler Formations#------------------------------------------------------------------------------#    by DerVVulfman#    version 1.0#    11-22-2018 (MM-DD-YYYY)#    RGSS / RPGMaker XP#==============================================================================##  INTRODUCTION:##  It has been a  long time coming  in that I  wanted to  replace the  built-in#  formation system I hardwired into  "Minkoff's Animated Battlers - Enhanced",#  and finally that time has arrived.  While the base system now has the origi-#  ginal single formation,  it is by  this system  the end user  can design the#  battle formations  for the actor battlers.   They will start out  and remain#  lined up in the order the end user sets up.##  The system recognizes the  'Mirror Effect'  system  in Animated Battlers XP,#  and will adjust and reverse the battler positions accordingly.  You need not#  worry about  creating duplicate  formation entries  for both left  and right#  sided formations.##------------------------------------------------------------------------------##  CREATING THE FORMATIONS:##  This system allows you to create multiple formations.   This is accomplished#  by the way you use the 'ABATXP_FORMATION' array.  The syntax is as follows:##  ABATXP_FORMATION = { id => [ formation set ], id => [formation set],... }##  So...  with that,  you can make  multiple sets  of formations  which you can#  switch to while the game is running..##  Now...  each formation set holds the x and y position for each actor battler#  in combat.  Not by their 'Actor ID' mind you,  merely by party member order.#  So the first member in your party,regardless of their position in your actor#  database, will be first battler position defined in the formation set.  The#  layout for each formation set is as follows:##             [ [Battler 1's X & Y], [Battler 2's X & Y],... ]##  Most people would set a formation set with allowances for 4 battlers. But if#  you wanted to use a large party script  to increase the number of members in#  your battle party, you can add more than 4 battler arrays like so:##  ...ON = { 0 => [ [350,200], [395,235], [440,270], [485,305], [530,340] ],#            1 => [ [530,200], [485,235], [440,275], [395,305], [350,340] ]  }##------------------------------------------------------------------------------##  SCRIPT CALL:##  There's only one script call you should be familiar with right now, and that#  is the script call that changes the formation you want to use in battle.  By#  default, the system uses the formation set by ID #0.  But you can change the#  formation being used with the following call:###  The call is simple:  $game_system.abatxp_form_id = number##  Where the number is the ID number of your formation.  That's it.###------------------------------------------------------------------------------##  NOTE:##  While designed and intended for use with Animated Battlers VX,  it can be#  used with only the Actor Battler Graphics script to change the basic for-#  mation of  the heroes.   With this,  you can make  a very simple sideview#  system... just not animated.##------------------------------------------------------------------------------##  TERMS AND CONDITIONS:##  Free to use, even in commercial projects.  Just note that I need some form#  of due credit... even a mere mention in some end titles.##==============================================================================module Formation   # --------------------------------------------------------------------------  POSITION = {} # Do Not Touch  # --------------------------------------------------------------------------   #          ID      Battler 1      Battler 2      Battler 3      Battler 4  # ===========      ============   ============   ============   ============    POSITION[0] = [ [450, 200, 0], [495, 235, 0], [540, 270, 0], [585, 305, 0] ]    POSITION[1] = [ [485, 200, 0], [440, 235, 0], [395, 270, 0], [350, 305, 0] ]    POSITION[2] = [ [350, 200, 0], [350, 275, 0], [495, 200, 2], [495, 275 ,2] ] end#==============================================================================# ** Game_System#------------------------------------------------------------------------------#  This class handles system-related data. Also manages vehicles and BGM, etc.# The instance of this class is referenced by $game_system.#==============================================================================class Game_System  #--------------------------------------------------------------------------  # * Alias Listings  #--------------------------------------------------------------------------  alias formations_game_system_initialize initialize  #--------------------------------------------------------------------------  # * Public Instance Variables  #--------------------------------------------------------------------------  attr_accessor :abatxp_form_id           # Formation ID  attr_accessor :abatxp_mirror            # Mirror Effect (used by AnimBatVX)  #--------------------------------------------------------------------------  # * Object Initialization  #--------------------------------------------------------------------------  def initialize    formations_game_system_initialize    @abatxp_form_id = 0                # Initial formation  endend#==============================================================================# ** Game_Actor#------------------------------------------------------------------------------#  This class handles actors. It's used within the Game_Actors class# ($game_actors) and referenced by the Game_Party class ($game_party).#==============================================================================class Game_Actor < Game_Battler  #--------------------------------------------------------------------------  # * Alias Listings  #--------------------------------------------------------------------------  alias formations_game_actor_screen_x screen_x  alias formations_game_actor_screen_y screen_y  #--------------------------------------------------------------------------  # * Actor X Coordinate  #--------------------------------------------------------------------------  def screen_x    # Set a default retieve value    pos_x       = nil    # Obtain which position is in use    position_id = $game_system.abatxp_form_id    # Assign retrieve value if the formation is properly configured    if Formation::POSITION.has_key?(position_id)      pos_x = Formation::POSITION[position_id][self.index][0]    end    # Exit with the original call if the retrieve value is still nil    return formations_game_actor_screen_x if pos_x.nil?    # Exit with the new retrieve value with accommodations for sideview    return ($game_system.sideview_mirror == true) ? (640-pos_x) : pos_x  end  #--------------------------------------------------------------------------  # * Actor Y Coordinate  #--------------------------------------------------------------------------  def screen_y    # Set a default retieve value    pos_y       = nil    # Obtain which position is in use    position_id = $game_system.abatxp_form_id    # Assign retrieve value if the formation is properly configured    if Formation::POSITION.has_key?(position_id)      pos_y = Formation::POSITION[position_id][self.index][1]    end    # Exit with the original call if the retrieve value is still nil    return formations_game_actor_screen_y if pos_y.nil?    # Exit with the new retrieve value    return pos_y  endend#==============================================================================# ** Game_Party#------------------------------------------------------------------------------#  This class handles the party. It includes information on amount of gold#  and items. Refer to "$game_party" for the instance of this class.#==============================================================================class Game_Party  #--------------------------------------------------------------------------  # * Random Selection of Target Actor  #     hp0 : limited to actors with 0 HP  #--------------------------------------------------------------------------  def random_target_actor(hp0 = false)    # Initialize roulette    roulette = []    # Loop    for actor in @actors      # If it fits the conditions      if (not hp0 and actor.exist?) or (hp0 and actor.hp0?)        # Get actor class [position]        position = formations_function_actor_target_position(actor)        # Front guard: n = 4; Mid guard: n = 3; Rear guard: n = 2        n = 4 - position        # Add actor to roulette n times        n.times do          roulette.push(actor)        end      end    end    # Exit nil if roulette size is 0    return nil if roulette.size == 0    # Spin the roulette, choose an actor    return roulette[rand(roulette.size)]  end  #--------------------------------------------------------------------------  # * Random Selection of Target Actor  #     actor : Actor  #--------------------------------------------------------------------------  def formations_function_actor_target_position(actor)    # Get actor position in party    idx         = @actors.index(actor)    # Obtain which position is in use    position_id = $game_system.abatxp_form_id    # Obtain original position based on class    position    = $data_classes[actor.class_id].position    # Reset position if the formation is properly configured    if Formation::POSITION.has_key?(position_id)      position  = Formation::POSITION[position_id][idx][2]    end    # Return with position    return position  endend





    The Window Depth Adjuster
    The battlers in this system tend to draw themselves over the battlesystem's command windows.  This patch can fix this for you.
    Spoiler: Window Depth Adjuster
                    Code:       
    #==============================================================================# ** AnimBat Add-On:#    Window Depth Adjuster#------------------------------------------------------------------------------#    by DerVVulfman#    version 1.0#    11-22-2018 (MM-DD-YYYY)#    RGSS / RPGMaker XP#==============================================================================##  INTRODUCTION:##  This is a simple script addition  that lets the game developer (you) set the#  depth perspective of the battlesystem's windows. Under normal circumstances,#  the Item, Skill, and other windows appear behind the Animated Battlers. This#  add-on patch lets you adjust the depth of the windows as you see fit.##  It's pretty simple.  If you're creating your own battlesystem with this as#  a basis, you can use these simple calls on your own.  ^_^###------------------------------------------------------------------------------##  THANKS:##  To Boomy of House Slashers for pointing out the Skill Window overlap.###------------------------------------------------------------------------------##  TERMS AND CONDITIONS:##  Free to use, even in commercial projects.  Just note that I need some form#  of due credit for both Boomy and myself... even a mere mention in some end#  titles.##==============================================================================module AnimDepth  #==========================================================================  #   ****         C O N F I G U R A T I O N   S E C T I O N         ****   #  #==========================================================================  #  # * Set the window depth here.  Higher numbers are closer to the player  PARTY    = 1000  # Depth of the Party Window (Fight/Escape)  COMMAND  = 1000  # Depth of the Actor Command Window  HELP     = 1000  # Depth of the Help Window  SKILL    = 1000  # Depth of the Skill Window  ITEM     = 1000  # Depth of the Item Window  #==========================================================================  #   ****             C O N F I G U R A T I O N   E N D             ****   #  #==========================================================================end  #==============================================================================# ** Scene_Battle#------------------------------------------------------------------------------#  This class performs battle screen processing.#==============================================================================class Scene_Battle  #--------------------------------------------------------------------------  # * Alias Listings  #--------------------------------------------------------------------------  alias animbat_depth_start_phase2 start_phase2  alias animbat_depth_start_phase3 start_phase3  alias animbat_depth_start_skill_select start_skill_select  alias animbat_depth_start_item_select start_item_select  #--------------------------------------------------------------------------  # * Start Party Command Phase  #--------------------------------------------------------------------------  def start_phase2    # Set Party and Help Window Depths    @party_command_window.z = AnimDepth::PARTY    @help_window.z          = AnimDepth::HELP    # Perform the original call    animbat_depth_start_phase2  end  #--------------------------------------------------------------------------  # * Frame Update (main phase)  #--------------------------------------------------------------------------  def start_phase3    # Set Actor Command Window Depth    @actor_command_window.z = AnimDepth::COMMAND    # Perform the original call    animbat_depth_start_phase3  end  #--------------------------------------------------------------------------  # * Start Skill Selection  #--------------------------------------------------------------------------  def start_skill_select    # Perform the original call    animbat_depth_start_skill_select    # Set Skill Window Depth    @skill_window.z = AnimDepth::SKILL  end  #--------------------------------------------------------------------------  # * Start Item Selection  #--------------------------------------------------------------------------  def start_item_select    # Perform the original call    animbat_depth_start_item_select    # Set Item Window Depth    @item_window.z = AnimDepth::ITEM  endend





    Awards and Badges
    A few awards of note for Animated Battlers
    Spoiler: Honorary Awards for Spritesheet Artists









    Spoiler: Honorary Awards for Animated Battler Scripters




    Compatibility
    This side-view battler script was designed to work with both, the default battle system AND the RTAB system.   It was also instrumental in making Charlie Fleed's CTB.  And it apparently works with a whole host of others ranging from ParaDog's and the XRXS systems and those by Trickster.  But I cannot account for it working with any other systems.




    Credits and Thanks
    Spoiler: Lots o' credits




      • Minkoff for the original 2005 base system.


      • ccoa who designed the spritestrips system as opposed to the spritesheet concept


      • Twin Matrix who requested a Low Percentages option and coded the basis for status effect poses


      • Min-Chan and Caldaron who requested fixes to Hero and enemy z-Depth


      • Jirby Taylor -or- Taylor who discovered an F12 stack error with the collapse code


      • SephirrothSpawn who instructed me on code to eliminate F12 Stack errors


      • Mimi-Chan who detected a timing fault with battle animations, especially full screen battle animations, and saw a variable frames-per-pose bug


      • Trickster for compatability code for his Gradient Bars v 3.4


      • Fomar0153 who supplied code to halt AT bar growth for certain battle actions


      • daigotsu who noticed an 'None/All' targeting error


      • MasterMine5823 who requested a fix on saved data issues


      • Alistor who notice an issue with viewports and certain gradient bar code


      • Angel_FX who noticed that dead hero battlers were still visible in new battles


      • Yin who requested the use of ccoa spritesheets


      • Jaberwocky who supplied dodge pose mechanices


      • Alistor who requested a variation of the center-pose system whereby attackers were still vertically lined up with their targets


      • hanetzer who requested that both individual poses and red-out collapse deaths to be available at the same time
      • redtri17 who noted an error in individual weapon pose

      --or-


      by DerVVulfman
      (M. B. Randolph)

      Based on the original system by
      Minkoff

      Spritestrip Concepts by
      ccoa / S. Harlow

      Additional Pptions and Programming by
      Twin Matrix * SephirothSpawn * Trickster * Fomar0153 * Jaberwocky

      Expansion Concepts by
      Twin Matrix * Min-Chan * Caldaron * MasterMine5823 * Yin * Alistor * hanetzer

      Additional Betatesting and Reports by
      Jirby Taylor / Taylor * Mimi-Chan * daigotsu * Alistor * Angel_FX * redtri17​



    [/LIST]






    • Terms and Conditions
      Required for distribution:
      This system is available royalty free.  I make no claim as to the usage of this system, even for commercial use.  Edits to the system may be permitted as to suit your needs, but I cannot guarantee these edits effectiveness nor can I guarantee support for these same edits.

      When using the system, the name of the animation system must be prominent along with my name and name of the scripter who created the basis of this work (that's Minkoff... if you didn't know
      ).  If your project includes a end-of-game 'Credit Roll', I would also require the listing of all parties in the Credits and Thanks section (above) as contributers and betatesters of this system.  Given their assistance, I wouldn't ask no less.




      Author's Notes
      Originally posted over the years as Minkoff's Animated Battlers Enhanced.



    本贴来自国际rpgmaker官方论坛作者:DerVVulfman处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/animbat-animated-battlers-comprehensive.102412/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-7-14 17:53 , Processed in 0.125205 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表