Simple side view battle with changing graphics?

Joined
Aug 24, 2015
Messages
19
Reaction score
4
First Language
English
Primarily Uses
Hello! I'm not entirely sure if this is the right location for this, but I just joined so please tell me if I do anything wrong.

Anyway, I've been working on a game in RPG Maker VX Ace. There's a few things I want, and for the life of me I cannot script anything. If you could find these scripts I want, that'd be great as well!

I want a side view battle system. No animations or anything, just simple side view. I do have a script that does this, here it is:

=beginBasic Side View Battle Scriptby Fomar0153Version 1.0----------------------Notes----------------------No requirementsDisplays battlers for the player's party.----------------------Instructions----------------------You will need to import battlers for the party to usethey should be named like this:name_battlere.g.Ralph_battler----------------------Known bugs----------------------None=endclass Game_Actor < Game_Battler #-------------------------------------------------------------------------- # ● New Method battler_name #-------------------------------------------------------------------------- def battler_name return actor.name + "_battler" end #-------------------------------------------------------------------------- # ● Rewrites use_sprite? #-------------------------------------------------------------------------- def use_sprite? return true end #-------------------------------------------------------------------------- # ● New Method screen_x #-------------------------------------------------------------------------- def screen_x return 450 end #-------------------------------------------------------------------------- # ● New Method screen_y #-------------------------------------------------------------------------- def screen_y return 120 + self.index * 40 end #-------------------------------------------------------------------------- # ● New Method screen_z #-------------------------------------------------------------------------- def screen_z return 100 endendclass Spriteset_Battle #-------------------------------------------------------------------------- # ● Rewrites create_actors #-------------------------------------------------------------------------- def create_actors @actor_sprites = $game_party.battle_members.reverse.collect do |actor| Sprite_Battler.new(@viewport1, actor) end endendThere is one issue I cannot fix. I want it so that you can change your character's outfit and graphic depending on what armor you're wearing (I know how to do that part without scripts), but I want it so it also changes your character's battler graphic. But, this script says that if your battler graphic is labelled, "Name_battler" then it will choose that graphic. I do not want to change the character's name along with the armor. probably not, but is there a script that does this? Or could somebody edit the existing one?

Help appreciated!
 

Ramiro

Now with an army of Mecha-Ralphs!
Veteran
Joined
Aug 5, 2015
Messages
858
Reaction score
364
First Language
Spanish
Here, I changed it for you this:

Now it uses it's character name insthead, so if you change your character's name into armor_guy003.png,

it will look for a battler called armor_guy003.png (because you said you changed the character's name already)

Even if you change the character's name the battler will change.

If you still need to change it according to its equipment, I will edit it again.

Code:
=beginBasic Side View Battle Scriptby Fomar0153 edited by RamiroFomar0153 is based on it original licenseEdits by Ramiro are in the public domain where availableIn other case, the user is free to choose the license to its own likingVersion 1.0----------------------Notes----------------------No requirementsDisplays battlers for the player's party.----------------------Instructions----------------------You will need to import battlers for the party to usethey should be named like this:If you change your character's name into armor_guy003.png,it will look for a battler called armor_guy003.pngActor1.png must have an Actor1.png as battler----------------------Known bugs----------------------None=end
Code:
class Game_Actor < Game_Battler  #--------------------------------------------------------------------------  # ● New Method battler_name  #--------------------------------------------------------------------------  def battler_name    return actor.character_name  end  #--------------------------------------------------------------------------  # ● Rewrites use_sprite?  #--------------------------------------------------------------------------  def use_sprite?    return true  end  #--------------------------------------------------------------------------  # ● New Method screen_x  #--------------------------------------------------------------------------  def screen_x    return 450  end  #--------------------------------------------------------------------------  # ● New Method screen_y  #--------------------------------------------------------------------------  def screen_y    return 120 + self.index * 40  end  #--------------------------------------------------------------------------  # ● New Method screen_z  #--------------------------------------------------------------------------  def screen_z    return 100  endendclass Spriteset_Battle  #--------------------------------------------------------------------------  # ● Rewrites create_actors  #--------------------------------------------------------------------------  def create_actors    @actor_sprites = $game_party.battle_members.reverse.collect do |actor|      Sprite_Battler.new(@viewport1, actor)    end  endend
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top