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.

XP - Number of members in party limit?

This is something unusual I have encountered while doing some tests on my project, Hearts of Fire and Steel.

Basically, it seems RMXP has a limit to the number of actors you can add to a party at a time, and that limit is 30.

Big deal, I hear you say, because nobody is ever going to have 30 different characters in a party at a time.

Well, hehe, I have. :dead:

(It's mostly so you can equip / unequip things on different party members without going through the hassle of adding / removing them from the party.)

Anyway, it is kind of an odd error and it really shuts out the possibility of making a Suikoden style game with 70 or so playable guys. My plans were more modest, maybe half that at 35-40 which I can easily reach thanks to multiple points of view and a few secret characters, but the upper limit of 30 by the games end is a bit of a crimp on proceedings.

Still, it's another one of those limits in the software nobody knows about until you reach it. When you reach the magic 30, anybody else you try to add simply does not go into the party.

The lesson to be learned by this is, if you're going for this kind of approach with an uber-large party so you can equip multiple characters easily, plan it carefully so you can include the content you want to before you reach the limit.
 
Just thought I'd make people aware of the system limit, it's like the compression limit or the picture limit (is there a picture limit or was that an urban myth?)

Anyway, seeing as there are some Suiko fans about, thought I'd let people know in the event they try to make one and find they only get 30 characters to play with.

(Guess it is a little light on discussion now that you mention it, my apologies)
 
I was actually wondering about this the other day, I thought the limit was 4, so it shows what I know.

My third in line game is infact a suiko level of PC kind of game, so i'll keep that in mind.

Are you sure you couldn't fuck with a script to fix it?
 

Zeriab

Sponsor

By default the limit is 4 actors. If you try to add another character nothing will happen.
You have a custom script which changes the limit to 30 actors. A limit you obviously didn't know about and the reason I believe you are using a custom script rather than having done the editing yourself.
The underlying data structure easily supports more than 30 actors so it has nothing to do with that. You can choose to simple remove the limit.
How you will do that with your custom script I do not know.
I can tell you that you can remove the limit from the default script with this snippet: (Not sure if it works with the SDK)
Code:
class Game_Party
  #--------------------------------------------------------------------------
  # * Add an Actor
  #     actor_id : actor ID
  #--------------------------------------------------------------------------
  def add_actor(actor_id)
    # Get actor
    actor = $game_actors[actor_id]
    # If this actor is not in the party
    unless @actors.include?(actor)
      # Add actor
      @actors.push(actor)
      # Refresh player
      $game_player.refresh
    end
  end
end

*hugs*
- Zeriab
 
Awesome, thanks Zeriab! Yeah custom script was default limited to 30, I'd never looked at that bit before (never had any need to once it was set up the way I wanted it for menus).

*hugs back*
 

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