How to add a 5th character to party and battle?

Hello! I just did an event that adds a 5th character to the party but the character doesn't show up in the lineup nor the battle sequence. Is there a way to fix this? He shows up in the party menu.
The base engine only allows for a maximum of 4 party members in battle. You can change their formation with the respective menu command to determine which 4 party members appear in battle. If you want more party members in battle, you will need a plugin.
The base engine only allows for a maximum of 4 party members in battle. You can change their formation with the respective menu command to determine which 4 party members appear in battle. If you want more party members in battle, you will need a plugin.
Ah, I see. what plugin would you recommend? And is there a plugin for adding in the 5th character?
Ah, I see. what plugin would you recommend? And is there a plugin for adding in the 5th character?

The plugin command "ChangePartyMax X" allows you to change the number of party members (by X). There might also be a default value parameter inside the plugin that you can change. Yanfly did alot of great plugin for RPG Maker MV, though if I recall, some of them need to be paid.
I personally would use Yanfly's Party System, since I own their whole collection anyway. So I haven't looked into any free alternatives, in case you would prefer that.

Edit: Ninja'd

The plugin command "ChangePartyMax X" allows you to change the number of party members (by X). There might also be a default value parameter inside the plugin that you can change. Yanfly did alot of great plugin for RPG Maker MV, though if I recall, some of them need to be paid.
Ok awesome! Which notetags should I put the code in?
Or you can go into your rpg_objects.js and find this line :
Game_Party.prototype.maxBattleMembers = function() { return 4; };
Replace "4" by whatever you want, it'll change the maxBattleMembers. It should in theory work. Always make backup of the .js files before you edit anything.

Ok awesome! Which notetags should I put the code in?
It's not a notetag, it's a plugin command call. Go in your event commands page, and seek for a "Plugin command" action.
Or you can go into your rpg_objects.js and find this line :
Game_Party.prototype.maxBattleMembers = function() { return 4; };
Replace "4" by whatever you want, it'll change the maxBattleMembers. It should in theory work. Always make backup of the .js files before you edit anything.


It's not a notetag, it's a plugin command call. Go in your event commands page, and seek for a "Plugin command" action.
I did the Js change and It fixed the battle screen! Thank you! Is it possible to use the Js file to change to amount of followers too? Or should I go ahead and get the plugin?
YEP_PartySystem allow you to change the max followers too. I'm not sure if it's possible to do it with a simple value-editing on the basics .js I'll check.

Anyway, Yanfly provides alot of useful well-made plugins, if I recall you can buy everything as a bundle for 20$ or something, if you have the money, then you should look into all the plugins Yanfly made, and decides whether or not you should get the bundle.

EDIT : In rpg_objects.js, the maximum followers is designed as such :
1642114988965.png

In others words, it's decided by maxBattleMembers. So if you change the maxBattleMembers, it'll automatically change the max number of followers. You could edit this portion of code to your needs if you want it to set a different max value. Again, always make backup of the .js files before editing them.
YEP_PartySystem allow you to change the max followers too. I'm not sure if it's possible to do it with a simple value-editing on the basics .js I'll check.

Anyway, Yanfly provides alot of useful well-made plugins, if I recall you can buy everything as a bundle for 20$ or something, if you have the money, then you should look into all the plugins Yanfly made, and decides whether or not you should get the bundle.
Oh i know yanfly, I have a plugin for animation from him! If I can change things via JS let me know please, and I'll look into the plugin
Oh i know yanfly, I have a plugin for animation from him! If I can change things via JS let me know please, and I'll look into the plugin
I just edited my last reply about that 👋
I just edited my last reply about that 👋
Oh ok! I didnt see that! I'm not which part of the code I should edit to get to the my desired number of 5.
Oh ok! I didnt see that! I'm not which part of the code I should edit to get to the my desired number of 5.
Nothing ! If you already edited this :
Game_Party.prototype.maxBattleMembers = function() { return 4; };

Because the maximum followers follow the same value, so you have nothing more to edit, it's already updated to 5 !
Nothing ! If you already edited this :
Game_Party.prototype.maxBattleMembers = function() { return 4; };

Because the maximum followers follow the same value, so you have nothing more to edit, it's already updated to 5 !
I played a new game so I can see if anything changed and it worked! Thank you so much!
No problem ! Glad it did ! You're welcome 🙂
No problem ! Glad it did ! You're welcome 🙂
👋

Original thread: https://forums.rpgmakerweb.com/threads/how-to-add-a-5th-character-to-party-and-battle.143938/