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

The reason why the battlers disappear is because I added a fade-in/fade-out feature that doesn't seem to work correctly.

I'm working on an in-depth doc on how to use this script, it should be available this weekend.
 
I am loving that in battle party changer; added onto a CBS (especially the FFX battle system by Charlie Lee) would just make it completely awesome.  One thought though; is there a way to swap out characters on their turns rather than before the round begins?  Like maybe putting the party command in their battle menu?
 
jhodder":25szfizy said:
One thought though; is there a way to swap out characters on their turns rather than before the round begins?  Like maybe putting the party command in their battle menu?

That would be the icing on the cake.  Perfect.

Oh, Dargor, I forgot to thank you for resolving the SDK issue.  Thanks!
 
@jhodder
Excellent idea. Will add it to my to-do list! :thumb:

@grnydrowave
You're welcome :smile:

The In-depth doc will have to wait a little bit, I have been busy with something else this weekend.
 
Hey Dargor, is there a way to work the party changer so that it isn’t available in combat or through the main menu, and only appears after certain events?  Specifically when speaking to someone, I suppose.  It would work kind of like the airship in FF6.  Where when you want to change your party out you speak to a specific NPC?
 
ChildoftheStars":199nhtds said:
Hey Dargor, is there a way to work the party changer so that it isn’t available in combat or through the main menu, and only appears after certain events?  Specifically when speaking to someone, I suppose.  It would work kind of like the airship in FF6.  Where when you want to change your party out you speak to a specific NPC?
Yes there is. She may have put easier scripts to turn it off, but I just baleated the whole thing under "in battle" and "menu."
 
extremeclay":2uyg6cs5 said:
Yes there is. She may have put easier scripts to turn it off, but I just baleated the whole thing under "in battle" and "menu."

She? You're referring to me? Because I'm not a she, I'm a HE :tongue:

@ChildoftheStars
Simply use
Code:
$game_temp.party_changer_in_battle = false
. This will remove the Party option from the Party_Commands window in battle.
 
Dargor, your script I bet will be excellent- if I get it to work.

The only time I've ever seen the party changing screen is when I died. It said to make a new party.

I think it might be because I need the actors or something in the database. I put in the scripts you had (aside from Party Arrange, found that elsewhere, and the error isn't with that)

If I press main menu while in the game, I get the error


Script 'Party Changer' line 76: NoMethodError occured.
undefined method (weird squiggly line that looks like ' but is positioned differently)character_name' for #<Array:0x13272b8>


I think this means I need to put my party actors into the script somehow? Or it a different problem?

Thank you for the help, I've been working on this for a long time with someone showing me along and have found no solution. Was at first because I had Postality Knights, so I switched to the legal version quickly and although now it shows "Fight" "Escape" and "Party" in battle, when I select "Party" I get the error

Script 'Party changer' line 934 :NoMethodError occured. undefined method (same slanted ')locked' for nil:NilClass

Since you made it, do you have any idea what is going on?

Thanks again.
 
You have a couple of errors here... Which version are you using? Do you have any other scripts that can interfere with this one? If no, would you mind sending me your scripts.rxdata file?

Take care!
-Dargor
 
Gee, it sure is daunting to be back, after RMXP.org arbitrarily decided ONCE AGAIN to NOT send me updates to a thread I'm subscribed to.  Especially when I see I'm not behind by 1.5 versions (I have version 2.5, you people are already on 4.0?  Goddamn, reading those lost pages is going to be a bitch.  Okay, done.  It looks like Dargor's been kept pretty busy.)

I wanted to point out something that was only lightly touched on since my last post.  An above post asks something vaguely to do with changing the appearance of the Party Changer menu after certain events, and that using a $game_temp command can turn it off. 

In my game, the player is not allowed to switch party members around until they have more than five (5).  When they finally have more than five allies, they are able to switch party members both in and out of battle.  However, I have NOT been able to activate the Party Changer menu IN battle.  I have used the following script call:

$game_temp.party_changer_in_battle = true

And this value is set to false in the initialization, so that the player cannot change party members in battle before they are allowed to change party members at all. 

The error is this:  If you save the game after being allowed to change allies in battle, and then reload, the option to change members in battle disappears.  Is there a way to keep this value as being true after you load your game? 

On another note, if I upgrade from version 2.5 to version 4.0 of your party changer script, will players have to start the game over from the very beginning, or will everything be fine?
 
@Green Banana
The error is this:  If you save the game after being allowed to change allies in battle, and then reload, the option to change members in battle disappears.  Is there a way to keep this value as being true after you load your game?

That's odd. Maybe I did something wrong with the Marshal Dumping. I will take a look at it. I must admit that I often forget to test my scripts after loading a saved game.

On another note, if I upgrade from version 2.5 to version 4.0 of your party changer script, will players have to start the game over from the very beginning, or will everything be fine?

Everything SHOULD be fine. The big difference between 2.5 and 4.0 is that there is now a party splitter and it is now compatible with the RMXP SDK 2.3.

@Rufus Chamberlain
It is not possible right now. I will add this feature in the next version. (Coming soon!)
 
I tried out version 4.0 and received an error:

Script 'Party_Changer' line 644: TypeError occurred.
undefined superclass `Scene_Base'

Line 644:  class Scene_Battle < SDK::Scene_Base

It says SDK, but it was my understanding that this script was "SDK compatible" as opposed to "SDK required" so I'm not sure what the error could be. 

And I tried out version 3.3 and noticed also that after loading a saved game, I can no longer switch to the other teams after they've been set up.  (Also, the game's title says version 3.2, though the script itself says 3.3).  I'm wondering how game makers could easily turn on/off multiple parties and the battle party changer at will through specific in-game events. 


Unrelated drivel:
extremeclay":5nuyripi said:
sorry, meant to say he.

You made a post just to say that. 
 
I'm using the Ring Menu in my game. How can I add the Arrange command to it? When I open the menu, there is an error stating:

Script 'Party Arrange' line 109: NoMethodError occurred.

undefined method 'add command' for
#<Window_RingMenu:0x881f250>
 
It would require a lot of editing to the Ring Menu in order to make it work! This script was designed for the default menu system and/or any CMS using a command window. The ring menu doesn't use this kind of command window.
 
Soooo my birthday was yesterday. I'm 21 now! :D

...A really good birthday present would be finally getting this to work xD So tell me when you're done checking my scripts, k Dargor?
 
What code do I have to use if I want an event to use the party changer? I want my game to use a crystal to change the party.
 

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