[TWings] Party Manager / Tavern (Suikoden-like)

5th entry my Suikoden series plugin !

Plugin
TWings_Party v1.11 (MZ)

Author
TWings

Introduction / Features
This plugin is part of a Suikoden features plugins series and works like the Tavern.
For those not familiar with it, it's a specific menu that alllows you to manage your party by removing members and adding members who aren't currently in it.

So what does this plugins do exactly ?
It allows you to define a roster distinct from your current party.
When using the Party manager, you will then be able to freely move members from and into your current party.

Spoiler: Screenshot
party.png

party2.png

How to use
This plugin is not plug&play !
Make sure to properly define your party in the parameters.

Demo
There's a demo project available to download on my itch.io page showing how it works.

FAQ
You can use this page or drop on my Discord server for questions.

Terms of use
Credit : TWings
Free to use for non-commercial games.
Contact me for commercial games.

Versions
  • Version 1.11 :
    • Fixed a bug where the remove option didn't work properly in some cases.
  • Version 1.10 :
    • New Free mode.
    • New Actor lock plugin command.
    • New Portrait display mode.
  • Version 1.00 :
    • Release.
I love all the Suikoden related plugins you've been building.
Just wanted to say thanks for all your hard work!
New version for even more features ! :LZSsmile:

Version 1.10 :
  • New Free mode.
  • New Actor lock plugin command.
  • New Portrait display mode.
Hello, @TWings
JacSkulls here!

I actually like your Plugins so far. I remember playing Suikoden 3, 4, 5 back in 2008-2010. (Still play it from time to time through PS3)

First thing first, KEEP UP THE GOOD WORK! 😀 You are doing an awesome job!

Second is more of a question, really. I just wanted to know if there is a way to lock on to the amount that you're allowed to take Actors. Especially, since my game is more of a 4 Battlers type. Yup, it's also free! Lol. I'm currently using MZ. Just thought it would be pretty awesome to add your plugin into the game as a way to show players that they can recruit others and add into the party. Problem? They can only take in 4 players or it wouldn't make sense with some of the Events I made. Would be a tad bit problematic to change, as well. (Spent hours on it Lol)

Like... maybe a small code to add in or something. I tried looking at the codes but was unable to find anything (Total newb here! Still learning Lol) If not, I can always add something in the Events to prevent players from leaving with 8 or more characters.

Again, keep up the good work. 😀

EDIT/Added:
Hello, once again! I figured out how to limit the party! I seriously think you made an excellent Plugin! So thank you for making this! I did find an issue with the help of another friend. It seems anytime you add a new Character mid-game, it affects the Variable of Actor ID from Game Data. Was wondering if you could provide a fix?

Though it is not 100% necessary, it would save others the problem to find out what's going on. Another solution would to add the Actors and remove them to prevent that problem at the start of the game.

Again and agian! 😀 Keep up the good work!
@TWings
Just what I need for my little Project,thanks it works wonderful.
Thanks.

EDIT 1: Just found a problem here, I already check your demo to see how it work, and I recreate in my own project follows all plugin command sequences just like your demo, everyting is working except Removing party. Is there something I miss here, how to solve this issue?

EDIT 2: I have found out what causes party members can't be removed, it was because in starting party I just add 1 player (main character), but if I add all or any specific member into starting party,I can remove this member from party this problem is solved, I don't know why but it happens. So I add all party member in starting party at database, then I create some event to removed all my party from the beginning of the game, so for now I don't have any problem yet.
Can be used with Visustella plugins including the party system one?
Hi I plan on using this for a pokemon-like storage system, which begs the question is there a way to add new actors to the list with an in game script?
Sorry, for completely ignoring the messages. For some reason I haven't got any notifications. I'(m gonna double check my settings about those...
Hello, @TWings
JacSkulls here!

I actually like your Plugins so far. I remember playing Suikoden 3, 4, 5 back in 2008-2010. (Still play it from time to time through PS3)

First thing first, KEEP UP THE GOOD WORK! 😀 You are doing an awesome job!

Second is more of a question, really. I just wanted to know if there is a way to lock on to the amount that you're allowed to take Actors. Especially, since my game is more of a 4 Battlers type. Yup, it's also free! Lol. I'm currently using MZ. Just thought it would be pretty awesome to add your plugin into the game as a way to show players that they can recruit others and add into the party. Problem? They can only take in 4 players or it wouldn't make sense with some of the Events I made. Would be a tad bit problematic to change, as well. (Spent hours on it Lol)

Like... maybe a small code to add in or something. I tried looking at the codes but was unable to find anything (Total newb here! Still learning Lol) If not, I can always add something in the Events to prevent players from leaving with 8 or more characters.

Again, keep up the good work. 😀

EDIT/Added:
Hello, once again! I figured out how to limit the party! I seriously think you made an excellent Plugin! So thank you for making this! I did find an issue with the help of another friend. It seems anytime you add a new Character mid-game, it affects the Variable of Actor ID from Game Data. Was wondering if you could provide a fix?

Though it is not 100% necessary, it would save others the problem to find out what's going on. Another solution would to add the Actors and remove them to prevent that problem at the start of the game.

Again and agian! 😀 Keep up the good work!
I'm gonna look into it. I've noticed some weird stuff going on. it's very possible that the actor ID is getting messed up somewhere.
@TWings
Just what I need for my little Project,thanks it works wonderful.
Thanks.

EDIT 1: Just found a problem here, I already check your demo to see how it work, and I recreate in my own project follows all plugin command sequences just like your demo, everyting is working except Removing party. Is there something I miss here, how to solve this issue?

EDIT 2: I have found out what causes party members can't be removed, it was because in starting party I just add 1 player (main character), but if I add all or any specific member into starting party,I can remove this member from party this problem is solved, I don't know why but it happens. So I add all party member in starting party at database, then I create some event to removed all my party from the beginning of the game, so for now I don't have any problem yet.
There was indeed a bug with the remove option that I've fixed in today's update. Although after reading the previous comment, it's possible that I've missed some deeper issue in handling the actors.
Can be used with Visustella plugins including the party system one?
I don't provide support for Visustella plugins compatibility. Feel free to try though.
Hi I plan on using this for a pokemon-like storage system, which begs the question is there a way to add new actors to the list with an in game script?
You can link each actor to a switch in the plugin's parameters. By turning the respective switch on/off you can choose to display or not the linked actor.

-------------------------------------------------------------------------------------

I've uploaded a new version including a bug fix.
Although, depending on what I'll find after deeper investigation, I might be releasing another fix soon.

Version 1.11 :
  • Fixed a bug where the remove option didn't work properly in some cases.
I got this to use with the clone actors plugin, but as it only recognizes one instance of an actor, they simply disappear when I move them. Which I worked in as a death mechanic.
@TWings
Good morning, Nice plugin, congratulations...
Using RPG MV I encounter the same problems found by VK_Vorpal King, I read that you fixed them in version 1.11 for RPG MZ..
Don't you have an upgrade of your corrected plugin for rpg mv?
I tried version 1.11 but it obviously doesn't run in my RPG MV.
Thank you for your reply!
@TWings
Your plugin was really interesting that I fixed some Bugs it presented....
I allowed myself to tidy up the code a bit, and the function that was causing some problems was the following:

(0 == a.swValue || !$gameSwitches.value(a.swValue))

Apparently this allowed you to check whether the switch was off--I'm sure you had already corrected this for MZ version 1.11.

other than rearranging the code in multiple lines and replacing this formula with this one:
(0 != a.swValue && $gameSwitches.value(a.swValue))

Now party members who have an active switch will appear in the list!

Ciauux!
Just to put it out there, in addition to what @Dafox said, the typical way to do this would be simply (a.swValue &&... - that is, verify that a.swValue has a value.

However, it's also entirely unnecessary. Because of how arrays work in JavaScript, passing an argument into the value() method that's undefined will return the desired value of false.

So you only need to say if ($gameSwitches.value(a.swValue))
This is a really great plugin! Thank you.

I have been converting a project from MV to MZ. In MV, I used Mr. Trivel's Party Manager, which works in MZ but doesn't handle taller than standard walking sprites in MZ well. Your plugin works flawlessly.

I don't know whether you are considering what features would enhance this plugin, but it would be nice to be able to make the player select a party of a specific number. This isn't a problem for me, because I put the "Open Window" plugin command in a loop, with messages that tell the player if they don't choose enough actors or if they choose too many.

Thanks again.

Edit: I found a better solution that the evented loop. If you use the Suikoden mode, the plugin makes the player pick exactly 4 (presumably because 4 is the size of the battle party). The party that I want is 6, of which 2 are compulsory and 4 are chosen. All I should need to do is remove my 2 compulsory actors and add them after the other 4 are chosen!

Original thread: https://forums.rpgmakerweb.com/threads/twings-party-manager-tavern-suikoden-like.126930/