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] Party Changer

I'm glad if I was able to offer help with pointing out something. In the meantime, I have plenty of work to do myself, so please work at your preferred liesure!

So, what you want is to keep track of which characters are available when the game is saved and loaded? So that you don't have clones, and you don't lose anybody who should be available or gain anybody who should be unavailable?

Another question occurred to me. Is there a way to reference a kind of conditional statement to check if a certain character is available? I wouldn't mind having to put up with ordinary switches, but I was just curious if there was a more convenient method.
 
Hey Dargor, I noticed you updated with an InBattle Switcher. Could you tell me and us how to use it? I cant find any info on how to use it, and I'd love to. Sorry to be so demanding of you.
 
Yes, sorry for the lack of instructions.

The In-Battle party changer is working the same way as the other one.
The only difference is that you need to put those 2 lines of code:
Code:
$game_temp.party_changer_in_battle = true
$game_temp.party_changer_args = [3,[1],true]

$game_temp.party_changer_in_battle will toogle the party changer in battle (the option will be available in the party command window with Fight and Escape)

$game_temp.party_changer_args are the same arguments you are using when you are calling the scene.
In the above case, 3 is the max members, [1] is the forced member and true is the lock leader option.

I'll post another demo soon.
 
cocilovo;248507 said:
Is there any way to access the party change menu from the game menu?
Thanks

I'm pretty sure there's a "Commands Manager" script, that I'm pretty sure allows you to add customized Menu choices that can call other scripts. Of course, like most other scripts, it's doubtlessly messy and convoluted.
 
I have a problem with the script. My game starts with a single character. If the character levels up after loading a saved game, there will be two copies of him in the party changer screen. Is there a way to fix this?
 
cocilovo;248974 said:
I have a problem with the script. My game starts with a single character. If the character levels up after loading a saved game, there will be two copies of him in the party changer screen. Is there a way to fix this?

I noticed this same problem and reported it to him, although I cannot say that I noticed leveling up was a preliminary condition for this bug. So far we're all still waiting on a fix for this as well as compatibility with the "Large Party" script, but don't worry, since this bug's been worked on since before you even reported it, so the wait shouldn't be too long now. Convenient, eh?
 
Sorry for the lack of update. I'm very busy but I'm taking note of all those bug reports and I'm working on a new demo.

Thanks!

-Dargor
 
I'm working on another version including the party changer in the main menu; i'm fixing some bugs and then I'll post another demo. But you can use the code I posted in the first post if you need it now.
 
One last question...:D

I don't know anything about scripting soo uhh... here it comes

When inserting the characters in the script...

Code:
@selected_members = [???]
@party_members = [???]

in those '???' spaces do you insert in the character name or just put "001" and "002" to put the characters in the party...?


~thanks in advance
 
SCRIPT UPDATED


You can now call the party scene from the main menu using the Add-On I added in the first post (Party Changer (Main Menu) 1.0).

I fixed a lot of bugs like the "cloned actor" bug.
Some variables have changed:
Code:
$game_temp.party_changer_args
has changed for
Code:
$game_temp.battle_party_args
You can change the party scene arguments for the main menu using
Code:
$game_temp.menu_party_args
It's working the same way as the In-Battle Party Changer Arguments.

The Large Party compatibility is comming soon!

Take care
-Dargor
 
I have a copy of the game. I suppose I could try and find out if I could upload it somewhere on the internet for people to download while this link's down, but is it alright? I mean, do I have permission to do so? Also, the demo may have been taken down because it's not up-to-date or something like that, although if that were the case I'm sure we would have heard from the nice person who made the demo.

Maybe I could be forgiven if I upload it now anyways? I'll update this post with a link once I do that. If I can figure out how.

Here is a temporary link location: Party Changer Demo Alt Link Or you can visit http://noino.iwarp.com/ and take the link on the front page from there if something's wrong with the direct link here.
 
Okay, this script seems really awesome, and really useful. My only question is if you would make an edit - not just for me, but for anyone else who's had this kind of idea.

I was going for a party-changing system similar to the one in Radiata Stories. Basically, the character walks up to the desk, dialog pops up ("Now, who should I choose...?") and then the system is called by an event.

As opposed to, in your script, the main menu.

I know it sounds like I'm asking for this for just myself, but I'm sure other users would benefit from it, and see it as an alternative to the script you already have posted. Please consider it. ^^;
 
That's already been done. katsuyaeinsatz! All you need to do is call the event like so:

Paste the Script into your project's list of scripts.
Create the event that you want to use to call the script into action, in this case would make your wanted dialog to pop up.
Make this event call the script with the Event Command "Script..." (found on Page 3).
When the corresponding box pops up, paste the following:

$scene = Scene_Party.new(max_members, [forced members])

"max_members" is how many members you want to allow in your party (so far maximum is four, as we're waiting on an update for support for the "Large Party" script).
"forced members" is used to force a member to join the party, so that s/he cannot be removed. In order to reference a character, list their corresponding Index Number from the Actors Database (Each character you make has a number to the left of their name in the list under "Actors"). I believe you can separate these by commas for multiple forced characters.

Now what I think would be neat is a MultiParty Script, like in Shadow Hearts 2 or 3, or for those certain dungeons in the notorious Final Fantasy VI.
 
GreenBanana;269115":3fgkcbnw said:
Now what I think would be neat is a MultiParty Script, like in Shadow Hearts 2 or 3, or for those certain dungeons in the notorious Final Fantasy VI.

I'm already working on that.;) In fact, I'm working on my FFVI SDK which will include multiple parties. But I might release this addon before I release my SDK.:p
 
Effin' awesome! Now, my only thing is this: Is there a way to restrict specific characters from joining the party? Like, (Katsuya) can't join until you meet him for the first time? Does that make sense? Because I really appreciate the first post, and any other help would be INCREDIBLY appreciated. ^^;
 

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