jastey Posted August 26, 2013 Share Posted August 26, 2013 What exactly does this do? And, more importantly, do I need this for a mod that wants to use the NPCs' J.dlg? COPY_EXISTING ~pdialog.2da~ ~override~ REPLACE_TEXTUALLY CASE_INSENSITIVE ~^JOIN_DIALOG_FILE\( +[^ ]+ +[^ ]+ +\)[^ ]+~ ~JOIN_DIALOG_FILE\1DREAM_SCRIPT_FILE~ REPLACE_TEXTUALLY CASE_INSENSITIVE ~^_MINSCJ\( +[^ ]+ +[^ ]+ +\)[^ ]+~ ~_MINSCJ\1_MINSCD~ (..) etc. Link to comment
CamDawg Posted August 26, 2013 Share Posted August 26, 2013 What exactly does this do? And, more importantly, do I need this for a mod that wants to use the NPCs' J.dlg? COPY_EXISTING ~pdialog.2da~ ~override~ REPLACE_TEXTUALLY CASE_INSENSITIVE ~^JOIN_DIALOG_FILE\( +[^ ]+ +[^ ]+ +\)[^ ]+~ ~JOIN_DIALOG_FILE\1DREAM_SCRIPT_FILE~ REPLACE_TEXTUALLY CASE_INSENSITIVE ~^_MINSCJ\( +[^ ]+ +[^ ]+ +\)[^ ]+~ ~_MINSCJ\1_MINSCD~ (..) etc. It's adding the column for dream script files in pdialog. Link to comment
jastey Posted August 26, 2013 Author Share Posted August 26, 2013 I have to ask: BG1NPC does a lot of patching for Tutu. If I want to use the NPC's J.dlg(s), and also the d.bcs for some, what would I need to make them work (for EasyTutu as well as v4)? Is there some missing for plain Tutu, like some J.dlg in vanilla BG? Link to comment
CamDawg Posted August 26, 2013 Share Posted August 26, 2013 Well, the problem is that you don't necessarily want your mod dependent on the presence of BG1 NPC, so you should plan on patching in anything you might need for it. The good news is that it's easy enough to write patch code that won't make any changes if what you need is already present--i.e. you could use similar code to what BG1 NPC is doing, but have it get skipped or make no changes if the patch has already been applied. Link to comment
Kulyok Posted August 26, 2013 Share Posted August 26, 2013 That's what I was thinking! No, I lied, I simply stole BG1 NPC code and hoped it'd work. It did. Link to comment
jastey Posted August 26, 2013 Author Share Posted August 26, 2013 [i kind of was hoping for someone who would tell me what exactly I need to steal from BG1NPC, so I don't need to dig through the tp2.] Link to comment
Kulyok Posted August 27, 2013 Share Posted August 27, 2013 I think we can leave my stolen-from-BG1NPC code in the mod for now, because in the very worst case, it simply does nothing. Link to comment
jastey Posted August 29, 2013 Author Share Posted August 29, 2013 I added it back in, and more. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.