How can I make my party members more than 3?

So in rpg maker xp, I have been using the caterpillar script, It works fine, but is there a way to make the characters that follow you more than 3? Like 6 or 7 maybe?
depends on the caterpillar script, so you should give a link to the script you're using
depends on the caterpillar script, so you should give a link to the script you're using
I'm using this script for the caterpiller thingy
Hi @Ren_desuku Can you link to the script instead of uploading it directly? It’s always safest to link to the original resource instead of memorizing and looking up everyone’s terms of use to make sure distribution limits are being considered. Thank you.
Hi @Ren_desuku Can you link to the script instead of uploading it directly? It’s always safest to link to the original resource instead of memorizing and looking up everyone’s terms of use to make sure distribution limits are being considered. Thank you.
Ok so here

Much appreciated!
Sooo, anyone has an idea to fix this problem?
The demo has a config option for MAX_SIZE (under 'Setup'), have you tried changing that number? The script is also very plug-n-play, so if your party can be bigger than the default standard of 4, you need to make sure you have a script that can handle that.

If you want some more features, consider looking at Heretic's
The demo has a config option for MAX_SIZE (under 'Setup'), have you tried changing that number? The script is also very plug-n-play, so if your party can be bigger than the default standard of 4, you need to make sure you have a script that can handle that.

If you want some more features, consider looking at Heretic's
Thank you for this! so I already have tested out the MAX_SIZE thing, it didn't work, I also don't know what plug-n-play script do I use, I tried searching for scripts but found no script for rpg maker xp, also I tried to see the project of the link you sent, it didn't seem to have more than 4 characters even when I tried adding some, and it is very complicated to use. Is there any other way? (I know it's hard, but if anyone knows what to do, please reply to this)
Maybe I should first ask how are you even adding more than 4 actors to the party? Trickster's script probably doesn't work because you never added a 5th member.
Maybe I should first ask how are you even adding more than 4 actors to the party? Trickster's script probably doesn't work because you never added a 5th member.
So I wanted to test it first on the real script game, so I added more actors to the party (by using switch) it doesn't seem to work. tell if I did something wrong.

script 3.png
if your party can be bigger than the default standard of 4, you need to make sure you have a script that can handle that.
The "Change Party Member" event command will do nothing if your party already has 4 members in it. The limitation is defined in the "Game_Party" script:
Code:
  #--------------------------------------------------------------------------
  # * Add an Actor
  #     actor_id : actor ID
  #--------------------------------------------------------------------------
  def add_actor(actor_id)
    # Get actor
    actor = $game_actors[actor_id]
    # If the party has less than 4 members and this actor is not in the party
    if @actors.size < 4 and not @actors.include?(actor)
      # Add actor
      @actors.push(actor)
      # Refresh player
      $game_player.refresh
    end
  end
Obviously, you could just change the 4 to a higher number, but all the default systems RMXP uses only assume a party of 4, so menus will look janky and the logic might break in other places.

This is why you need a script for that. I'm not familiar with any though, that's where you have to do your own research.

Alternatively, there's more scripts out there for making reserve party members. The party size will only ever be a max of 4, but there's a separate screen where you can swap members in and out of the party. It's probably easier to just make that compatible with any caterpillar script.
The "Change Party Member" event command will do nothing if your party already has 4 members in it. The limitation is defined in the "Game_Party" script:
Code:
  #--------------------------------------------------------------------------
  # * Add an Actor
  #     actor_id : actor ID
  #--------------------------------------------------------------------------
  def add_actor(actor_id)
    # Get actor
    actor = $game_actors[actor_id]
    # If the party has less than 4 members and this actor is not in the party
    if @actors.size < 4 and not @actors.include?(actor)
      # Add actor
      @actors.push(actor)
      # Refresh player
      $game_player.refresh
    end
  end
Obviously, you could just change the 4 to a higher number, but all the default systems RMXP uses only assume a party of 4, so menus will look janky and the logic might break in other places.

This is why you need a script for that. I'm not familiar with any though, that's where you have to do your own research.

Alternatively, there's more scripts out there for making reserve party members. The party size will only ever be a max of 4, but there's a separate screen where you can swap members in and out of the party. It's probably easier to just make that compatible with any caterpillar script.
OMGG IT WORKED!! THANK YOU SO MUCHH
Usually, Trickster's script allows you to predefine the Party's maximum size and nothing else. If you add this scriptlet, you might be able to change that number in game as many times as needed.

UPDATE 1

Ruby:
# * Trickster's Caterpillar - The Extra Followers MOD * #
#   Scripter : Kyonides Arkanthes
#   2023-10-17 - Distributed AS IS - #

# - Set or Increase or Reduce the Maximum Number of Members In-Game:
# $game_party.max_size = Number
# $game_party.max_size += Number
# $game_party.max_size -= Number

class Game_Party
  alias :kyon_mods_tricksters_caterpillar_gm_pty_init :initialize
  def initialize
    kyon_mods_tricksters_caterpillar_gm_pty_init
    @max_size = Caterpillar::MAX_SIZE
  end

  def max_size=(new_max)
    @old_max = @max_size
    if new_max > @max_size
      add_followers(new_max - @max_size)
    else
      remove_followers(@max_size - new_max)
    end
    @max_size = new_max
    update_followers
    $scene.spriteset.make_followers unless @max_size == @old_size
  end

  def larger?
    @old_max < @max_size
  end

  def max_increase
    @max_size - @old_max
  end

  def max_decrease
    @old_max - @max_size
  end

  def add_followers(n)
    n.times do
      follower = Game_Follower.new(nil)
      follower.moveto(*@followers[-1].xy)
      @followers << follower
      @move_list << nil
    end
  end

  def remove_followers(n)
    n.times do
      @followers.pop
      @move_list.pop
    end
  end
  attr_reader :max_size, :old_max
end

class Game_Character
  def xy
    [@x, @y]
  end
end

class Spriteset_Map
  def make_followers
    followers = $game_party.followers
    if $game_party.larger?
      team = followers[$game_party.old_max, $game_party.max_increase]
      team.each do |char|
        @character_sprites << Sprite_Character.new(@viewport1, char)
      end
    else
      $game_party.max_decrease.times do
        sprite = @character_sprites.pop
        sprite.bitmap.dispose
        sprite.dispose
      end
    end
  end
end

class Scene_Map
  attr_reader :spriteset
end

P.S.

I can't guarantee it will always refresh correctly while walking on the current map. There might be times when you might need to open the main menu and go back to the back to notice the visual changes made to your current party.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-my-party-members-more-than-3.162011/