Party System

Last Updated: 2012.01.23
Download Link
Github Link

RPG Maker VX Ace comes with a very nice party system. However, changing the maximum number of members isn’t possible without the aid of a script. This script enables you the ability to change the maximum number of party members, change EXP rates, and/or open up a separate party menu (if desired). In addition to that, you can lock the position of actors within a party and require other actors to be in the active party before continuing.

Add-Ons

You can change the maximum number of actors that can enter battle at a time. In addition to changing that number, it will also expand the caterpillar (followers) on the field map to whatever that amount is. To change the number of members that can enter battle at a time with you, edit the MAX_BATTLE_MEMBERS constant in the module.

The formation menu item will lead to the new Party changer scene. This scene can be disabled for those who wish to keep using the default formation system. However, those that don’t wish to use it will not gain access to the ability to lock and require actors (which will be discussed later on).

The player can change party members in a more organized fashion while also being able to view actor data shown in the lower right corner of the screen. One of the bigger nuisances for the default formation system is the lack of ability to view actor data before switching them in without having to constantly switch to the Status screen. This will save an extra step for players that wish to view the actor data.

Lock actors or require them for parties, too! To lock an actor, the new party menu must be enabled. After that, use a script call to load any of the following commands

lock_actor(x)
unlock_actor(x)

This will lock actor x in its current position in the party if the actor is in the current party. The actor is unable to switch position and must remain in that position until the lock is removed. Use the unlock script call to remove the locked status. This script requires the actor to have joined and in the current party before the script call will work.

require_actor(x)
unrequire_actor(x)

This will cause the party to require actor x in order to continue. If the actor isn’t in the current party but is in the reserve party, the party menu will open up and prompt the player to add the required actor into the party before being able to continue. This script call will not function unless the specific actor has joined the party, whether it is in the current or reserve. call_party_menu This will open up the party menu. This script call requires for the party menu to be enabled to use.

Version v1.01 lets you change the sprites shown at Party Select Window to faces instead! Change the DISPLAY_FACE constant in the module to true to show faces. Change it to false to revert it back to sprites.

— And that’s all, folks! —

269 comments on “Party System

  1. This is pretty sick. Does it automatically change the battle windows as well to reflect the new battle characters? I would find out myself but I’ll wait till the full version comes out.

    • OH.. QUESTION! i’M USING THE TAKESHI BATTLE SCRIPT AND THE PARTY SYSTEM DOESN’T SEEM TO WORK WELL WITH THIS?.. WHY?… PLEASE HELP. WHENEVER i LAUNCH THE GAME IT GIVES ME ERROR FOR ONE OF THE LINES OF THE TAKESHI SCRPIT.. MAYBE CAUSE ITS MADE ESSENTIALLY FOR.. 4 PARTY MEMBERS..?

      • ah it appears that although the event that adds the new actor has added the actor for him to appear in the caterpillar you need to ‘refresh’ the formations by changing the new actor for themselves before there shown in the caterpillar.

      • Hello, I have similar problem with 1.08 version of script.
        I added your party script into my game “during progress”.
        Friends who playing my game has played more than 40hours and I am adding new features and content during their play.
        If I add 5th (or more) member into party, caterpillar does not expand (everything else is working fine including battle, reserves etc.) and I did not found way how to expand it.
        For new games it works fine.
        There is probably problem me and my friends had save game prior to your script included into project.
        Is there any other way to solve it without need to play whole my game from fresh start?
        Thank you and sorry for my language level :)

    • No, it is for the new one coming, RPG Maker Ace. If you are looking for a compatible Party System for VX made for Yanfly look for the Engine Zealous which have one.

  2. engine zealous? hmm i can’t seem to find it? is there any links :) too bad it’s for rpg vx ace ;p I want this script so bad it’s perfect XD

  3. When I select Remove or an empty field in the Party List, happens an error .

    Please fix this.

    I leave here a list of suggestions for your script:

    -Give the choice of don’t display the actor sprite in the list.
    -Do visible the selection field in the Party Select window only when you had selected any command, if someone is using a cursor mod, without modifying this the menu looks weird.
    -May you add “-In Party-” and “-Reserve-” tags instead of change the font color for the members in the party?

    I would do all by myself, but I have zero knowledge of scripting at this moment.

    Thanks in advanced for all.

    • I forget to leave this suggestion:
      -Add the choice of don’t see the characters in reserve on the general menu, inventory, equipment, skills, etc.

    • This bug doesn’t occur. You can select Remove on an empty field and no bugs occur. If you do, try a new game and then try again.

      > “I would do all by myself, but I have zero knowledge of scripting at this moment.”
      http://www.ruby-lang.org/

      Sorry, but I don’t see that as “I would do all by myself” when there are so many resources online to teach you this programming language.

      • I was not requesting guides, but thanks anyways… I was asking you improvements for your system, then, will you include on your system some of my suggestions?

      • About the bug, this is the message..
        “Script ‘Party System’ line 892: NoMethodError ocurred. Undefined method `exist?’ for nil:NilClass.”

      • @Daem: It most likely is due to conflicting scripts (of other authors), since Shanghai didn’t discover any bugs in her test run.

        I’m assuming Yanfly is making something similar to Equip Skill Slots – in other words, other systems. It’s often tasked to the user to customize the scripts for the rest, however. Usually because they’re less important than the core system in general.

        Also, Shanghai is not Yanfly.

    • Not sure how you’re getting the error for this but I attempted to fix whatever it is you’re getting.

      v1.06 – Bug fixed: Error with removing members.

      Furthermore, all features included in this script are final. Nothing more will be added. You can request others to add in the features for you.

  4. Maybe I’m just understanding this wrong but I guessed that the following:
    RESERVE_EXP_RATE = 0.50 # Reserve EXP Rate. Default: 1.00
    governs how much experience points members in the reserve get.

    I tried it with different values and none of them seem to work. :/

    None of the guys in the reserve (those not in the battle themselves) get any exp.

  5. I love the update of V1.01! That was one thing that I didn’t like, those sprites. The faces are way better. Good job there! ;)

  6. Can’t the number of the maximum battles be changed here on the way by an event command etc.?
    Moreover, can’t a battle member duplicate member’s exchange be operated now by an event command similarly?
    Although I wish I can change at the producers instead of a player …
    I am sorry.

    • This is a good idea!

      v1.07 – New Feature: Maximum Battle Members Variable added.

      To use this feature, set MAX_MEMBERS_VARIABLE to a variable ID. That variable’s value determines the maximum number of party members used in battle. Be cautious about using this during battle.

  7. Thank you for the quick action.
    the checking of operations of a battle member’s number change — it carried out.
    It is fortunate, if it cuts down with the battle member in another event and I also get a member’s change to inquire.
    Even if it is going to change in an event … In the present thing, the member whose row is the point will be pushed out and it will be added to a member.
    I am sorry when language is unclear.
    Since the support attack (what an actor participates in a battle temporarily and attacks an enemy) under battle is [ be / it ] under work
    A request comes out [ made / it / have you ].
    Then, I am sorry.

    • I’m actually unsure of what you’re trying to say. It’s okay to write it out in Japanese by the way. I can read JP a little. Though, if you do write back, I won’t be able to respond until later tomorrow (since it’s very late at night for me), haha.

  8. I am sorry.
    Exchange of a battle member and a standby member
    Event command
    Can’t it carry out by script command?
    A lower text is written in Japanese.

    戦闘メンバーと待機メンバーの入れ替えを
    イベントコマンドの上級の
    スクリプトで行うようにできませんか?

  9. Yanfly, I have a good idea for this script. You might add an option to force to having a character of type “X” in the group or to limit the number of characters of this type that you can have.. For example, I want to have in my group formed by 5 characters 4 human characters and 1 troll by force. I can add the number that should want of characters, but there has to be always minimum 1 human character and 1 troll character, and also to be able to activate or deactivate this option or the types that must be.
    I hope that you like this idea. ^_^

    • For example, this might serve for a system of pets. Only there can be a character with the type “Pet” in the group and debit of there being more of one with the type “Hero”. Another idea is that the quantity of the minimums and the maximums could be changed by a Variable, and another idea would be that the characters could have more than one type assigned.
      (I was thinking very much xD)
      PD: Sorry again 4 my bad English V_V

  10. Bug Report: When there is an empty space on the current roster for shown/battle members AND there is actors in the reserve roster THEN you add an actor, the actor gets added to the shown/battle party, but on the main menu they are added to the bottom of the list (even though they might actually be the third member, they show up last on the list).

      • Is there a script call for a party roster menu?

        My intention is to use a script call from a conditional branch of menu choices to bring up a party roster menu.

      • Is there a way to get a hold of version 1.07? I prefer the party members getting added to the bottom of the list instead of the top.

  11. can put add-on? like a switch wether or not to activate change party in battle through event or script call in mid of gameplay?.
    when in battle if all active batle member dead its considered game over, even though reserve member still alive. can prevent game over and go to party menu instead?

    • oops sorry, correction. the switch is already there,
      but still
      when in battle if all active batle member dead its considered game over, even though reserve member still alive. can prevent game over and go to CHANGE PARTY MENU instead?

  12. Anomaly Report.

    I tested your script, and I found ‘lock_actor(x)’ script call isn’t working as you explained on my project.

    I’m not using Yanfly Engine Ace. I placed your script at the top of ‘( ここに追加 )’ scripts array. And I was able to lock first actor using config @ line 120, and requiring specific actor using ‘require_actor(x)’ script call without any modification on your script. But ‘lock_actor(x)’ was not working.

    I modified line 392, new method : lock_actor
    return unless $game_party.battle_members.include?(actor.id)
    ↓ (into)
    return unless $game_party.battle_members.include?(actor)

    and then, ‘lock_actor(x)’ worked. (I didn’t tested further by the way. i.e. using the script call on the actor not in party or something with this modified script)

    Could you check the line 392 and 402?

  13. I tried everything I can think of, I can’t get the actor to lock. I call the script, the event runs, but the actor is still unlocked. :/

  14. Hi! this is a great script, is there any way I can make it compatible with jets 2d script? And if so, what do i need to do for that? Thanks =)

  15. I have it set to where the actors in the current party are locked at all times unless on a save point, which then you can change actors freely. Is there a way to let a user change the actual formation of a locked party? I don’t want someone to be able to change party members out freely at any given time, but to at least be able to change the formation of a party.

  16. Is there a way to determine ‘true or false’ if an actor is in the current party? Like say one actor is in my party but merely reserves. Is there a way to check that?

      • To specify, I want the player to be able to choose their party but have the party members have their unique own dialog at certain places. So if this member is in the party, he says this, BUT if this member is in the party instead the he says this.

    • I just figured this out a while ago. You need to specify an actor position if your party has more than 4 actors. Go to the first page of Tankentai’s script, and the first thing you should see is the coordinates for actor positions during battle. You should add another set of brackets inside the larger set after the forth one, and follow the [+20,+15, 0] pattern (I think) to put the actor in proper position. I subtracted a little bit for each of the previous values to fit five people into the scene, so if you need to do that, go ahead.

  17. can you make a convoy character on the list like suikoden series please?
    and how i use MAX_MEMBERS_VARIABLE in the event ? i use MAX_MEMBERS_VARIABLE as ID on the variable and set it to 4 but my party is still 6 character after battle? how i can change the party from 6 to 4 after battle?

  18. When test the script i keep on getting the error:

    Script ‘Scene_Battle’ line 318:NoMethodError occured.
    undefined method `move_x’ for nil:NilClass

    how would i fix this?

  19. Okay, I need some help here. I typed in lock_actor(1) in a script call but it didn’t lock my character, and the character is at the top of my character data base list….

  20. I have a question: Is it possible to increase the amount of battle-present characters ingame, like, for a single battle? And then reset it to the normal amount of characters?

    To clarify, at one point, the party (5) fights a massive beast, alongside two batteries of cannons, who will function as invulnerable, auto-controlled characters, that result in game over when the rest of the party is dead. Is it possible to change the number of battleworthy characters to 7, and then back to 5 before and after the battle respectively?

    • Whoops! I’m a moron!

      In the comments, literally just below the section where you define how many battle-ready characters are allowed, there’s a section that lets you assign this to a variable.

      Sorry for the inane question, and thanks tremendously for making your in-script commentary so awesome. I’m going to try to do my script-comprehension at times that are not 3 in the morning from now on.

  21. For you guys that can’t get Actor_Lock to work, change line 392 to this:

    return unless $game_party.battle_members.include?(actor)

    Just delete line 392 completely and put ^ in its place.

    You can thank Olive for that little fix Yanfly seems to be ignoring….

  22. I have 8 characters/actors made yet the menu only shows the ones in my current party. How to I make the others available to be put into the battle group?

  23. What I figured out short after posting was I just had to add those characters to the party, despite the battle group being at 4. So it all worked out.

  24. That script is awesome, but I kinda have a compatibility problem…
    I’m using Fomar0153’s Animated Battler Script, but if I start a battle with your script, it says that there is a failure:
    Script ‘Animated_Battler’ line 190: NoMethodError occurred.
    undefined method ‘battler_name’ for nil:NilClass
    Is there a way to make it compatible?
    Greetings

  25. Question: Im currently overseas and cant access my Ace right now to check (using public internet now), but is there a way to change the face pictures shown on the lower right hand side box that shows the stats and equip to actor portraits instead?

  26. Hi Yanfly, ty, for all your nice work, im having a problem, i have your battle ace engine and the ace engine, i want to use your party system but when i plug in the script an error ocurs at the start of battle saying error in line 2743, undefined method ‘move x’ for nil:nilclass, can u help me please?

    • Sorry i now solve my problem, im usin jet’s simple sideview, i just need to put jet’s at the bottome of the list and all your’s first, now problem solve, sorry for bothering, good luck, awesome work, i love your scripts.

  27. Hi awesome work, just a Question does this work with Tankentai side view battle system? Because every time I go into battle there is a error popping out “Error 222″( data = N03::ACTOR_POSITION[@battler.index].dup)
    thanks for you help :)

    • You need to go into the first page of Tankentai’s script. The first thing you’ll see is the coordinates for actors in battle. Each set of coordinates is for party members 1, 2, 3, and 4 in order. Just add another set of brackets after the forth one, follow the pattern in each of the coordinates (I think it’s something like [+20,+15, 0] maybe) and there you go. All you need is coordinates for each actor based on your party size, and there’s no problem with the script at all. You can also proportionally decrease the values for all of the coordinates to squeeze in more people.

  28. How do I erase the second instance of -Remove- in the formation menu?
    Right now the list goes:

    O -Remove-
    » Character 1
    » Character 2
    » Character 3
    O -Remove-

    But I don’t want the second -Remove- to appear. How do I remove it?

  29. I have a bug it may be, if the characters are in the reserve party, conditional branches do not count them as removed from the main party

  30. Just because they aren’t in the battle party does NOT mean they are not in your party, there is no bug with the script it is your misunderstanding.

  31. i got a “sprite initialize” error when i tried to change max battler members to ‘6’.
    everything was working fine when it was ‘5’ members.

    it said it had no method for the following:

    return unless $game_party.battle_members.include?(self)
    @origin_x = @screen_x = @destination_x = SYMPHONY::ACTORS_POSITION[index][0]
    @origin_y = @screen_y = @destination_y = SYMPHONY::ACTORS_POSITION[index][1]

    plz help, thanks!

  32. How can I force to switch party members? I want actor X to be in position Y, but with an event command. Can I do this with, don’t know, script call?
    Thank you ^^

  33. Not sure if anyone else is coming across this issue, but when I add an actor to my party, all is good. But when I remove an actor from my party back into my reserves, they are out of the group and out of battle, but their portrait still shows up grayed out in the menu, how to I fix it so their portrait does not show up at all in the main menu?

  34. I can not get the script call lock function to work…
    Clear as day, I put in the script lock_actor(1), and still that actor can be switched out, and I have the party system enabled. I even locked all the actors and I could still switch them. So I was wanting help.

  35. This is great, its really helpful for me because I wanted to have 8 characters with only 4 usable at a time. I question though, how do you prevent your other party members from following you on the world map? I just want them in my party in cutscenes and battles, having them follow in the world map looks sorta silly XD

    • Go to tools then click database. From their go to the right and hit system. At the right on this page it shows options. Under the list of options it shows a box and to the right it says “Show player followers” un-check that box and your followers will not show up on the map, but they will be there.

      Hope this helps.

  36. I can’t get this Party system script working together with Battle Symphony, if I choose to have more than 4 characters in a battle. With 5th character, game crashes at the start of each battle.

    Error: Script ‘Battle Symphony’ line 1725: NoMethodError occurred. undefined method ‘[]’ for nil:NilClass

  37. hi. this is an awesome script, but i dont want the “remove” option. because if i remove actor (X), the actor (X) won’t show up for any cutscenes. do i have to “require” actor (X) all the time? how do i fix this? i really need to know. by the way, thank you for this awesome script :D

  38. I have a weird issue. I’ve locked actor 4 in place successfully. However, when I add a new member, they get placed in a slot above that character rendering them no longer the party leader. I’ve tried a number of potential solutions but to no avail…

    Help me?

    • The way VX ace works always the highest “position” will get used as leader -> If you want to keep actor 4 as front actor just put him in slot 1 and lock him there, that should do it. If you still get any problems with changing actors that’s probably a problem with the script as it worked fine for me when I tested it like I noted above.

      • Me too, tried everything to fix it, not working, player is above in priority in the database, and a lesser player is overtaking the locked rank 1 priority character in the party menu, which effectively changes the caterpillar and so forth. Here’s what happens to me, I start the game solo, leader is position locked properly with the gold star, I add a player to the party, he takes leader position without a lock, but can’t change formation with intended leader where he remains locked but now in slot (position) 2 in the party menu, adding a 3rd and 4th party member both work as intended and below the priority lock, it’s just the first addition to the party that fails.

  39. I’m getting in error. Someone please help.
    Whenever I enter a battle I get this.

    Script ‘Sprite_Battler’ line 80: TypeError occured.
    no implicit conversion from nil to integer

  40. Referring to my problem. I’ve fixed it, but only through setting up my parties a different way, which rippled through the game and caused me to have to change a lot of events. It’s a bug in the script, it must be.

      • it’s not a bug (100% sure :D). it set that way. if you lock the actor in slot 4. but you don’t have actor in slot 1,2,3. then of course it will add the actor in slot 1.
        and by default it will search the lowest index as the leader.

        and if you see in the scene we can left the slot 3 blank but still have slot 4 have actor.

        it’s your fault from the beginning. why didn’t you lock the actor in slot 1 instead of slot 4. :D.

        i also found yanfly apporach by letting the slot 1,2,3 empty is good. since i can create my suikoden formation system because of that.
        i can make my party like this in battle (i use sideview battle system)
        e x e
        x e x

        e => empty
        x => has actor.

  41. Can you forcibly remove an actor, and replace him/her with another?
    For example, an actor summons a character to take his/her place, and at the end of battle, replace with the summon, with the summoner?
    (creating a skill to dismiss the summon too?)

  42. I can’t get the lock_actor(x) script call to work. I’ve read the comments above, tried Olive’s solution and it still won’t work. My script call reads:

    lock_actor(1)
    lock_actor(9)

    • Is it locking the 1st actor? If so, you may just need to add actor 9. If not, try the suggestion Olive gave, start a new game. Also are you getting an error? You may be editing the wrong part of the script.

      • Both Actor 1 and 9 are part of the party when the script runs. No error, just not locking. The script runs at the beginning of the game (after the actors are added) so I always end up testing it by running a new game.

  43. I have a simple question; can someone give me an example of using the require_actor script call? How to, or when it would be a good idea to use this.

  44. @Healey1991: Ok, did you change (actor_id) => (actor) or (actor.id) => (actor)?
    I made that mistake the first time. If it isn’t that I don’t know how else to help. I’d
    recommend using another party script (if there is one).

    • Took me a while but finally resolved the issue. I was only changing the script at lines 392 & 492. As soon as I changed every instance of “actor_id” & “actor.id” to “actor” between lines 386 & 428 everything worked fine. I didn’t think I needed to change it for require_actor but apparently I was wrong :P. Thank you so much for your help!

  45. I can’t remove actors permanently. I reached a point in my game’s story where the main character is supposed to be alone, and I’ve tried using both the RPGM event command and a script call to remove all other actors. They go away just fine, but their followers remain. Also, as soon as I gain access to the party window again, they’re there again, and automatically jump into my party. So I have one person, being followed by two people that don’t exist, one other person joins me, and all of a sudden I have a full party of three with one reserve. What do I do??

  46. On the Party List side of the formations menu, instead of the actor sprite head, cut off by the ACTOR_Y_BUFFER, next to the name of the actor, can we go into the code and make it to where all the actors had the same sprite face by their name? and if so, could you please tell me how? i’m trying something a little different for my game. Please please please? :)

  47. Is there a way to set it so that you don’t see characters in the menu that aren’t in the party? Because even if I only have one party member, I can still see all others greyed out in the menu. It’s not a big deal but would be nice if there was a way to change this.

  48. my 11 party member doesn’t appear on the map, I already changed the MAX BATTLE MEMBERS in the script to 11, and 12 but it doesn’t work… also, in the game system, game objects, game_party, I changed the (* Get Maximum Number of Battle Members) max to 11, but it doesn’t show it either… is the max members just up to 10 in this script?… because I want to make 12 party members at least…

  49. Two questions:
    1) Is there a way I can check if [actor X] is in the active party or reserve party using Conditional Branch?

    2) Can I force an active party member into the reserve party?

    Thank you in advance.

  50. I’m gonna be using this script for my game as well, but i have a problem. I’m trying to make an event in my game where you have 5 characters to choose from, but can only take 4. main character is locked in the party, 2 of them are reserve slots, so i just need 1 more party member, but they don’t appear in the party select screen. everything else works fine,

  51. I have my max party size set to three, and I have the faces centered.
    When I go into battle, however, when someone attacks, it creates an extra image of the actor in front…. I’m lost.

  52. Is their a way to make it so the fifth slot is sorta like a guest slot? I want the last slot to be a slot where only a specified person can enter and you can’t mess with that character in anyway. Sorta like Final Fantasy XII.

  53. Is it possible to remove the two -Remove- commands from the party member menu completely? In my game I need to be able to change between my party members, but the party size can never be smaller than 4.

  54. does this script make it somehow possible to remove an actrom from the active battle party? like, in an event i want to use a script snippet like.. i don’t know:

    remove_actor(1) so that he will still be in the party but not be one of the active battlers.

  55. Hey there, this script is absolutely great!! I love it!

    But, there is one bug i think. If i set ENABLE_MENU to false and use the regular formation menu, it does not affect the order in which the party members walk.

    is there a way to fix this?

  56. It looks like Yanfly isn’t continuing work on this, but I have a bug to report anyway. I want to use the MAX_MEMBERS_VARIABLE to have my max number of party members change whenever I need (it works fantastically mid-battle by the way, even works with other scripts), but I do not want to use the whole party formation menu that comes with the script – all I need is the default way to switch formation that comes with Ace. However, when I make ENABLE_MENU = false, it doesn’t properly default back to that. It looks like it does in the menu, and the position in the party moves as it should, but the character displayed does not change, and it does not do anything to switch their position in battle.

  57. I don’t think I’m doing anything wrong but the download link does work, well like it pops up and like ‘save link’ go to folder its in but when I click it it says its not a file or the file is not found (around those lines), help?

  58. Is there any way to detect if an actor is the active party? I don’t want to require a character, just have something happen if they are an active party member.

  59. I keep getting this error: NoMethodError occured. undefined method ‘update’ for nil:NiClass. The code that it get’s stuck at is this: @effect_sprites.update
    Any ideas? I’m am using tankentai, but only with 4 party members in battle. I just want to use it as a party switcher.

  60. Would there be any way to add bonuses based on which position a character is in the formation? For example, receiving a defense bonus for being in the back row during combat.

  61. Hey Yanfly! I love this script, as I do all the ones of yours I use.
    But I have an issue, the script command lock_actor(x) doesn’t work for me?
    The option to have the first character locked by default works, yet when I try
    to use lock_actor(2), it doesn’t… well… LOCK him. The menu IS enabled and he IS in the party at this point, so I was hoping you could help?

  62. Getting this crash= “Script ‘Sprite_Battler’ line 80: TypeError occured”
    It seems to only happen when i remove a character in the formation. When the formation has all current characters in it it tends not to crash. I’m using the yanfly battle script and yanfly visual battlers. Any input is appreciated.

  63. I’m curious as to whether I can make it so that the party members who are not active in battle are not accessible to use skills from the menu.

  64. I keep getting a line 667 error ” draw_icon(Icon.locked_party, rect.x+rect.width–26, rect.height – 26) ” I know this isnt a script confliction problem as i have tried running the script in a new project. This script would be awsome if i could get it to function. any help?

  65. To anyone using exp splitting:
    If you don’t want dead party members to make exp seemingly ‘disappear’ after battle and want the exp to be divided among living battle members, go to line 232 and replace this:
    n /= [$game_party.battle_members.size, 1].max if YEA::PARTY::SPLIT_EXP
    With this:
    n /= $game_party.alive_members.size if YEA::PARTY::SPLIT_EXP

    • hi are you good at scripting can you try n find if this script works with victor scripts i cant enter battles when i use this script and i want to have a FF7 type party system like a check point to change members only and no change members in battle or from the menu.

  66. I am getting this error while testing this specific script: “Script sprite battler line 80: TypeError Occurred” when I start a battle. I have 3 scripts in, the side view battle, Command Party and this one. I don’t know what to do.

  67. Hey yanfly, I got a question for ya: You noticed you set this up to allow actor faces to display instead of sprites, can you do the same for the reserve party member list? I guess this is a request but it’s one that’s vital for me as my current game set up is using a custom sprite setup which makes my reserve party members look like this: https://dl.dropboxusercontent.com/u/59396144/Actordisplayissue.png
    If you can at least tell me how to have your script call for a different sprite sheet at the very least I’ll take that.

  68. Cool script! It’s one I will most certainly use. I only have one problem though. The use of ‘call_party_menu’ is linked to the ‘ENABLE_MENU = true’. I do not want to allow the player to change the formation in the game unless they talk to some special NPC (like an innkeeper). Any way to change this?

    • NVM, figured it out. Set the ENABLE_MENU to false in the script. Then drop the following to that special NPC (inkeeper, or Santa in my test project :D):
      YEA::PARTY::ENABLE_MENU=true
      call_party_menu
      YEA::PARTY::ENABLE_MENU=false

  69. Right now I’m using a common event system which changes dead characters into the coffin sprite. But if the lead character is dead, then the party is led around the map by a mobile coffin.
    Could I use this script to automatically send dead characters back in line so a living character is leading the party?

  70. I doubt anyone will bother seeing as how support for this script doesn’t seems to have stopped (understandably so). I figured I’d ask anyway.

    Is there a way to enable a party member without directly adding them to the party first? I would like to “enable” characters that can be added to the party, but not right away. Like, after you help them, you can then go into the menu back at the home base and select them from the list of available party members.

  71. I love this script, but I have two requests to make it perfect. it. 1. A script call to require a number members for party. 2. An option to to HIDE the reserve members from the regular menu. For default, they appaers transparent. I hope it still gets updates as the swap members snippet.

  72. Okay nevermind, I found the links in his news about dropbox down. However, for some reason he didn’t upload the Party System first before all the add ons for it. That seems really weird.

  73. I would very much like to download this script and use it in my project, but it is still showing a Dropbox Error (509) due to overuse. Can someone please provide another link? Thank you.

  74. I love this script! Thank you for making it, though I have a quick question. Is it possible to have it where two party members cannot be in the active party at the same time? In my game there are two characters that start off disliking one another and I thought it would be a fun challenge if you had to build your party around this problem.
    Thanks again for this awesome script.

  75. Hey!
    I really like this script and the other scripts from here.
    But I have a problem with the party system script. It works for me, but when I have locked an actor, its impossible to unlock him. It seems the unlock command doesnt work. Have anyone a similar problem or a solotion for that?

  76. The party system works like a charm, but I do have a question to ask. I hope somebody on here can help me figure this out. I want to set up a variable that sets the value to the number of “active” party members and not the entire party. What I mean, for example, if I have party size of 5 and I have 8 members on reserve and I decide to put 3 of them in my party, I want the variable to recognize that I’m using 3 party members, instead of just saying I have 8 party members. Is there a way I can set the variable on some sort of common event every time I change my party to set to the number of players I’m using currently?

  77. can someone post the script because the one from the link above is only for five people in your party or if im looking at the wrong one could someone tell me where the right one is.

  78. the script works fine for me but is there a way to use a script call only to get to the member change screen? i want to use a savepoint that does member change if i turn ENABLE_MENU = false then none of it works, people who make lots of scripts better be prepared for a tone of questions because every script isnt 100% workable when anything<<< can go wrong but nope make all theses scripts then just be lazy with the answers

  79. also this dont work with side view battle script? i get an error trying to do battles with this script and im not gonna have a first person rpg game as it normally is thats soo old, im not making a Nes rpg game and i DO need a member select screen so what can i do?, it also seems that alot of yanfly scripts are for first person battles n thats stupid even when the scripts have nothing to do with battles i barely can use any of these scripts here just because i want a side view battle system like FF games

  80. the script is now working but usless to me when i dont have a choice to enable or disable party system from menu with script call and is yanfly dead? bc s/he stop helping anyone and doing nothing else.
    i hate super heros that sit around and do nothing and wont help others, just like when people make scripts and dont help others.

  81. is there a way to disable the caterpillar? I only want one member showing on the field, like on the old final fantasy games

  82. For the guys who gehts the strange Error:

    —————————
    Project1
    —————————
    Script ‘Sprite_Battler’ line 80: TypeError occurred.

    no implicit conversion from nil to integer
    —————————
    OK
    —————————

    just change in “Visual Battlers” this line:
    total = $game_party.max_battle_members

    to this line:
    total = $game_party.battle_members.size

  83. I keep getting an error when i want to start a battle: Script ‘Party System’ line 1:SyntaxError occured,
    unexpected tEQQ
    ========================…
    help please

  84. This computer is still a new computer with much to learn about moving on the Visual Battlers script! How do I teach it how to work with both this script and Visual Battlers?

  85. help me, i cant unlock the locked actor. Can someone please help me with this? I have tried to use the script call and write ‘unlock_actor(1)’ but it doesn’t work…

  86. Help ever time I battle with this script it says: Script Sprite_Battler line 80: TypeError occurred no implicit conversion from nil to interger

  87. This might be done before, but it’s new to me. I want the party-swapping to occur only at certain maps, such as a headquarters or camp, instead of having it done while exploring or in a dungeon. Is there a way I can do this?

  88. Nice, I really like it. Ehrm… I am really a noob with the scripting part of RPG Maker so I have some kind of stupid question… What can I do if I want to make the party menu unavailable when the character enters to X map? And then, how can I make it avaiable again when he goes out of the same map?

  89. Pretty useful script, but one observation: When a party member is set to “required”, you can’t even shift their position within the active party. They might as well be “locked”.

  90. Is it possible to use this for the opening Character Creation Screen where they select from a list of character to create their party of 4 or 5… And not have access to the system after this?

  91. When I’m trying to use the Swap Fix add-on, it tells me there’s an error in the “Game_Actors” line which it then directs me to this “return nil unless $data_actors[actor_id]” … i put the add-on script at the end of the Core script, although I’ve also tried making a new page for it underneath the Core script, I’ve got no clue why it’s not working..

  92. so i feel like a noob, but I’m struggling with MAX_MEMBERS_VARIABLE, in that the line is causing my game to crash on startup because nil is not defined for []. What am I doing wrong?

  93. When I make multiple party members the party (excluding four actors) vanish, but they still function. Is there a way to fix this?

  94. “Script ‘Party_System’ line 208: NameError occurred.

    uninitialized constant Object::Game_Battler”

    Help!

  95. Sorry, I’m not following this at all. It says to change the “Max battle members in the module.” I go to Modules within the Scrip editor and there doesn’t seem to be anything pertaining to party member numbers. So I thought I’d make my own and type what I want the max number to be (10 in this case). However when I add a 5th member, the formation window does not lead to the format shown in the picture, the 5th character does not appear on the field or in battle; simply as a ‘reserve.’

    What am I missing here?

  96. Anyone know how to find the currently active party members via a script call? Like maybe put the actor id for each slot into a variable?

  97. Rob, I don’t know if this is exactly what you’re looking for, but Yato has a snippet that works with this Yanfly party system that improves how the system handles “Active” party members:
    http://forums.rpgmakerweb.com/index.php?/topic/25980-ace-yanfly-party-system-reserves-out-of-the-menu/#entry463111

    I then just did the long form version using a series of conditional branches and variables so if Actor X was in party then variable x gets affected, etc. etc. A bit long, but I’m still brushing up on my scripting so it technically works. However, without the Yato snippet, the Yanfly party system considers everyone in your reserves as an active party member.

    Depends what you mean by find… I’m guessing you mean determine which actors are in the current party?

  98. Yes, that script looks like it might work. I’m still not sure how it works though – how does it differentiate between actors in the active party and actors in the reserve? If I were to create a conditional to see if, for instance, actor ID 2 was in the active party, how would I do that? I’m assuming I need to use a script call in the conditional. The snippet’s not very well documented, so a bit tough for a ruby newbie like me to read, but I might be able to figure it out if I stare at it long enough…

    • I’m a total Ruby newbie too, no worries. So put that Yato snippet in as a separate script (not sure if it can be used for commercial games btw). Once that is part of the game the yanfly system differentiates between active party and reserve party. (Don’t ask me for an explanation of the mechanics).
      The I would think the easiest route would be a conditional branch > Tab 2 – Actor X is…”in the party” > turn on a switch that can then affect other branches. The Ace eventing functions already have a way to check if some actor is in the party, no advanced scripting required.

      • Thanks for the explanation. I suspected this might be the case but that left me wondering then how to determine if an actor is in the reserve party. Basically, with this script an actor can be one of three states: 0 – not in the party, 1 – in the active party, and 2 – in the reserve party. So we can apparently differentiate between 0 and 1, but what about 2? At this point it’s pretty much hypothetical since it’s not really something my game mechanics need at the moment, so if this works well enough to find the active party members I’m good to go. Admittedly I havent had a chance to test this yet.

  99. Got a problem that I can’t seem to find in the comments. When I drop to anything less than a full party(5) and enter a battle, it crashes. Pop-up window tells me “Script ‘Sprite_Battler’ line 80: TypeError occurred. No implicit conversion from nil to integer.”

    Anybody for a fix for this?

  100. When I get a fifth party member, ingame, it does not show the 5th party member. I have the MAX_BATTLE_CHARACTERS variable in the script set to 5, but the 5th one is not being rendered. They show up in battle, save file, and party menu. Help?

  101. I’m a total noob when it comes to scripting, how do I access the party member swap in battle? When I play tested after putting the script in there wasn’t a “formation” or “swap” command during combat, how do I put one in?

  102. Forget my previous comment, I put in the add on and now it works.
    My new issue is that even though it is compatible with the Aeon Party script by Fomar0153 which is a Final Fantasy 10 style summon system, when trying to swap party members while an “Aeon” is summoned the party swap menu cannot be exited.
    Can this problem be fixed or worked around? or am I going to have to pick one or the other?
    Fomar0153’s script can be found here: http://cobbtocs.co.uk/wp/?p=161

  103. Hey! Is there a way to only show the party members that are currently in your party on the main menu? In the game i’m making, you capture monsters and add to your party so having a the menu display 20 characters when you can really only have 3 in your party is kind of annoying. Thank you!

  104. Hi, sorry if I posted in the wrong spot, I have not really posted on a forum before. I’m pretty new to RPG Maker, and I’m already a fan of the Yanfly scripts. I have figured out how to transform player actors into other actors (Like an actor shape changing into an animal) using skills, states and a common event. I wanted to try out the Yanfly party system and found that when an actor is removed from the party line up, it is swapped to the next slot when the transformation takes place, booting out the actor that was previously in that same spot. I was wondering if anyone had any ideas how I could fix this. I’m very fresh to the community and appreciate your insight and patience.

    • Sorry, I am using RPG Maker VX Ace of course, and am using 4 party spots with about 10 characters in all to swap between. I’m not sure if there’s an easy way to show how I have the events set up, maybe a demo?

      • TDS wrote this little snippet last year for this issue I was having with summon monsters. Well I think this is it. Stick it right below Yanfly Party System and see if it helps.

        #==============================================================================
        # ■ Window_PartyList
        #==============================================================================
        class Window_PartyList < Window_Selectable
        #————————————————————————–
        # make_item_list
        #————————————————————————–
        def make_item_list
        @data = []
        for member in $game_party.all_members
        next if member.nil?
        @data.push(member.id)
        end
        end
        #————————————————————————–
        # draw_actor
        #————————————————————————–
        def draw_actor(actor, rect)
        buffer = YEA::PARTY::ACTOR_Y_BUFFER
        draw_actor_graphic(actor, rect.x + 16, rect.y + rect.height + buffer)
        text = actor.name
        change_color(list_colour(actor), enabled?(actor))
        draw_text(rect.x+32, rect.y, rect.width-32, line_height, text)
        contents.clear_rect(rect.x, rect.y + 24, rect.width, 24)
        end
        end

  105. Would it be possible to have a scriptcall that adjusts

    ACTOR_Y_BUFFER = 24

    to a different value? I swap to smaller sprites on the World Map and they won’t line up properly in the Formation window. If I add padding to the spritesheet itself, the sprites float an entire tile above their actual position, so that’s not a solution.

  106. I did try to remove the original character first, then add the transformation character second. The order of which the swap takes place seemed to keep the actor in the same slot without pushing anyone over. I did try the script you left and agree that the actors in formation did not align properly, however I did try to play around with the script and could get it close to aligning properly, so I’ll see what comes out of that.

    I appreciate your time and suggestion, it got me farther than before :) Thanks a lot.

  107. Okay, I’m having a problem. When I add a party member, the character in the first slot automatically goes to slot 2 while the new guy goes in slot 1. The guy who was there first is supposed to stay in slot 1 the entire game, so he’s locked in, but now stuck in slot 2. This only happens when my Max Party is set to 4, and setting my Max Party to 5 seems to fix this.

    • did you restart the project after installing the script and try removing one script at a time to determine any possible conflictions

      • Now they swap places if the max party is 5, but switching to 4 fixes it. None of the scripts should be conflicting. They are all Yanfly scripts except for two related to dual wielding weapons, one that creates unskippable text, and one that adds a sound effect to text.

  108. The new member added tot he party but the caterpillar/followers remains the same… How do I fix this? I want the new member to join in the party as well..

    • Nvm I just need to new game..

      But I got another question, can we disable an actor so that he/she won’t be able to show up in battles? So the actor only shows up on menu and follows the player around but won’t join the battle

  109. There’s also one massive problem with this script despite of how cool it is…

    All party members who joined the party but does not equipped is considered being equipped in battles!!

    For example, if Actor A is inflicted by a state it will trigger an event in a battle (I’m using the starting state script)… In this case, I dont equip Actor A but the event still triggers! That means, although Actor A is not equipped in party, the game still think he is in battle! Please fix this, Thanks a lot.

    • I also having issue with things like this:
      I want to create an event where the event progression depends on which party member I take in battle.

      For example, actor A and B are locked party members while the slot for C and D are optional and can be replaced with E, F, G, or whomever I already recruited as allies (just like the ones in suikoden series).

      In some event, the event would require F as a battle member in order to proceed. But since recruiting with this script counts as having F in party member, the event will proceed even if F is not in the battle party.

      Can anyone help?

  110. Can I somehow find out who the current partyleader is? I mean, I want one of my characters to be able to walk through lava but only if it’s the active player character and I don’t really know how to find out if this person is active. Can anyone help?

  111. Yes so I’m currently trying to get this script to work for me and I’m running into 2 issues which I hope someone can fix. First problem is the actor I want to have locked in the party is never being locked in. I’m not sure if I’m using the lock command correctly but every time I try to lock in 1 party member, I can still toss them around and swap them out.

    The second issue which I may have missed a solution for is having it so only active party members will show on the main menu. Don’t really want inactive members being shown on the menu when they are on the side lines.

    Thanks for your time and if you need anything else to help you solve the issue let me know!

  112. I keep getting this error

    —————————
    Project1
    —————————
    Script ‘Sprite_Battler’ line 80: TypeError occurred.

    no implicit conversion from nil to integer
    —————————
    OK
    —————————

  113. I am getting this error
    Script ‘Yanfly Battle Sys’ line 1627: TypeError occurred.

    no implicit conversion from nil to integer
    This happens when I try to use the script call $game_party.swap_order(n,n)
    I added the swap order fix that was posted above but I get this error after swapping once and trying to use the swapped character.

  114. Is there a command to check if the character is in the group that enters battle? For example, when I left him in the reserve, I wanted him to leave the group and walk around the room. Being in the “main” group he would disappear from the room.
    In the case I have three main heroes for battle; the intention was to check if the character is among these 3 and create a condition … Or is there a way to theoretically remove the members left in the reserve (not appearing even in the menu so it would be possible to use the default condition of the maker)?

  115. error Script “Sprite Battler” Line 461: NameError occurred Uninitialized constant Object::Window_command Any suggestions?

Leave a reply to Cancel reply