Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Party Splitting
#1
Party Splitting
by RPG Advocate
saved from Phylomortis.Com


Introduction
This script enables management of split parties. Once the player splits the party using the interface, you can press Z on the map to change which party the player is controlling.

To Open the Party Split Window: Use the "Script" command in the event editor and call the script "$scene = Scene_PartySplit.new(s1, s2, boolean)", where s1 is the required size of the first party, s2 is the required size of the second party, and the boolean is whether the party splitting can be cancelled once initiated. If you don't want the party sizes to be restricted, use 0 for both s1 and s2.
To Unify the Split Party: Use the "Script" command in the event editor and call the script "$game_party.unify"

By default, the message "Z: Change Party" will show in the lower-right corner of the screen while the parties are split. If you don't want this message to show, change the constant SHOW_PARTY_HELP_SPRITE to false.

New: To prevent the player from switching between parties, use the script call: "$game_system.pswitch_forbidden = true"
Do NOT set this switch back to 'false' but rather set it to 'nil' to restore the ability to switch between parties. Setting a value to 'false' has a tendency to freeze processing in RGSS.


Demo
>Click<


Script
Party Splitting


Notes
The script was revised for ease of use:
  • I added constants at the top, so you can set up your own keys for forming the party or switching between the two.
    It is still set so the 'A' key (or Input::X) is used to finish choosing your parties, and the 'D' key (or Input::Z) to switch parties
  • I added a good number of values so you can change the message that shows when your party is split, including fontsize and position.
  • I added the $game_system.pswitch_forbidden value so the player can't switch between parties if you want that option blocked

The 'Party Split Help Window' may remain visible in the End Game screen. It was visible in the original version and will take a little more scripting to hide it in there. Meh... :P

This can be used in conjunction with the 'Separate Item Lists' script, but making merging the two is your responcibility.
Reply }


Messages In This Thread
Party Splitting - by RPG Advocate - 03-03-2008, 05:44 AM
RE: Party Splitting - by DuongCool - 04-11-2013, 08:52 AM
RE: Party Splitting - by DerVVulfman - 04-11-2013, 04:12 PM
RE: Party Splitting - by DuongCool - 04-14-2013, 07:16 PM
RE: Party Splitting - by DerVVulfman - 04-14-2013, 09:13 PM
Party Splitting - by RegentGray - 02-13-2010, 06:38 PM
Party Splitting - by Ace - 02-13-2010, 07:50 PM
Party Splitting - by fgsfds - 02-13-2010, 09:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Party Thievery DerVVulfman 1 623 07-20-2023, 03:13 AM
Last Post: DerVVulfman
   Master Party-Leader Substitution DerVVulfman 0 4,799 01-24-2013, 05:26 PM
Last Post: DerVVulfman
   Skip Party Command Window Helladen 0 4,469 07-27-2012, 06:43 AM
Last Post: Helladen
   Party Changer Dargor 7 17,695 06-10-2010, 05:02 AM
Last Post: Meegz0
   [Unsupported] Actor & Party's Self Switches XP PK8 3 7,901 09-17-2009, 01:46 AM
Last Post: Yin
   [Unsupported] Actor & Party's Self Switches VX PK8 0 4,655 09-16-2009, 10:57 PM
Last Post: PK8
   Large Party Dargor 0 3,853 03-07-2008, 08:02 PM
Last Post: Dargor
   Party Changer Dargor 0 5,262 03-07-2008, 04:21 AM
Last Post: Dargor
   Party Changer by Leon Westbrooke earthboy 0 5,175 03-06-2008, 06:42 AM
Last Post: earthboy
   Changing Party Order Yargovish 0 4,265 03-03-2008, 04:41 AM
Last Post: Yargovish



Users browsing this thread: