Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Five People In Party... How To Do It?

Status
Not open for further replies.
Sorry to change again. The only problem I have is my fifth character's battler isn't showing up in battle. What do I do to fix this?
 
Ok, this is quite simple.
You must go to Spriteset_Battle, line 37.
Is this:

Code:
@actor_sprites.push(Sprite_Battler.new(@viewport2))

You have to have this line as many times as your battling characters (5 times, in your case).
Copy and paste it.

Then, at line 97, you have:

Code:
@actor_sprites[0].battler = $game_party.actors[0]
@actor_sprites[1].battler = $game_party.actors[1]
@actor_sprites[2].battler = $game_party.actors[2]
@actor_sprites[3].battler = $game_party.actors[3]

below, add this:

Code:
@actor_sprites[4].battler = $game_party.actors[4]


Then, go to Window_BattleStatus.

To line 38, you'll find this line:

Code:
actor_x = i * 160 + 4

This is the x of the battlestatus window. for a 5-characters BS, change the 160 to 128.

Then, Game_Actor. Go to line 573 and find this:

Code:
return self.index * 160 + 80

Change the 180 into 128 here too.

Then, at last, go to Scene_Battle 3, line 81, and find

Code:
@actor_command_window.x = @actor_index * 160

Change that 180 in another 128.

Finish...let me say if this works :thumb:
 
This topic has been resolved. If Anko4t6 or any other users have any questions or further problems regarding this topic, please create a new thread about them.

Thank you!
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top