Jump to content

BG1: Joined dialogue files of NPCs


jastey

Recommended Posts

In BG1, not all NPCs have joined dialogue files (npcnameJ.dlg), e.g., Imoen, Viconia, Dynaheir.

 

I thought it's enough to create those to be able to use them, meaning I did:

ACTION_IF NOT FILE_EXISTS_IN_GAME ~%IMOEN_JOINED%.dlg~
THEN BEGIN
 PRINT ~Adding Imoen's joined dialogue file...~
<<<<<<<< bgqe/Inlined/%IMOEN_JOINED%.d
BEGIN %IMOEN_JOINED%
>>>>>>>>
 COMPILE EVALUATE_BUFFER ~bgqe/Inlined/%IMOEN_JOINED%.d~
END
ACTION_IF NOT FILE_EXISTS_IN_GAME ~%DYNAHEIR_JOINED%.dlg~
THEN BEGIN
 PRINT ~Adding Dynaheir's joined dialogue file...~
<<<<<<<< bgqe/Inlined/%DYNAHEIR_JOINED%.d
BEGIN %DYNAHEIR_JOINED%
>>>>>>>>
 COMPILE EVALUATE_BUFFER ~bgqe/Inlined/%DYNAHEIR_JOINED%.d~
END
ACTION_IF NOT FILE_EXISTS_IN_GAME ~%VICONIA_JOINED%.dlg~
THEN BEGIN
 PRINT ~Adding Dynaheir's joined dialogue file...~
<<<<<<<< bgqe/Inlined/%VICONIA_JOINED%.d
BEGIN %VICONIA_JOINED%
>>>>>>>>
 COMPILE EVALUATE_BUFFER ~bgqe/Inlined/%VICONIA_JOINED%.d~
END

 

with

/* Set BG Joined Dialogue Files */
OUTER_SPRINT "DYNAHEIR_JOINED" "DYNAJ"
OUTER_SPRINT "IMOEN_JOINED" "IMOENJ"
OUTER_SPRINT "VICONIA_JOINED" "VICONIJ"

 

 

 

But, in the game, the NPCs in question don't say those lines themselves, but it's Biff the Understudy.. So I ask myself: Does Imoen (and the others) in vanilla BG1 has the chance of talking with her joined dialogue file at all?

 

There is no pdialog.2da I could patch..

Link to comment

Hm, there is pdialog.2da in vanilla BG1 and all joinable NPCs have Join_Dialog. You simply used wrong names. Other issue - not all joinable NPCs in BG1 have individual Override_script. This pdialog.2da is from my BG1:

 

2DA V1.0
0
	  POST_DIALOG_FILE JOIN_DIALOG_FILE
KIVAN		KIVANP			 KIVANJ
ALORA		ALORAP			 ALORAJ
MINSC		MINSCP			 MINSCJ
DYNAHEIR	 DYNAHP			 DYNAHJ
YESLICK	  YESLIP			 YESLIJ
CORAN		CORANP			 CORANJ
AJANTIS	  AJANTP			 AJANTJ
KHALID	   KHALIP			 KHALIJ
JAHEIRA	  JAHEIP			 JAHEIJ
GARRICK	  GARRIP			 GARRIJ
SAFANA	   SAFANP			 SAFANJ
FALDORN	  FALDOP			 FALDOJ
BRANWEN	  BRANWP			 BRANWJ
QUAYLE	   QUAYLP			 QUAYLJ
XAN		  XANP			   XANJ
SKIE		 SKIEP			  SKIEJ
ELDOTH	   ELDOTP			 ELDOTJ
XZAR		 XZARP			  XZARJ
MONTARON	 MONTAP			 MONTAJ
TIAX		 TIAXP			  TIAXJ
KAGAIN	   KAGAIP			 KAGAIJ
SHARTEEL	 SHARTP			 SHARTJ
EDWIN		EDWINP			 EDWINJ
VICONIA	  VICONP			 VICONJ
IMOEN		IMOENP			 IMOEN2

 

In BG1 names of original Join_dialogs have maximum five characters of NPC's names + "J". The exception is Imoen. Their IMOEN2.DLG fulfill a double function of Initial_dialog and Join_dialog (is not changed after join to the party).

Link to comment

I would have sworn I replied to this.

 

All I can say, thank you very much, now it is working (I only checked Imoen, but she finally speaks for her own)! So, yay!

 

I also found the pdialog.2da in NI (for some obscure reason I had the opinion the pdialog.2da should be available as a file in the game's directory).

Link to comment

Archived

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

×
×
  • Create New...