It's very minimalistic but it's a start, enemy attacks only shake the screen, you can either wait for me or someone else to fix that or just have enemies use skills, also on small battlers animations seem slightly off, it seems ok on bigger ones like the slimes, I suggest just having some blank space around the sprite to make animations hit the centre or waiting for me or someone else to fix that aswell. Other than that this is very minimalistic and working.
Incase anyone wants them these are the sprites I cut out:
http://i4.photobucket.com/albums/y139/F ... /Ralph.png[/img]http://i4.photobucket.com/albums/y139/Fomar0153/VX/Ulrika.png[/img]http://i4.photobucket.com/albums/y139/Fomar0153/VX/Bennett.png[/img]http://i4.photobucket.com/albums/y139/Fomar0153/VX/Ylva.png[/img]
And now the script:
http://i4.photobucket.com/albums/y139/Fomar0153/VX/VX003.png[/img]
http://i4.photobucket.com/albums/y139/F ... /VX004.png[/img]
http://i4.photobucket.com/albums/y139/F ... /VX005.png[/img]
http://i4.photobucket.com/albums/y139/F ... /VX004.png[/img]
http://i4.photobucket.com/albums/y139/F ... /VX005.png[/img]
Incase anyone wants them these are the sprites I cut out:
http://i4.photobucket.com/albums/y139/F ... /Ralph.png[/img]http://i4.photobucket.com/albums/y139/Fomar0153/VX/Ulrika.png[/img]http://i4.photobucket.com/albums/y139/Fomar0153/VX/Bennett.png[/img]http://i4.photobucket.com/albums/y139/Fomar0153/VX/Ylva.png[/img]
And now the script:
Code:
=begin
Sideview Battle System
by Fomar0153
Version 1.0.0
Instructions
First copy this script below Materials then you need to go down to setup and
find lines like:
when 1
@battler_name = 'Ralph'
And edit these to display the name of the battler.
Battlers should be imported through the battlers section of the resource manager
You can change battlers during the game by:
$game_actors[1].battler_name = 'Slime'
I intend to build on this script so check back for updates
=end
class Game_Actor < Game_Battler
attr_accessor :battler_name
attr_accessor :battler_hue
alias side_view_setup setup
def setup(actor_id)
side_view_setup(actor_id)
@battler_name = ''
@battler_hue = 0
case actor_id
when 1
@battler_name = 'Ralph'
when 2
@battler_name = 'Ulrika'
when 3
@battler_name = 'Bennett'
when 4
@battler_name = 'Ylva'
end
end
def use_sprite?
return @battler_name != ''
end
def screen_x
return index * 20 + 400
end
def screen_y
return index * 50 + 80
end
def screen_z
return 100
end
end
Code:
=begin
Sideview Battle System Add-On: Enemy Attack Animations
by Fomar0153
Version 1.0.0
Instructions
Down below you will see:
Atkanimations[1] = 5
You need to add more versions of this line the 1 is the enemy's id in the
database (Slime) and the 5 is the animation's id (Melee/Special1)
=end
class Game_Enemy < Game_Battler
Atkanimations = []
Atkanimations[1] = 5
def atk_animation_id
return Atkanimations[@enemy_id] == nil ? 1 : Atkanimations[@enemy_id]
end
def atk_animation_id2
return 0
end
end
class Scene_Battle
def display_attack_animation(targets)
aid1 = @active_battler.atk_animation_id
aid2 = @active_battler.atk_animation_id2
display_normal_animation(targets, aid1, false)
display_normal_animation(targets, aid2, true)
wait_for_animation
end
end