I think it may be a formatting problem. Considering how old this thread is, the site must have gone through some visual reworking at some point and as a result some posts got altered somehow. It really sucks, because I so want to try this script, but unless someone reposts it with the proper formatting no one will ever be able to use it.
RSSBSACE: Reedo's Simple Side Battle System Ace Edition
RGSS3 Scripts (RMVX Ace)The script isn't loading for me at all, could it be because it's pasting weird? The entire script for some reason pastes on line 1.
Edit: I legit just noticed the post directly above me. Does anyone have the script, that can provide it?
Edit: I legit just noticed the post directly above me. Does anyone have the script, that can provide it?
I found it right here: http://www.rpgmakercentral.com/topic/18609-rssbsace-reedos-simple-side-battle-system-ace-edition/
However, some people are still encountering errors with the script, (me included) although it seems to be pasted correctly.
-Also, sorry for double posting.
So umm I added the script to my game and it worked fine. But then I made a new skill as well as a new state and the
game would crash everytime saying something about the line
"If command is Reedo line" or smth.
game would crash everytime saying something about the line
"If command is Reedo line" or smth.
Did you make a new game after uploading the script, or did you use an existing one?
Nevermind I tried tampering with it on my own but ended up ruining the entire script- And now every time I try to copy-paste the script in my game it never reads it correctly. Guess my game will have to do without a fancy battle system- XmX
Would it be possible to, for one battle only (specifically, the final boss), prevent the victory animation? If not, is there a way I can set the troop event thing to fade out the screen after the collapse effect?
i think you need to change the script,its all weird when i post it,like you have no #
@thatguywhoneedshelp! here's the script formatted:
Code:
###############################################################################
## RSSBSACE - Reedo's Simple Side Battle System (for VX ACE)
## Version 1.7b
## September 30, 2013
## By Reedo
###############################################################################
## REFERENCES
##
## None. This is an original script by Reedo.
###############################################################################
## FEATURES
##
## + Draw the party on the right side of the screen, facing left, using the actor graphic specified in the database and in a formation fitting the Ace battle background layout.
## + Place a shadow on the ground beneath living actors.
## + Show the actor's stepping animation on their turn and when acting if able to take actions.
## + Make the actor step toward the enemy when taking an action other than guarding.
## + Show animations for all actor actions as defined in the database for the particular action being performed.
## + Show animations for all enemy actions as defined in the database, or a default animation if none is defined (e.g. normal attack)
## + Flash the actor red when they successfully receive a hostile action.
## + Show dead actors as faded, whitened, and rotated to lay on their back.
## + Make living actors perform a "victory dance" when the battle ends (they jump and spin).
## + Optionally "mirror" enemy images to make them face to the right.
## = Version 1.2 =
## + Actors step back when guarding.
## + Actors start facing backward and jump when surprised.
## + Actors start facing down and flashing white on preemptive strike.
## = Version 1.4 =
## + Actors turn and move half a step to the right when attempting to flee.
## = Version 1.6 =
## + Show weapon or skill icon as moving (swinging, punching or pulsing) graphic during actions.
## (by popular demand!)
## + Now compatible with "battle test" from within the database.
## = Version 1.7 =
## + Additional options for weapon icon movement by weapon type.
## + Corrected animations to only play on RSSBS visual battlers.
## + Corrected bug on escape (caught by Macatlas - thanks!).
## + Corrected bug on no weapon equipped (caught by comprisedpuma).
##
###############################################################################
## COMPATIBILITY
##
## Should be compatible with most other scripts.
##
## OVERWRITES (1)
## Spriteset_Battle.update_actors
##
## STATE CHANGES (1)
## Map scroll position (display_x, display_y) is stored and set to 0,0 when
## battle begins, and then is restored when battle ends.
###############################################################################
## REQUIREMENTS
##
## None for installation and operation.
##
## However, enemy troops will need to be repositioned manually in the database
## editor. This script may work best with all custom enemy images designed for
## side-battle view.
###############################################################################
## INSTALLATION
##
## Plug-and-play.
##
## Insert below Materials, above other add-on scripts.
###############################################################################
## RIGHTS & RESTRICTIONS
##
## As with most Reedo scripts, this script is free to re-use, as-is,
## in personal, educational, and commercial RPGVX Ace development projects,
## providing that: this script is credited in writing displayed readily
## to the user of the final compiled code assembly.
##
## Reedo retains all rights of intellect and ownership.
## You forego all rights of warranty by utilizing this script.
###############################################################################
###############################################################################
## USER OPTIONS
###############################################################################
module REEDO_SBS
ACTOR_START_TOP = 6.2 # Top position (in tiles) for first actor in party
ACTOR_START_LEFT = 12.5 # Left position (in tiles) for first actor in party
ACTOR_STAGGER = false # Enables staggered layout. Set false and chance start left to 12 for angled line.
ACTOR_STAGGER_HORZ = 1.0 # The amount to recess each actor to the right (in tiles)
ACTOR_STAGGER_VERT = 0.5 # The vertical spacing between characters (in tiles)
ACTOR_STEPS_IN_OUT = 10 # The number of steps to take when moving to attack
ACTOR_STEP_DISTANCE = 0.1 # The distance to move with each step (in tiles)
ACTOR_DEATH_OPACITY = 125 # Transparency of dead actors
ACTOR_DEATH_TONE = Tone.new(128, 128, 128, 0) # Overlay color of dead actors
ACTOR_DEATH_ANGLE = 270 # Rotation angle of dead actor sprite
ACTOR_DEATH_OFFSET_X = -0.6 # Offset in tiles for dead actors
ACTOR_DEATH_OFFSET_Y = -0.2 # Offset in tiles for dead actors
VICTORY_DANCE_ENABLED = true # Actors spin and jump on victory if alive and movable
VICTORY_DANCE_JUMP_HEIGHT = 1.3 # The number of tiles an actor moves upward
VICTORY_DANCE_JUMP_HOVER = 4 # The number of frames to wait in the air
VICTORY_DANCE_JUMP_WAIT = 70 # The number of frames before jumping again
ACTOR_SHADOW_IMAGE = "Shadow" # The name of the system image to use
ACTOR_SHADOW_CUSTOM_PICTURE = nil # The name of a resource picture to use instead; nil to use system image
PREEMPTIVE_TIME = 120 # The number of frames to flash white on preemptive strike
SURPRISE_TIME = 90 # The number of frames to jump facing backward on surprise
DAMAGE_RED_TIME = 15 # Number of frames actor turns red when damaged
ATTACK_SKILL_ID = 1 # The Id in the database for the skill used as the default attack
ENEMY_DEFAULT_ATTACK = 7 # AnimationId for enemy actions with no animation
ACTION_SPRITE_INCREMENT = 5 # The amount of movement for swinging or pulsing action icons
UNARMED_ICON = 175 # The icon to use if the actor has no weapon equipped.
UNARMED_STYLE = 2 # The style to use when there is no weapon equipped.
PUNCH_SPEED = 0.4
PUNCH_DISTANCE = 32
PULSE_WEAPON_TYPES = [] # Weapons with these weapon type ids will pulse like items or skills
NO_MOVE_WEAPON_TYPES = [] # Weapons with these weapon type ids will show without moving
PUNCH_WEAPON_TYPES = [2, 6, 10] # Weapons with these weapon type ids will move toward the enemy and back
# All other weapon type ids will swing
# Specify the ID of enemies who should have their image flipped in battle
FLIP_ENEMY = [
2, 3, 4, 5, 8, 10, 12, 13, 14, 16, 17,
18, 19, 21, 22, 23, 25, 28, 29,
]
FORCE_AUTOTILE_BACKGROUND = true # attempt to use tile-based background on all maps
end
###############################################################################
## MAIN SCRIPT
###############################################################################
## EDITS BEYOND THIS POINT ARE AT YOUR OWN RISK!!!
###############################################################################
module BattleManager
class << self
alias reedo_sbs_bm_process_victory process_victory
alias reedo_sbs_bm_process_escape process_escape
alias reedo_sbs_bm_gain_exp gain_exp
end
def self.gain_exp
if $imported && $imported["YEA-VictoryAftermath"]
tmp_gc = []
$game_party.all_members.each do |actor|
tmp_gc.push(actor.reedo_sbs_gc)
actor.reedo_sbs_gc = nil if actor.reedo_sbs_gc
end
reedo_sbs_bm_gain_exp
$game_party.all_members.each_with_index do |actor, i|
actor.reedo_sbs_gc = tmp_gc[i]
end
else
reedo_sbs_bm_gain_exp
end
end
def self.process_victory
SceneManager.scene.reedo_victory_dance = true if REEDO_SBS::VICTORY_DANCE_ENABLED
reedo_sbs_bm_process_victory
end
def self.process_escape
SceneManager.scene.reedo_turn_and_run
SceneManager.scene.reedo_cancel_run if !reedo_sbs_bm_process_escape
end
def self.reedo_preemptive?
@preemptive
end
def self.reedo_surprise?
@surprise
end
def self.reedo_get_actor_index
return @actor_index
end
end
class Game_Action
def reedo_guard?
return item == $data_skills[subject.guard_skill_id]
end
end
class Game_Actor
attr_accessor :reedo_sbs_gc
attr_accessor :reedo_damage_time
attr_accessor :reedo_is_acting
alias reedo_sbs_ga_initialize initialize
def initialize(actor_id)
reedo_sbs_ga_initialize(actor_id)
@reedo_damage_time = 0
@reedo_is_acting = false
end
alias reedo_sbs_ga_perform_damage_effect perform_damage_effect
def perform_damage_effect
@reedo_damage_time = REEDO_SBS::DAMAGE_RED_TIME
reedo_sbs_ga_perform_damage_effect
end
end
class Game_Character
attr_accessor :opacity
attr_accessor :priority_type
attr_accessor :reedo_start_top
attr_accessor :reedo_jump_delta
attr_accessor :reedo_shadow_sprite
attr_accessor :reedo_is_dead
attr_accessor :reedo_action_sprite
attr_accessor :reedo_action_sprite_increment
attr_accessor :reedo_action_style
def reedo_step_on
cmd = RPG::MoveCommand.new(Game_Character::ROUTE_STEP_ANIME_ON)
process_move_command(cmd)
end
def reedo_step_off
cmd = RPG::MoveCommand.new(Game_Character::ROUTE_STEP_ANIME_OFF)
process_move_command(cmd)
end
def reedo_create_action_sprite(view)
@reedo_action_style = 1
@reedo_action_sprite_increment = REEDO_SBS::ACTION_SPRITE_INCREMENT
@reedo_action_sprite = Sprite_Base.new(view)
@reedo_action_sprite.bitmap = Bitmap.new(24, 24)
@reedo_action_sprite.src_rect = Rect.new(0, 0, 24, 24)
@reedo_action_sprite.ox = 24
@reedo_action_sprite.oy = 24
@reedo_action_sprite.x = (self.x * 32) - 28
@reedo_action_sprite.y = (self.y * 32) + 18
@reedo_action_sprite.z = (self.priority_type * 100) + 1
@reedo_action_sprite.visible = false
end
def reedo_create_shadow_sprite(view)
@reedo_shadow_sprite = Sprite_Base.new(view)
bmp = Cache.picture(REEDO_SBS::ACTOR_SHADOW_CUSTOM_PICTURE) if REEDO_SBS::ACTOR_SHADOW_CUSTOM_PICTURE != nil
bmp = Cache.system(REEDO_SBS::ACTOR_SHADOW_IMAGE) if bmp == nil
@reedo_shadow_sprite.bitmap = bmp
@reedo_shadow_sprite.src_rect = Rect.new(0, 0, bmp.width, bmp.height)
@reedo_shadow_sprite.x = (self.x * 32)
@reedo_shadow_sprite.y = (self.y * 32)
@reedo_shadow_sprite.z = (self.priority_type * 100) - 1
end
alias reedo_sbs_gc_update update
def update
reedo_sbs_gc_update
@shadow_sprite.update if @shadow_sprite != nil
end
def reedo_draw_icon(icon_index)
@reedo_action_sprite.bitmap.clear
@reedo_action_sprite.visible = (icon_index > 0)
return if icon_index < 0
bitmap = Cache.system("Iconset")
rect = Rect.new(icon_index % 16 * 24, icon_index / 16 * 24, 24, 24)
@reedo_action_sprite.bitmap.blt(0, 0, bitmap, rect, 255)
end
end
class Spriteset_Battle
alias reedo_sbs_ssb_initialize initialize
def initialize
@reedo_dance_wait = 0
reedo_sbs_ssb_initialize
end
alias reedo_sbs_ssb_dispose dispose
def dispose
for actor in $game_party.battle_members
actor.reedo_sbs_gc.reedo_action_sprite.dispose
actor.reedo_sbs_gc.reedo_shadow_sprite.dispose
actor.reedo_sbs_gc = nil
end
@reedo_sprite_chars.each {|sprite| sprite.dispose }
reedo_sbs_ssb_dispose
end
alias reedo_sbs_ssb_create_actors create_actors
def create_actors
dispose_actors if @actor_sprites != nil
reedo_sbs_ssb_create_actors
@reedo_game_chars = []
@reedo_sprite_chars = []
@actor_sprites = []
@reedo_surprise_time = 0
@reedo_preemptive_time = 0
i = 1
for actor in $game_party.battle_members
gc = Game_Character.new
gc.set_graphic(actor.character_name, actor.character_index)
if BattleManager.reedo_surprise?
gc.set_direction(6)
@reedo_surprise_time = REEDO_SBS::SURPRISE_TIME
elsif BattleManager.reedo_preemptive?
@reedo_preemptive_time = REEDO_SBS::PREEMPTIVE_TIME
@reedo_preemptive_tone = 0
@reedo_preemptive_delta = 10
gc.set_direction(2)
else
gc.set_direction(4)
end
gc.priority_type = i
bc = Sprite_Character.new(@viewport1, gc)
sb = Sprite_Battler.new(@viewport1, actor)
top = REEDO_SBS::ACTOR_START_TOP + (i * REEDO_SBS::ACTOR_STAGGER_VERT)
left = REEDO_SBS::ACTOR_START_LEFT
if REEDO_SBS::ACTOR_STAGGER
left += REEDO_SBS::ACTOR_STAGGER_HORZ if i % 2 == 0
else
left += REEDO_SBS::ACTOR_STAGGER_HORZ * i
end
gc.reedo_is_dead = false
gc.reedo_start_top = top
gc.reedo_jump_delta = -0.1
gc.moveto(left, top)
gc.reedo_create_shadow_sprite(@viewport1)
gc.reedo_create_action_sprite(@viewport1)
bc.update
@actor_sprites.push(sb)
@reedo_sprite_chars.push(bc)
@reedo_game_chars.push(gc)
actor.reedo_sbs_gc = gc
i += 1
end
end
alias reedo_sbs_ssb_create_enemies create_enemies
def create_enemies
reedo_sbs_ssb_create_enemies
for sprite in @enemy_sprites
sprite.mirror = true if REEDO_SBS::FLIP_ENEMY.include?(sprite.battler.enemy_id)
end
end
alias reedo_sbs_ssb_create_blurry_background_bitmap create_blurry_background_bitmap
def create_blurry_background_bitmap
if REEDO_SBS::FORCE_AUTOTILE_BACKGROUND && !$BTEST
tryName1 = battleback1_name
return reedo_sbs_ssb_create_blurry_background_bitmap if tryName1 == nil
wall = Cache.battleback1(tryName1)
tryName2 = battleback2_name
bitmap = Bitmap.new(640, 480)
bitmap.blt(0, 0, wall, wall.rect)
if tryName2 != nil
floor = Cache.battleback2(tryName2)
bitmap.blt(0, 320, floor, floor.rect)
end
bitmap
else
reedo_sbs_ssb_create_blurry_background_bitmap
end
end
def reedo_update_victory_dance
if @reedo_dance_wait == 0
@actor_sprites.each_with_index do |sprite, i|
if sprite.battler.alive? && sprite.battler.movable?
gc = @reedo_game_chars[i]
gc.moveto(gc.x, gc.y + gc.reedo_jump_delta)
if gc.y < gc.reedo_start_top - REEDO_SBS::VICTORY_DANCE_JUMP_HEIGHT
gc.reedo_jump_delta = 0.1
@reedo_dance_wait = REEDO_SBS::VICTORY_DANCE_JUMP_HOVER
end
if gc.y > gc.reedo_start_top
gc.reedo_jump_delta = -0.1
gc.set_direction(4)
@reedo_dance_wait = REEDO_SBS::VICTORY_DANCE_JUMP_WAIT
end
if ((gc.y - REEDO_SBS::VICTORY_DANCE_JUMP_HEIGHT) * 10).to_int % (REEDO_SBS::VICTORY_DANCE_JUMP_HEIGHT / 4 * 10).to_int == 0
if @reedo_dance_wait == 0
case gc.direction
when 4; gc.set_direction(2)
when 2; gc.set_direction(6)
when 6; gc.set_direction(8)
when 8; gc.set_direction(4)
end
end
end
end
end
else
@reedo_dance_wait -= 1
end
end
def reedo_update_surprise
@actor_sprites.each_with_index do |sprite, i|
if sprite.battler.alive? && sprite.battler.movable?
gc = @reedo_game_chars[i]
if @reedo_surprise_time > 1
gc.moveto(gc.x, gc.y + gc.reedo_jump_delta)
if gc.y < gc.reedo_start_top - REEDO_SBS::VICTORY_DANCE_JUMP_HEIGHT
gc.reedo_jump_delta = 0.1
end
if gc.y > gc.reedo_start_top
gc.reedo_jump_delta = -0.1
end
else
gc.moveto(gc.x, gc.reedo_start_top)
gc.set_direction(4)
end
end
end
@reedo_surprise_time -= 1
end
def reedo_update_preemptive
@actor_sprites.each_with_index do |sprite, i|
if sprite.battler.alive? && sprite.battler.movable?
sc = @reedo_sprite_chars[i]
if @reedo_preemptive_time > 1
sc.tone.set(@reedo_preemptive_tone,@reedo_preemptive_tone,@reedo_preemptive_tone)
@reedo_preemptive_tone += @reedo_preemptive_delta
@reedo_preemptive_delta *= -1 if @reedo_preemptive_tone >= 255
@reedo_preemptive_delta *= -1 if @reedo_preemptive_tone <= 0
else
sc.tone.set(0,0,0)
@reedo_game_chars[i].set_direction(4)
end
end
end
@reedo_preemptive_time -= 1
end
def update_actors
dance = false
run = false
if SceneManager.scene.is_a?(Scene_Battle)
run = SceneManager.scene.reedo_run_away
dance = SceneManager.scene.reedo_victory_dance
reedo_update_victory_dance if dance
end
reedo_update_surprise if @reedo_surprise_time > 0
reedo_update_preemptive if @reedo_preemptive_time > 0
@actor_sprites.each_with_index do |sprite, i|
gc = @reedo_game_chars[i]
sc = @reedo_sprite_chars[i]
if sprite.battler.movable? && (BattleManager.reedo_get_actor_index == i || sprite.battler.reedo_is_acting || dance || run)
gc.reedo_step_on
else
gc.reedo_step_off
end
if gc.reedo_action_sprite.visible then
if gc.reedo_action_style == 0 # swing
gc.reedo_action_sprite.angle += gc.reedo_action_sprite_increment
gc.reedo_action_sprite_increment *= -1 if (gc.reedo_action_sprite.angle > 90) || (gc.reedo_action_sprite.angle < 0)
elsif gc.reedo_action_style == 1 # pulse
gc.reedo_action_sprite.zoom_x += (gc.reedo_action_sprite_increment * 0.01)
gc.reedo_action_sprite.zoom_y += (gc.reedo_action_sprite_increment * 0.01)
gc.reedo_action_sprite_increment *= -1 if (gc.reedo_action_sprite.zoom_x > 2.0) || (gc.reedo_action_sprite.zoom_x < 1.0)
elsif gc.reedo_action_style == 2 # punch
gc.reedo_action_sprite.x += (gc.reedo_action_sprite_increment * REEDO_SBS::PUNCH_SPEED)
gc.reedo_action_sprite_increment *= -1 if (gc.reedo_action_sprite.x < gc.reedo_shadow_sprite.x - REEDO_SBS::PUNCH_DISTANCE) || (gc.reedo_action_sprite.x > gc.reedo_shadow_sprite.x)
end
gc.reedo_action_sprite.update
else
gc.reedo_action_sprite.angle = 0
gc.reedo_action_sprite.zoom_x = 1.0
gc.reedo_action_sprite.zoom_y = 1.0
gc.reedo_action_sprite.x = gc.reedo_shadow_sprite.x
end
if sprite.battler.dead?
if gc.reedo_is_dead == false
gc.moveto(gc.x + REEDO_SBS::ACTOR_DEATH_OFFSET_X, gc.y + REEDO_SBS::ACTOR_DEATH_OFFSET_Y)
gc.reedo_shadow_sprite.visible = false
gc.opacity = REEDO_SBS::ACTOR_DEATH_OPACITY
sc.angle = REEDO_SBS::ACTOR_DEATH_ANGLE
sc.tone.set(REEDO_SBS::ACTOR_DEATH_TONE)
gc.reedo_is_dead = true
end
else
if gc.reedo_is_dead == true
gc.moveto(gc.x - REEDO_SBS::ACTOR_DEATH_OFFSET_X, gc.y - REEDO_SBS::ACTOR_DEATH_OFFSET_Y)
gc.reedo_shadow_sprite.visible = true
gc.opacity = 255
sc.angle = 0
sc.tone.set(0,0,0)
gc.reedo_is_dead = false
end
if sprite.battler.reedo_damage_time > 0
sc.tone.set(255,0,0) if sc.tone.red == 0
sprite.battler.reedo_damage_time -= 1
else
sc.tone.set(0,0,0) if sc.tone.red == 255
end
end
sc.update
gc.update
sprite.update
end
end
def reedo_game_char(index)
@reedo_game_chars[index]
end
def reedo_sprite_char(index)
@reedo_sprite_chars[index]
end
def reedo_actor_sprites
@actor_sprites
end
end
class Scene_Battle
attr_accessor :reedo_victory_dance
attr_accessor :reedo_run_away
attr_reader :subject
alias reedo_sbs_sb_start start
def start
@reedo_victory_dance = false
@reedo_run_away = false
if !$BTEST
@reedo_map_x = $game_map.display_x
@reedo_map_y = $game_map.display_y
$game_map.set_display_pos(0, 0)
else
$game_map = Game_Map.new
$game_map.setup(1)
end
reedo_sbs_sb_start
end
alias reedo_sbs_sb_terminate terminate
def terminate
if !$BTEST
$game_map.set_display_pos(@reedo_map_x, @reedo_map_y)
end
reedo_sbs_sb_terminate
end
alias reedo_sbs_sb_execute_action execute_action
def execute_action
if @subject.is_a?(Game_Actor)
@subject.reedo_is_acting = true
@spriteset.update_actors
wait(15)
if [email protected]_action.reedo_guard?
reedo_move_inout(-REEDO_SBS::ACTOR_STEP_DISTANCE)
gc = @subject.reedo_sbs_gc
iconidx = -1
if @subject.current_action.item.is_a?(RPG::Skill)
if @subject.current_action.item.id == REEDO_SBS::ATTACK_SKILL_ID
iconidx = @subject.weapons[0].icon_index if @subject.weapons[0]
iconidx = REEDO_SBS::UNARMED_ICON if iconidx < 0
if iconidx == REEDO_SBS::UNARMED_ICON
gc.reedo_action_style = REEDO_SBS::UNARMED_STYLE
elsif REEDO_SBS::NO_MOVE_WEAPON_TYPES.include?(@subject.weapons[0].wtype_id)
gc.reedo_action_style = 3 #none
elsif REEDO_SBS::PUNCH_WEAPON_TYPES.include?(@subject.weapons[0].wtype_id)
gc.reedo_action_style = 2 #punch
elsif REEDO_SBS::PULSE_WEAPON_TYPES.include?(@subject.weapons[0].wtype_id)
gc.reedo_action_style = 1 #pulse
else
gc.reedo_action_style = 0 #swing
end
else
iconidx = @subject.current_action.item.icon_index
gc.reedo_action_style = 1 #pulse
end
elsif @subject.current_action.item.is_a?(RPG::Item)
iconidx = @subject.current_action.item.icon_index
gc.reedo_action_style = 1
end
gc.reedo_draw_icon(iconidx)
else
reedo_move_inout(REEDO_SBS::ACTOR_STEP_DISTANCE / 2)
end
end
reedo_sbs_sb_execute_action
if @subject.is_a?(Game_Actor)
if [email protected]_action.reedo_guard?
gc = @subject.reedo_sbs_gc
gc.reedo_draw_icon(-1)
reedo_move_inout(REEDO_SBS::ACTOR_STEP_DISTANCE)
else
reedo_move_inout(-(REEDO_SBS::ACTOR_STEP_DISTANCE / 2))
end
@subject.reedo_is_acting = false
end
end
alias reedo_sbs_sb_show_animation show_animation
def show_animation(targets, animation_id)
oktargets = []
targets.each do |sprite|
if sprite.is_a?(Game_Actor)
if animation_id == -1
sprite.reedo_sbs_gc.animation_id = REEDO_SBS::ENEMY_DEFAULT_ATTACK
else
sprite.reedo_sbs_gc.animation_id = animation_id
end
else
oktargets.push(sprite)
end
end
reedo_sbs_sb_show_animation(oktargets, animation_id)
end
def reedo_move_inout(dist)
i = 0
while i < REEDO_SBS::ACTOR_STEPS_IN_OUT
gc = @subject.reedo_sbs_gc
gc.moveto(gc.x + dist, gc.y)
gc.reedo_shadow_sprite.x = (gc.x * 32)
update_for_wait
i += 1
end
end
def reedo_turn_and_run
@reedo_run_away = true
@spriteset.update_actors
wait(15)
@spriteset.reedo_actor_sprites.each_with_index do |sprite, i|
gc = @spriteset.reedo_game_char(i)
gc.set_direction(6)
gc.moveto(gc.x + 0.5, gc.y)
gc.reedo_shadow_sprite.x = (gc.x * 32)
end
end
def reedo_cancel_run
@reedo_run_away = false
@spriteset.reedo_actor_sprites.each_with_index do |sprite, i|
gc = @spriteset.reedo_game_char(i)
gc.set_direction(4)
gc.moveto(gc.x - 0.5, gc.y)
gc.reedo_shadow_sprite.x = (gc.x * 32)
end
return false
end
end
im still having problems,my characters are red,my charaters dont show popup damage(which i added from another script),and the (person name)is(-ing) text is too far away,how do you fix this?
The red flashing is a feature from the script itself to indicate damage received.
As for the popup, try changing the positioning of it's script on the editor, like placing the popup script under or above the battle one.
Since the name spacing is probably a incompatibility with another script (I pasted the battle script on a clean project and it works well), I'd suggest creating a topic on RGSS3 Script Requests to ask for support, posting the list of scripts you have in your game and a screenshot of the issue.
You can also try repositioning whichever scripts you have that may affect battle hud display.
Ik t
I know the red flashing is part of the script, my characters stay red,even without taking damage
What other scripts are you using? Have you tried repositioning them or removing some of them to see whivh one is causing the issue?
I did a test to make it the only script, it doesn't fix anything, not to mention my popup damage script only works on enemies
Try making a new project and paste this script there and start pasting the other battle scripts, testing the game everytime a new script is pasted. Then you can see which one is causing the incompatibility.
If you're using the battle test, don't forget to save.
You can also try other sideviews, like Tankentai or Theo SBS. They're more complex but they can end up being compatible.
I really recommend you to create a topic at RGSS3 Requests though, because I for myself don't know anything about scripting, sorry D:
that's exactly what I meant, ITS THIS SCRIPT
How
how do I even make a topic at rgss3
I doubt it is as I pasted it on a clean project and it worked flawlessly.
Anyway, you can post it here
is there a way to have the battlers in the same row,like in final fantasy 1/2,and why do the
spears never work?
spears never work?
Replace line 80 to line 84 with this:
And what do you mean by spears don't work?
Code:
ACTOR_START_TOP = 4.2 # Top position (in tiles) for first actor in party
ACTOR_START_LEFT = 12.5 # Left position (in tiles) for first actor in party
ACTOR_STAGGER = false # Enables staggered layout. Set false and chance start left to 12 for angled line.
ACTOR_STAGGER_HORZ = 0 # The amount to recess each actor to the right (in tiles)
ACTOR_STAGGER_VERT = 1 # The vertical spacing between characters (in tiles)
And what do you mean by spears don't work?
Original thread: https://forums.rpgmakerweb.com/threads/rssbsace-reedos-simple-side-battle-system-ace-edition.18189/