KOTORCommunityPatches / K1_Community_Patch

K1 Community Patch
63 stars 8 forks source link

Korriban Dreshdae - Dak in the cantina #7

Open DarthParametric opened 5 years ago

DarthParametric commented 5 years ago

When in the Korriban cantina, Dak respawns after dying every time you leave and return (you must speak to him with Juhani in your party for him to go to the cantina)

DarthParametric commented 5 years ago

Sounds like a flag not being set properly? Something in the module OnEnter presumably.

JCarter426 commented 5 years ago

I think this changes.ini code should sort it:

[kor33_dakvesser.dlg]
ReplyList\1\Script=k_act_exitarea

Assuming I got the right node. It's supposed to be the reply after "Then leave me be."

We could edit OnEnter to remove him if he's been talked to or something like that, but you could conceivably go talk to him again before that, and I don't think the dialogue makes sense if you do that. Easier to just let leave on his own.

JCarter426 commented 5 years ago

So, disregard the above on account of the actual issue was Dak respawning after dying. This should sort that:

[kor33_dakvesser.dlg]
ReplyList\11\Script=cp_kor_dakattack

I've already uploaded the scripts to source & Override.

As for the exiting if you don't kill him, I could go either way on it. It's awkward that you can keep talking to him, but his pathfinding on the way out is equally awkward. But if one wants to implement that, this should work for changes.ini:

[kor33_dakvesser.dlg]
ReplyList\1\Script=cp_kor_dakleave

And the source code for making him leave: cp_kor_dakleave.txt

DarthParametric commented 5 years ago

Additional fix for respawning after death added and tested by JCarter.

DarthParametric commented 5 years ago

Actually implemented JC's changed dakleave script. Forgot to do that after originally closing the issue. Whoops.

DarthParametric commented 10 months ago

1.10.0 beta test observations: