Jump to content

Home

Need custom pc recruit help.


one_must_fall

Recommended Posts

Maybe I should've mentioned. The part i have trouble with is this script:

void main()

{

//do a whereami cheat to get the coordinates of the location

//where you want the npc to spawn

float x=0.00f;

float y=0.00f;

float z=0.00f;

//unless you want something specific, forget about orientation

float r=0.0f;

vector vecNPC=Vector(x,y,z);

location locNPC=Location(vecNPC, r);

//insert your npc tag instead of dan26_duncan. Don't remove the quotes.

object oNPC=CreateObject(OBJECT_TYPE_CREATURE,"dan26_duncan",locNPC);

object oPC=GetFirstPC();

AssignCommand(oNPC,ActionMoveToObject(oPC));

//replace man26_duncan by the name of the dlg file the npc is supposed to use

AssignCommand(oNPC,ActionStartConversation(oPC,"man26_duncan"));

}

 

I edited it so instead of "dan26_duncan" i put my custom npc tag. instead of "man26_duncan" i put in my dlg file that the npc is supposed to use. I also put the float x, float y, float z and the orientation. Anything i missed?

Link to comment
Share on other sites

sorry for double posting, but i got some pictures.

this picture was when i just changed atton's appearence:http://img224.imageshack.us/my.php?image=swkotor22006073121475948bj0.png

this is the result of a problem i'm having. i had to do a custom dialogue, and i've gotten it to when i release atton (i mean malak) from the shield. now he just stands there, and i can't continue. If anyone knows how to fix it, please post:http://img86.imageshack.us/my.php?image=swkotor22006080400583765ib8.png

 

EDIT: that's not me as malak, that's atton. i'm just behind malak (wich is why there's a sword comin out back)

Link to comment
Share on other sites

I don't know exactly what you did but if you edited the .dlg file with Kotor tool, that is very possibly the cause. Kotor tool's dlg editor is not fully compatible with KotOR 2 and will wipe out all the script parameters and most conditionals from the .dlg file when you save your file.

 

You have to extract the original .dlg file with Kotor tool and edit it with tk102's dlg editor. If you already saved your file (modified or not) with KT , you'll have to start over with a newly extracted file.

Link to comment
Share on other sites

I did use the dlg editor *not kotor tool's*, that's how i managed to get that far. i just messed up somewhere and had to make comepletly custom dialogue.

I also got a portraite for malak. It's someone's avatar on this site, i just don't remember who: http://img523.imageshack.us/img523/8905/malaknq0.jpg

 

EDIT: right after i edit this post, i'm gonna try and fix that problem.

 

EDIT AGAIN: i fixed the little bug, here's some screen shots after he's recruited.

with a lightsaber, neutral/light portrait: http://img506.imageshack.us/my.php?image=swkotor22006080414571467kv3.png

 

partial darkside portrait: http://img526.imageshack.us/my.php?image=swkotor22006080414582653yt2.png

 

full darkside portrait: http://img516.imageshack.us/my.php?image=swkotor22006080414584421ep3.png

Link to comment
Share on other sites

sorry double post *again*, but...

known bugs: malak has no animations when using 2 weapons or a 2 handed weapon. If anyone knows how to fix, post.

*note to selfe. stop double posting so much.*

Not possible at the moment. :(

However cchargin is working hard on his newest Alpha of MDLops which tries to confront the problems we've been having with animations... :)

Link to comment
Share on other sites

/\/\/\ yay :) well i hope it can come out some time soon. :twogun: now i'm working on trying to make it so you can fight malak, and if you kill him atton comes in through the door, then dialogue continues as normal. that may take a while since i have barely any scripting knowladge. i just need to find out where to put the scripts i have and it'll be good to test.

 

EDIT: got it to be a talk-fight sequence. i made it so i can start a fight with malak, and kill him.

 

Known bugs: i can't equip malak with a lightsaber (im using kotor tool). after i kill him, the game won't continue.

Possible fix for second bug: use the whereami armband or the wrist console to open the emergency hatch t3m4 is supposed to open.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...