Conten Removed
Sideview Battle System Tankentai XP - Version 2.2xp
RPG Maker ScriptsHELL YEAH ATOA, YEAH!!!!!!!!! I was using this in Portuguese and did some cool things... the battle system is very flexible and good. I like it very much. Good joob and keep the good work up!
Very interesting, I will be using this when I'm healthy again (yes im sick)
Amazing add-ons you included Atoa. This script is so freaking customizable that you won't see the same battle sequences twice in different games. Look at the commands, understand the sequences, and love the script. Some high quality games will be made with this from now on I suppose.
Just a small thing: many actions are reporting now if you use the Damage Limit add-on. Try to fight the enemy a bit to the right from where you start with it above main, the mass venom skill causes an error on Main. There are so many things that I don't know where to begin from. And the weirdest thing, is that it was working 100% with what I tested before I sent it to atoa @_@.
Just a small thing: many actions are reporting now if you use the Damage Limit add-on. Try to fight the enemy a bit to the right from where you start with it above main, the mass venom skill causes an error on Main. There are so many things that I don't know where to begin from. And the weirdest thing, is that it was working 100% with what I tested before I sent it to atoa @_@.
cairn wrote:
Amazing add-ons you included Atoa. This script is so freaking customizable that you won't see the same battle sequences twice in different games. Look at the commands, understand the sequences, and love the script. Some high quality games will be made with this from now on I suppose.
*feels used* jk
i helped a very extreme small bit translating.
he did more then me tho, as he's better in the language then i am, no wonder if he speaks that language at home, and he had to double check my lil part here and there.
gj anyhow :thumb:
*points at guy above me who i meant*
so i can use battle animations instead of charsets as the battlers?
how do i do it?
how do i do it?
I found this a month ago, but never bothered to translate it. Nice job with it :thumb:
@Android
No, you can use char with special poses, but not battle animations.
@cairn
Maybe it was caused because i moved your translation to an RMXP english version.
I think i've made everything needed to it work fine with english RMXP.
about the damage limit bug, it solved 😆
i'm updating the demo right now
No, you can use char with special poses, but not battle animations.
@cairn
Maybe it was caused because i moved your translation to an RMXP english version.
I think i've made everything needed to it work fine with english RMXP.
about the damage limit bug, it solved 😆
i'm updating the demo right now
Wonderful Battle system! Can someone please tell me how to go about using special battlers?
Awesome job!
But.. the link is.. invalid? O.o Well that's what it says on 4shared anyway.
-Krobe
But.. the link is.. invalid? O.o Well that's what it says on 4shared anyway.
-Krobe
I copied the data folder from the file you sent me before, so the base scripts there were on portuguese. But it's a good thing that you fixed that :D. Oh yeah, I was testing it some more earlier today, and found out that I can't get to 2 characters have the magic animation when they demorph at the end of the battle @_@.
Mmm the link of the demo is dead. Maybe because you are updating the demo removing the bug?
quite strange... maybe it was an error on the update.
try downloading it now.
@cairn
Remember that the transform skill do not return the graphic to it original before transformation.
You set in the confing the transfor and the untransform graphics. And it unchangeable.
So the cat form skill will *always* return the char to the graphic defined on the config.
The only way to change it, is setting an new skill an assing new graphicis to it.
@Junk-Man
You can use the an custom VX configuration and replace the script "* SBS Config" with it. (be careful, replace only the "* SBS Config" script, but don't remove the "* SBS Config - XP"), create your own configuration can be really hard '-'
Soon i will post an example of how to do it.
try downloading it now.
@cairn
Remember that the transform skill do not return the graphic to it original before transformation.
You set in the confing the transfor and the untransform graphics. And it unchangeable.
So the cat form skill will *always* return the char to the graphic defined on the config.
The only way to change it, is setting an new skill an assing new graphicis to it.
@Junk-Man
You can use the an custom VX configuration and replace the script "* SBS Config" with it. (be careful, replace only the "* SBS Config" script, but don't remove the "* SBS Config - XP"), create your own configuration can be really hard '-'
Soon i will post an example of how to do it.
the odd thing atoa, is that I did that, but it either: only returned one of the characters, or neither of them @_@. And I setted the graphics etc to return to normal.
"This project is from an old version of RPG Maker and cannot be loaded."
That's what I get when I try to open it. I tried changing the Game.txt file from J to E and etc, but it still says the same thing.
Any ideas?
Thanks!
-Krobe
That's what I get when I try to open it. I tried changing the Game.txt file from J to E and etc, but it still says the same thing.
Any ideas?
Thanks!
-Krobe
Krobelus wrote:
"This project is from an old version of RPG Maker and cannot be loaded."
That's what I get when I try to open it. I tried changing the Game.txt file from J to E and etc, but it still says the same thing.
Any ideas?
Thanks!
-Krobe
That's what I get when I try to open it. I tried changing the Game.txt file from J to E and etc, but it still says the same thing.
Any ideas?
Thanks!
-Krobe
Find a Game.rxproj from a project that works for you and overwrite the one in the demo's root folder.
@cairn: You need to create separate victory sequence for each actor with a transformation. Use the default victory sequence as a reference on how to create extras.
Mr. Bubble wrote:
Krobelus wrote:
"This project is from an old version of RPG Maker and cannot be loaded."
That's what I get when I try to open it. I tried changing the Game.txt file from J to E and etc, but it still says the same thing.
Any ideas?
Thanks!
-Krobe
That's what I get when I try to open it. I tried changing the Game.txt file from J to E and etc, but it still says the same thing.
Any ideas?
Thanks!
-Krobe
Find a Game.rxproj from a project that works for you and overwrite the one in the demo's root folder.
Thanks that worked! But why does that happen anyway? O.o
Anyway this battle system for XP is great, and it's humorous to see everyone dodge a status skill (like sleep) while one party member is hit by it. haha.
Great job~~
-Krobe
@Krobelus
It because my version of RMXP is an different version.
i acidentally deleted the english version "Game.rxproj" i had in backup '-'
It because my version of RMXP is an different version.
i acidentally deleted the english version "Game.rxproj" i had in backup '-'
Atoa, can you make an Addon for this script? It would be cool to have an Combo Addon which displays the combo that you do in the character turn, and the total damage of the character's action and another one that shows the total turn combo (all four character's attack, when all four character had an action, it resets since this script uses ATB) and the total turn damage.
Also it would be great if the party combo, when reached a setted ammount of combo, you can press a button (like W or E exactly when hits the setted ammount) to activate a special 4 man attack! It would be really cool and innovative since i dont think there is something alike in an existing commercial rpg :thumb:
Also great script really. Works charm. Definitely using this for some kind of project that is coming to my mind lately :cheers:
Also it would be great if the party combo, when reached a setted ammount of combo, you can press a button (like W or E exactly when hits the setted ammount) to activate a special 4 man attack! It would be really cool and innovative since i dont think there is something alike in an existing commercial rpg :thumb:
Also great script really. Works charm. Definitely using this for some kind of project that is coming to my mind lately :cheers:
Atoa wrote:
@Krobelus
It because my version of RMXP is an different version.
i acidentally deleted the english version "Game.rxproj" i had in backup '-'
It because my version of RMXP is an different version.
i acidentally deleted the english version "Game.rxproj" i had in backup '-'
Why does your project needs RGSS103J.dll and not RGSS102E.dll?
I don't recall any legal english version using this DLL.
Dargor wrote:
Atoa wrote:
@Krobelus
It because my version of RMXP is an different version.
i acidentally deleted the english version "Game.rxproj" i had in backup '-'
It because my version of RMXP is an different version.
i acidentally deleted the english version "Game.rxproj" i had in backup '-'
Why does your project needs RGSS103J.dll and not RGSS102E.dll?
I don't recall any legal english version using this DLL.
It because my version isn't english.
And thats the reason for the problem with Game.rxproj
@Yaxor
Sorry, this may be "cool" but isn't very "funciontional", all add-ons i've made was simple, or very "generic".
And now, i'm working on my own battle system, i will return to this system only to eventual bug fixes.
I will leave the add ons to the other scripters xD

Here is the problem I have:
(yes I know the sprites are facing the wrong direction)
1)stances
2) attack animations
3) Death animations.
4) Get hit animations
@Junk-Man
Well... you posted an image and i see no problem on it?
What exactly you want? Add animations to enemy?
If that's what you want, take a look on the "Animated Battlers" Add On.
But if you want a explanation on how make special animations, i already said that i will make an demo *later*
Well... you posted an image and i see no problem on it?
What exactly you want? Add animations to enemy?
If that's what you want, take a look on the "Animated Battlers" Add On.
But if you want a explanation on how make special animations, i already said that i will make an demo *later*
The 4 man tech didn't work if used with ATB system. And sometime if a character attack and at the same time another character inputting command, the sprite of the character that attack before stuck near enemy sprite.
@Ekho
4 Man Tech *does* work with ATB, but it kinda hard, since you have to use *all* 4 man assistances befor use the attack skill.
About this bug you noticed, i will check it.
4 Man Tech *does* work with ATB, but it kinda hard, since you have to use *all* 4 man assistances befor use the attack skill.
About this bug you noticed, i will check it.
so i am moding this for a freind to work with 8 players, i moded the x,y codinates and changed the max player thing. and this is what i get(seems like the shadows are right):

think you could help me solve this?
here are the x,y cords i used if that helps

think you could help me solve this?
here are the x,y cords i used if that helps
Content Hidden
Show
ACTOR_POSITION = [[460,180],[480,210],[500,240],[520,270],[500,180],[520,210],[540,240],[5480,270]]
I'm trying to add additional Action Conditions but apparently I'm not doing it correctly.
Under Action Conditions I have the following.
The skill "Fire" is number 82.
Under Target Modification I have the following.
Under Skill Sequences I have the following.
I based my code off the 2 Man Attack code.
Under Action Conditions I have the following.
"FIRE" => ["nece", 4, 4, 82, 2],
Expand to see the code.
The skill "Fire" is number 82.
Under Target Modification I have the following.
"FIRE_TARGETS" => ["target", 0, 1],
Expand to see the code.
Under Skill Sequences I have the following.
"FIRE_ATTACK" => ["FIRE","FIRE_TARGETS","ULRIKA_ATTACK",
"MOVING_TARGET_RIGHT","WAIT(FIXED)","START_MAGIC_ANIM","WPN_SWING_UNDER",
"WPN_RAISED","48","KILL_HIT_ANIM","LEFT_DASH_ATTACK","64","OBJ_ANIM",
"Can Collapse","FLEE_RESET","2_MAN_TECH_REVOKE"],
"MOVING_TARGET_RIGHT","WAIT(FIXED)","START_MAGIC_ANIM","WPN_SWING_UNDER",
"WPN_RAISED","48","KILL_HIT_ANIM","LEFT_DASH_ATTACK","64","OBJ_ANIM",
"Can Collapse","FLEE_RESET","2_MAN_TECH_REVOKE"],
Expand to see the code.
I based my code off the 2 Man Attack code.
Hey, i have a question on how to move the hp and sp bars to vertical mode, just like the time and the overdrive bars. A quick replie would be greatly apreiciated =)
@deathbethecost
You still needs an script that allows you to break the limit of party.
I will take a look on this. so it can be done automatically
@Martinez
Take a look on the opitional add-on "Battle Windows"
You you find an really deep configuration module for the battle status display.
@Elemental Crisis
Sorry but right now i'm not giving support in the actions configuration, you should look the Mr. Blubble's VX extra skills demo. Since the skills configuration are exactly the same in both makers.
You still needs an script that allows you to break the limit of party.
I will take a look on this. so it can be done automatically
@Martinez
Take a look on the opitional add-on "Battle Windows"
You you find an really deep configuration module for the battle status display.
@Elemental Crisis
Sorry but right now i'm not giving support in the actions configuration, you should look the Mr. Blubble's VX extra skills demo. Since the skills configuration are exactly the same in both makers.
oh, ok, so there is nothing i can about it for the moment?
here si the large party script i am using, no idea if that will help. if you sugest i use another i will(meaning its not a problem i dont switch around the order of my party members).
here si the large party script i am using, no idea if that will help. if you sugest i use another i will(meaning its not a problem i dont switch around the order of my party members).
Content Hidden
Show
#==============================================================================
# ** Large Party
#------------------------------------------------------------------------------
# Author: Dargor
# Version 1.3
# 02/08/2007
#==============================================================================
#==============================================================================
# ** Large Party Customization Module
#==============================================================================
module Dargor
module Large_Party
# Maximum number of actors allowed in the party
Max_Size = 8
# Battle status window refresh rate (used in phase5)
Battle_Refresh_Rate = 32
end
end
#==============================================================================
# ** Game_Temp
#------------------------------------------------------------------------------
# This class handles temporary data that is not included with save data.
# Refer to "$game_temp" for the instance of this class.
#==============================================================================
class Game_Temp
#--------------------------------------------------------------------------
# * Public Instance Variables
#--------------------------------------------------------------------------
attr_accessor :battle_actor_index # @actor_index in battle scene
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_temp_initialize initialize
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
large_party_temp_initialize
@battle_actor_index = 0
end
end
#==============================================================================
# ** 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
#--------------------------------------------------------------------------
# * Public Instance Variables
#--------------------------------------------------------------------------
attr_accessor :max_size # Max number of actors allowed in the party
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_initialize initialize
alias large_party_add_actor add_actor
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
large_party_initialize
@max_size = Dargor::Large_Party::Max_Size
end
#--------------------------------------------------------------------------
# * Add an Actor
# actor_id : actor ID
#--------------------------------------------------------------------------
def add_actor(actor_id)
# Original method
large_party_add_actor(actor_id)
# Get actor
actor = $game_actors[actor_id]
# If the party has less than 4 members and this actor is not in the party
if @actors.size < @max_size and not @actors.include?(actor)
# Add actor
@actors.push(actor)
# Refresh player
$game_player.refresh
end
end
end
#==============================================================================
# ** Sprite_Battler
#------------------------------------------------------------------------------
# This sprite is used to display the battler.It observes the Game_Character
# class and automatically changes sprite conditions.
#==============================================================================
class Sprite_Battler < RPG::Sprite
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_sprite_update update
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
# Original method
large_party_sprite_update
# Set sprite coordinates
if @battler.is_a?(Game_Actor)
self.x = @battler.screen_x - ($game_temp.battle_actor_index / 4) * 640
end
end
end
#==============================================================================
# ** Spriteset_Battle
#------------------------------------------------------------------------------
# This class brings together battle screen sprites. It's used within
# the Scene_Battle class.
#==============================================================================
class Spriteset_Battle
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_spriteset_update update
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
# Cycle through all extra actors (4+)
# Create/update sprites
for i in 4...$game_party.actors.size
if @actor_sprites[i].nil?
@actor_sprites.push(Sprite_Battler.new(@viewport2))
end
@actor_sprites[i].battler = $game_party.actors[i]
end
# Original method
large_party_spriteset_update
end
end
#==============================================================================
# ** Window_MenuStatus
#------------------------------------------------------------------------------
# This window displays party member status on the menu screen.
#==============================================================================
class Window_MenuStatus < Window_Selectable
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_menu_status_initialize initialize
alias large_party_menu_status_refresh refresh
alias large_party_menu_status_update_cursor_rect update_cursor_rect
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
# Original method
large_party_menu_status_initialize
# Adjust contents height
@item_max = $game_party.actors.size
height = @item_max * 120
self.contents = Bitmap.new(width - 32, height - 32)
# Refresh
refresh
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh(*args)
# Original method
large_party_menu_status_refresh(*args)
# Adjust default height
self.height = 480
end
#--------------------------------------------------------------------------
# * Cursor Rectangle Update
#--------------------------------------------------------------------------
def update_cursor_rect
large_party_menu_status_update_cursor_rect
row = @index / @column_max
if row < self.top_row
self.top_row = row
end
if row > self.top_row + (self.page_row_max - 1)
self.top_row = row - (self.page_row_max - 1)
end
cursor_width = self.width / @column_max - 32
x = @index % @column_max * (cursor_width + 32)
y = @index / @column_max * 116 - self.oy
self.cursor_rect.set(x, y, cursor_width, 96)
end
#--------------------------------------------------------------------------
# * Top Row
#--------------------------------------------------------------------------
def top_row
return self.oy / 116
end
#--------------------------------------------------------------------------
# * Set Top Row
# row : new row
#--------------------------------------------------------------------------
def top_row=(row)
if row < 0
row = 0
end
if row > row_max - 1
row = row_max - 1
end
self.oy = row * 116
end
#--------------------------------------------------------------------------
# * Page Row Max
#--------------------------------------------------------------------------
def page_row_max
return 4
end
end
#==============================================================================
# ** Window_BattleStatus
#------------------------------------------------------------------------------
# This window displays the status of all party members on the battle screen.
#==============================================================================
class Window_BattleStatus < Window_Base
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_battle_status_initialize initialize
alias large_party_battle_status_refresh refresh
alias large_party_battle_status_update update
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
@column_max = 4
large_party_battle_status_initialize
width = $game_party.actors.size * 160
self.contents = Bitmap.new(width - 32, height - 32)
self.width = 640
@level_up_flags = []
for i in 0...$game_party.actors.size
@level_up_flags << false
end
@item_max = $game_party.actors.size
refresh
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
# Refresh contents when actors are added/removed in-battle
if $game_party.actors.size != @item_max
@item_max = $game_party.actors.size
width = @item_max * 160
self.contents = Bitmap.new(width - 32, height - 32)
self.width = 640
end
large_party_battle_status_refresh
column = $game_temp.battle_actor_index / 4
self.ox = column * 640
end
end
#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
# This class performs battle screen processing.
#==============================================================================
class Scene_Battle
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_phase3_setup_command_window phase3_setup_command_window
alias large_party_update_phase4_step2 update_phase4_step2
alias large_party_start_phase5 start_phase5
alias large_party_update_phase5 update_phase5
#--------------------------------------------------------------------------
# * Actor Command Window Setup
#--------------------------------------------------------------------------
def phase3_setup_command_window
$game_temp.battle_actor_index = @actor_index
@status_window.refresh
large_party_phase3_setup_command_window
@actor_command_window.x = (@actor_index%4) * 160
end
#--------------------------------------------------------------------------
# * Frame Update (main phase step 2 : start action)
#--------------------------------------------------------------------------
def update_phase4_step2
if @active_battler.is_a?(Game_Actor)
$game_temp.battle_actor_index = @active_battler.index
@status_window.refresh
end
large_party_update_phase4_step2
end
#--------------------------------------------------------------------------
# * Frame Update (main phase step 4 : animation for target)
#--------------------------------------------------------------------------
def update_phase4_step4
if @target_battlers[0] != nil
$game_temp.battle_actor_index = @target_battlers[0].index
@status_window.refresh
end
# Animation for target
for target in @target_battlers
target.animation_id = @animation2_id
target.animation_hit = (target.damage != "Miss")
end
# Animation has at least 8 frames, regardless of its length
@wait_count = 8
# Shift to step 5
@phase4_step = 5
end
#--------------------------------------------------------------------------
# * Start After Battle Phase
#--------------------------------------------------------------------------
def start_phase5
@actor_index = 0
@status_wait = Graphics.frame_count
large_party_start_phase5
end
#--------------------------------------------------------------------------
# * Frame Update (after battle phase)
#--------------------------------------------------------------------------
def update_phase5
refresh_rate = Dargor::Large_Party::Battle_Refresh_Rate
if Graphics.frame_count >= @status_wait + refresh_rate
$game_temp.battle_actor_index = @actor_index
@status_window.refresh
@status_wait = Graphics.frame_count
max = ($game_party.actors.size.to_f/4).ceil * 4
@actor_index = (@actor_index+1) % max
end
large_party_update_phase5
end
end
# ** Large Party
#------------------------------------------------------------------------------
# Author: Dargor
# Version 1.3
# 02/08/2007
#==============================================================================
#==============================================================================
# ** Large Party Customization Module
#==============================================================================
module Dargor
module Large_Party
# Maximum number of actors allowed in the party
Max_Size = 8
# Battle status window refresh rate (used in phase5)
Battle_Refresh_Rate = 32
end
end
#==============================================================================
# ** Game_Temp
#------------------------------------------------------------------------------
# This class handles temporary data that is not included with save data.
# Refer to "$game_temp" for the instance of this class.
#==============================================================================
class Game_Temp
#--------------------------------------------------------------------------
# * Public Instance Variables
#--------------------------------------------------------------------------
attr_accessor :battle_actor_index # @actor_index in battle scene
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_temp_initialize initialize
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
large_party_temp_initialize
@battle_actor_index = 0
end
end
#==============================================================================
# ** 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
#--------------------------------------------------------------------------
# * Public Instance Variables
#--------------------------------------------------------------------------
attr_accessor :max_size # Max number of actors allowed in the party
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_initialize initialize
alias large_party_add_actor add_actor
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
large_party_initialize
@max_size = Dargor::Large_Party::Max_Size
end
#--------------------------------------------------------------------------
# * Add an Actor
# actor_id : actor ID
#--------------------------------------------------------------------------
def add_actor(actor_id)
# Original method
large_party_add_actor(actor_id)
# Get actor
actor = $game_actors[actor_id]
# If the party has less than 4 members and this actor is not in the party
if @actors.size < @max_size and not @actors.include?(actor)
# Add actor
@actors.push(actor)
# Refresh player
$game_player.refresh
end
end
end
#==============================================================================
# ** Sprite_Battler
#------------------------------------------------------------------------------
# This sprite is used to display the battler.It observes the Game_Character
# class and automatically changes sprite conditions.
#==============================================================================
class Sprite_Battler < RPG::Sprite
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_sprite_update update
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
# Original method
large_party_sprite_update
# Set sprite coordinates
if @battler.is_a?(Game_Actor)
self.x = @battler.screen_x - ($game_temp.battle_actor_index / 4) * 640
end
end
end
#==============================================================================
# ** Spriteset_Battle
#------------------------------------------------------------------------------
# This class brings together battle screen sprites. It's used within
# the Scene_Battle class.
#==============================================================================
class Spriteset_Battle
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_spriteset_update update
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
# Cycle through all extra actors (4+)
# Create/update sprites
for i in 4...$game_party.actors.size
if @actor_sprites[i].nil?
@actor_sprites.push(Sprite_Battler.new(@viewport2))
end
@actor_sprites[i].battler = $game_party.actors[i]
end
# Original method
large_party_spriteset_update
end
end
#==============================================================================
# ** Window_MenuStatus
#------------------------------------------------------------------------------
# This window displays party member status on the menu screen.
#==============================================================================
class Window_MenuStatus < Window_Selectable
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_menu_status_initialize initialize
alias large_party_menu_status_refresh refresh
alias large_party_menu_status_update_cursor_rect update_cursor_rect
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
# Original method
large_party_menu_status_initialize
# Adjust contents height
@item_max = $game_party.actors.size
height = @item_max * 120
self.contents = Bitmap.new(width - 32, height - 32)
# Refresh
refresh
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh(*args)
# Original method
large_party_menu_status_refresh(*args)
# Adjust default height
self.height = 480
end
#--------------------------------------------------------------------------
# * Cursor Rectangle Update
#--------------------------------------------------------------------------
def update_cursor_rect
large_party_menu_status_update_cursor_rect
row = @index / @column_max
if row < self.top_row
self.top_row = row
end
if row > self.top_row + (self.page_row_max - 1)
self.top_row = row - (self.page_row_max - 1)
end
cursor_width = self.width / @column_max - 32
x = @index % @column_max * (cursor_width + 32)
y = @index / @column_max * 116 - self.oy
self.cursor_rect.set(x, y, cursor_width, 96)
end
#--------------------------------------------------------------------------
# * Top Row
#--------------------------------------------------------------------------
def top_row
return self.oy / 116
end
#--------------------------------------------------------------------------
# * Set Top Row
# row : new row
#--------------------------------------------------------------------------
def top_row=(row)
if row < 0
row = 0
end
if row > row_max - 1
row = row_max - 1
end
self.oy = row * 116
end
#--------------------------------------------------------------------------
# * Page Row Max
#--------------------------------------------------------------------------
def page_row_max
return 4
end
end
#==============================================================================
# ** Window_BattleStatus
#------------------------------------------------------------------------------
# This window displays the status of all party members on the battle screen.
#==============================================================================
class Window_BattleStatus < Window_Base
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_battle_status_initialize initialize
alias large_party_battle_status_refresh refresh
alias large_party_battle_status_update update
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
@column_max = 4
large_party_battle_status_initialize
width = $game_party.actors.size * 160
self.contents = Bitmap.new(width - 32, height - 32)
self.width = 640
@level_up_flags = []
for i in 0...$game_party.actors.size
@level_up_flags << false
end
@item_max = $game_party.actors.size
refresh
end
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
# Refresh contents when actors are added/removed in-battle
if $game_party.actors.size != @item_max
@item_max = $game_party.actors.size
width = @item_max * 160
self.contents = Bitmap.new(width - 32, height - 32)
self.width = 640
end
large_party_battle_status_refresh
column = $game_temp.battle_actor_index / 4
self.ox = column * 640
end
end
#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
# This class performs battle screen processing.
#==============================================================================
class Scene_Battle
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias large_party_phase3_setup_command_window phase3_setup_command_window
alias large_party_update_phase4_step2 update_phase4_step2
alias large_party_start_phase5 start_phase5
alias large_party_update_phase5 update_phase5
#--------------------------------------------------------------------------
# * Actor Command Window Setup
#--------------------------------------------------------------------------
def phase3_setup_command_window
$game_temp.battle_actor_index = @actor_index
@status_window.refresh
large_party_phase3_setup_command_window
@actor_command_window.x = (@actor_index%4) * 160
end
#--------------------------------------------------------------------------
# * Frame Update (main phase step 2 : start action)
#--------------------------------------------------------------------------
def update_phase4_step2
if @active_battler.is_a?(Game_Actor)
$game_temp.battle_actor_index = @active_battler.index
@status_window.refresh
end
large_party_update_phase4_step2
end
#--------------------------------------------------------------------------
# * Frame Update (main phase step 4 : animation for target)
#--------------------------------------------------------------------------
def update_phase4_step4
if @target_battlers[0] != nil
$game_temp.battle_actor_index = @target_battlers[0].index
@status_window.refresh
end
# Animation for target
for target in @target_battlers
target.animation_id = @animation2_id
target.animation_hit = (target.damage != "Miss")
end
# Animation has at least 8 frames, regardless of its length
@wait_count = 8
# Shift to step 5
@phase4_step = 5
end
#--------------------------------------------------------------------------
# * Start After Battle Phase
#--------------------------------------------------------------------------
def start_phase5
@actor_index = 0
@status_wait = Graphics.frame_count
large_party_start_phase5
end
#--------------------------------------------------------------------------
# * Frame Update (after battle phase)
#--------------------------------------------------------------------------
def update_phase5
refresh_rate = Dargor::Large_Party::Battle_Refresh_Rate
if Graphics.frame_count >= @status_wait + refresh_rate
$game_temp.battle_actor_index = @actor_index
@status_window.refresh
@status_wait = Graphics.frame_count
max = ($game_party.actors.size.to_f/4).ceil * 4
@actor_index = (@actor_index+1) % max
end
large_party_update_phase5
end
end
Original thread: https://www.hbgames.org/forums/viewtopic.php?t=60521