AnimBat! - Animated Battlers - Comprehensive
https://i.imgur.com/fdzKgZA.png
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 whilewaiting to attack, charge forward to attack, and strike a victory pose when they win.
Screenshots
https://i.imgur.com/5NfN2wi.png
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 HereBy 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 twoconfiguration 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 along time comingin that Iwanted toreplace thebuilt-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 bythis systemthe end usercan design the#battle formationsfor the actor battlers. They will start outand remain#lined up in the order the end user sets up.##The system recognizes the'Mirror Effect'systemin Animated Battlers XP,#and will adjust and reverse the battler positions accordingly.You need not#worry aboutcreating duplicateformation entriesfor both leftand 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 => ,... }##So...with that,you can makemultiple setsof formationswhich 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:## [ , ,... ]##Most people would set a formation set with allowances for 4 battlers. But if#you wanted to use a large party scriptto increase the number of members in#your battle party, you can add more than 4 battler arrays like so:##...ON = { 0 => [ , , , , ],# 1 => [ , , , , ]}##------------------------------------------------------------------------------##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 ofthe heroes. With this,you can makea 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 = [ , , , ] POSITION = [ , , , ] POSITION = [ , , , ] 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 IDattr_accessor :abatxp_mirror # Mirror Effect (used by AnimBatVX)#--------------------------------------------------------------------------# * Object Initialization#--------------------------------------------------------------------------def initialize formations_game_system_initialize @abatxp_form_id = 0 # Initial formationendend#==============================================================================# ** 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_xalias 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 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_xend#--------------------------------------------------------------------------# * 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 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_yendend#==============================================================================# ** 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 = 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 rouletteend#--------------------------------------------------------------------------# * 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.position # Reset position if the formation is properly configured if Formation::POSITION.has_key?(position_id) position= Formation::POSITION end # Return with position return positionendend
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 additionthat 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 playerPARTY = 1000# Depth of the Party Window (Fight/Escape)COMMAND= 1000# Depth of the Actor Command WindowHELP = 1000# Depth of the Help WindowSKILL = 1000# Depth of the Skill WindowITEM = 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_phase2alias animbat_depth_start_phase3 start_phase3alias animbat_depth_start_skill_select start_skill_selectalias 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_phase2end#--------------------------------------------------------------------------# * 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_phase3end#--------------------------------------------------------------------------# * Start Skill Selection#--------------------------------------------------------------------------def start_skill_select # Perform the original call animbat_depth_start_skill_select # Set Skill Window Depth @skill_window.z = AnimDepth::SKILLend#--------------------------------------------------------------------------# * Start Item Selection#--------------------------------------------------------------------------def start_item_select # Perform the original call animbat_depth_start_item_select # Set Item Window Depth @item_window.z = AnimDepth::ITEMendend
Awards and Badges
A few awards of note for Animated Battlers
Spoiler: Honorary Awards for Spritesheet Artists
https://i.imgur.com/lgB4XkI.png
https://i.imgur.com/zxVIo9I.png
https://i.imgur.com/x1JIW8G.png
https://i.imgur.com/uNp6wwn.png
Spoiler: Honorary Awards for Animated Battler Scripters
https://i.imgur.com/vYJvFd3.png
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
[*]
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
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 ).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/
页:
[1]