Jump to content

Home

4 person party?


BryanWee20

Recommended Posts

What if you were to have the two parties, but have one just follow the other around (has this been suggested already? I'm kinda tired). And using a special armband or something, you could change who was in the second party at will.

Link to comment
Share on other sites

Really? So like say if you were on... Dantooine with Handmaiden and Bao-Dur in your party, you could switch to your secondary party--Atton Visas and HK-47, we'll say--but only if you reloaded the module?

 

You don't need to reload the module to change party members. You can have a script remove existing party members, add in the new ones and switch what character is used as main. You could probably do something like this quick example (theoretically, haven't had the opportunity to test):

 


void SwitchToGroup(int iLeader, int iParty1=0xFF, int iParty2=0xFF) {
   [color=PaleGreen]// ST: Set main character (will become GetFirstPC() return object)[/color]
   SwitchPlayerCharacter(iLeader);
   SetPartyLeader(iLeader);

   object oPC = GetFirstPC();
   object oNPC;

   [color=PaleGreen]// ST: Spawn the other two party members by the main character, if set[/color]
   if (iParty1 != 0xFF) {
       oNPC = SpawnAvailableNPC(iParty1, GetLocation(oPC));  
       AddPartyMember(iParty1, oNPC);   
   }

   if (iParty2 != 0xFF) {
       oNPC = SpawnAvailableNPC(iParty2, GetLocation(oPC));    
       AddPartyMember(iParty2, oNPC);  
   }
}


void main() {
   [color=PaleGreen]// ST: Remove all party members from the area[/color]
   int iNPC;
   for (iNPC = NPC_ATTON; iNPC <= NPC_DISCIPLE; iNPC++) {
       if (IsNPCPartyMember(iNPC)) {
           RemoveNPCFromPartyToBase(iNPC); 
       }
   }   

   [color=PaleGreen]// ST: Keep track of which of the groups to switch to... (add to globalcat.2da)[/color]
   int bCurrParty = GetGlobalNumber("ST_CURRENTPARTY");
   SetGlobalNumber("ST_CURRENTPARTY", !bCurrParty);

   [color=PaleGreen]// ST: Switch active party[/color]
   if (bCurrParty) {
       DelayCommand(0.5, SwitchToGroup(NPC_PLAYER, NPC_HANDMAIDEN, NPC_BAO_DUR));        
   }
   else {
       DelayCommand(0.5, SwitchToGroup(NPC_VISAS, NPC_ATTON, NPC_HK_47));    
   }   
}

 

That would probably just work in a scenario specifically designed to have multiple groups going, so you could change party groups when the player crosses a trigger, during a dialog/cutscene or such.

Link to comment
Share on other sites

I don't want to waste your attention with excessive quesions stoffe, but could you possibly switch to npcs that aren't necessarily in your party, but are in the module?

 

Like say you were fighting your way to the Onderon royal palace, and wanted to take control over a Kadron/Bostuco/Gelesi party temporarily... could this be done?

Link to comment
Share on other sites

Yup, B-4D4 was added as party member and removed after you return to Ithorians.

Same with this droid in prologue, Remote on Malachor and anyone else who joined the party "temporary" (if there was anyone, I can't remember at the moment).

Link to comment
Share on other sites

The torrential storm of questions continues:

 

What if you wanted 5 of your party members to be in a module. We'll say PC, Visas, Atton, Hanharr and Mandalore. Of course, you could only choose 2, but could the others follow along much like NPCs would and fight, just you would have no control over what they do?

 

and... if that would work, would you be able to switch your main party (let's say its a PC/Atton/Visas) so that it's a PC/Mandalore/Hanharr party and still have Atton and Visas spawn in the module. bit as NPCs and as stated before, aid you in fighting, but you have no control over them?

 

If that's understandable...

Link to comment
Share on other sites

That might work. The game only allows you to have 2 (maybe 3) puppets that follow the main character, kind of like Bao-Dur's remote.

 

I'm not sure if the level-up process would work properly in this case. Every time your character levels up, only your party members would level with you. Puppets may not get this level-up, so checks will need to be added to the script to keep track of the experience. The script would look messy, but if it works, it'll be awesome.

 

- Star Admiral

Link to comment
Share on other sites

That might work. The game only allows you to have 2 (maybe 3) puppets that follow the main character, kind of like Bao-Dur's remote.

 

The main character can't have any puppets, that only works for the additional party members you bring along. If you make a party member with a puppet the main character the puppet will disappear while they are. Maybe one of the reasons you're never offered the choice of making Bao-Dur the leader of the Dxun away team in TSL. :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...