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.

What scripts do I have to edit to get a larger party?

For my game, I'd like to have a five-person party. Which scripts set the size of windows and cursors in the menu and in battle that I would have to change to have a seamless five-person party? Are there any other edits I'd have to make?

Thanks in advance.
 

ogh

Member

first u need change the number of your party:

Game_Party
line 100:
Code:
if @actors.size < [color=red]4[/color] and not @actors.include?(actor)
change 4 to the number of max players in the party (in your case, 5)

next is change the graphics in classes Window_MenuStatus and Window_BattleStatus to have a visual for 5 members:

Window_MenuStatus:
line 28 (the layout):
Code:
y = i * [color=red]116[/color]
change 116 for anoter number tha gives a better layout (modify the numbers and test it to see the best for you).

line 47 (the "select rectangle"):
Code:
self.cursor_rect.set(0, @index * [color=red]116[/color], self.width - 32, 96)
substitute the valor 116 with the valor that you choised for y at the lines before (just the number valor, 116 on default case)

Window_BattleStatus:
line 40 (the layout):
Code:
actor_x = i * [color=red]160[/color] + 4
change 160 for anoter number tha gives a better layout (modify the numbers and test it to see the best for you).

i guess is this!
 

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