Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Joining the party?

Page: 1 of 1
 Phantasmgrl91
01-28-2007, 10:11 PM
#1
at the start of kotor 2 I have made some interesting mods to kreia, but I do not want to have to wait so long to get her to join my party, I'm sure there is a way but how do I get her in my party immediatly as the game starts? I couldn't seem to find a thread on this, if there already is one can someone please redirect me to that and a mod can delete this pointless thread?

Thanks

Trish
 Kainzorus Prime
01-28-2007, 10:15 PM
#2
Well, fastest way would be skipping Peragus to the moment of boarding Habringer, or skipping it entirely. Check Taris Upper City Emporium for such mod.
 Phantasmgrl91
01-28-2007, 10:20 PM
#3
well, i dont wanna skip peragus, i just wanna have her join the party immediatly as opposed to waiting till ur basically done with that planet, i just think peragus is a little lame because you dont have anyone in your party, lol i get lonely!
 SithRevan
01-28-2007, 11:43 PM
#4
Well you could try modifying the script that fires during the first dialog line she has when you meet her. Here is the code for that...

Name this script a_cut_kreia

void main() {
int nParam1 = GetScriptParameter(1);
switch (nParam1) {
case 0:
SetGlobalBoolean("101PER_KREIA_STUNT", 1);
SetGlobalFadeIn(0.0, 1.0, 0.0, 0.0, 0.0);
{
object oKreiaStand = GetObjectByTag("KreiaStand", 0);
DelayCommand(1.6, SoundObjectPlay(oKreiaStand));
}
break;
case 1:
{
object oP_kreia = GetObjectByTag("KreiaStuntman", 0);
AssignCommand(oP_kreia, ClearAllActions());
AssignCommand(oP_kreia, ActionJumpToObject(GetObjectByTag("MN_MEDLAB", 0), 1));
location location1 = GetLocation(GetObjectByTag("WP_KREIA_SPAWN1", 0));
oP_kreia = CreateObject(1, "p_kreia", location1, 0);
ChangeToStandardFaction(oP_kreia, 5);
AssignCommand(oP_kreia, ClearAllActions());
AssignCommand(oP_kreia, ActionStartConversation(GetFirstPC(), "101kreia", 0, 0, 0, "", "", "", "", "", "", 0, 0xFFFFFFFF, 0xFFFFFFFF, 0));
}
break;
case 2:
SetGlobalFadeOut(0.0, 1.0, 0.0, 0.0, 0.0);
SetFadeUntilScript();
break;
case 3:
SetGlobalFadeIn(0.0, 1.5, 0.0, 0.0, 0.0);
break;
case 4:
vector struct2 = GetPositionFromLocation(GetLocation(GetObjectByTag ("WP_bike", 0)));
AssignCommand(GetFirstPC(), SetFacingPoint(struct2));
AssignCommand(GetFirstPC(), ActionPlayAnimation(15, 1.0, (-1.0)));
break;
case 5:
{
object object12 = GetObjectByTag("KreiaStuntman", 0);
DestroyObject(object12, 1.0, 1, 0.0, 0);
ClearAllActions();
ActionJumpToObject(GetObjectByTag("WP_KREIA_SPAWN1", 0), 1);
SetGlobalFadeIn(0.0, 1.5, 0.0, 0.0, 0.0);
}
break;
case 6:
break;
case 7:
break;
}
ExecuteScript("your_script_name_goes_here", OBJECT_SELF);
}


Along with that script you would need a recruitment script who's name would go into the spot where it says "your_script_name_goes_here". So heres that script...



void main()
{

SetGlobalNumber("101PER_Kreia_Joined", 1);

AddAvailableNPCByObject(NPC_KREIA,GetObjectByTag("kreia"));

AddPartyMember(NPC_KREIA,GetObjectByTag("kreia"));

}

Hope this helps you out a bit.;)
Page: 1 of 1