Jump to content


Photo

Multiple Character installation problem

mod npc install

  • Please log in to reply
4 replies to this topic

#1 Abeternal

Abeternal
  • Member
  • 7 posts

Posted 15 May 2015 - 10:25 PM

I have made four custom joinable NPC's for BGT: BG1. I have encountered a weird problem when installing them though. Installing one character by itself seems impossible without the Banter Files of the others being present already. They share Banters and there are calls from the CHAINs in the B-files to the B-files of the others. However, since these are not present in the game yet, the character cannot be installed.

 

I get the following error message: ERROR locating resource for 'CHAIN3' Resource [BJULIEN.DLG] not found in KEY file: [./chitin.key] ERROR: preprocessing APPEND_EARLY [Brennic/BBrenn.d]: Failure("resource [BJULIEN.DLG] not found for 'CHAIN3'")

 

"Brennic" and "Julien" are two of my NPC's. Now obviously the BJulien.dlg won't be in the KEY file since I haven't installed him yet. Point is, I can't install him for I just get the reverse error message, i.e. BBrenn.dlg is missing, when I try. The only reason for this that I can figure out is that they have references in their B-files for the other NPC's B-file. I have managed to install all four by BEGIN BJulien etc. entries in the TP2 of the first one I install. The others then install just fine, but I have trouble running their banters (strange errors occur).

 

Is there any way I can install an NPC who references B-files of other NPC's who do not exist in the game yet?

 



#2 Abeternal

Abeternal
  • Member
  • 7 posts

Posted 15 May 2015 - 10:29 PM

Correction: I add the BEGIN B##### for all the other NPC's to the First NPC's B-file, not the TP2



#3 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5155 posts

Posted 15 May 2015 - 11:22 PM

You need to compile a BJULIEN.D file to make the BJULIEN.DLG file. Then you can append/extend it... but first you have to:
COMPILE ~Cerberus/IJ#vale.d~
That example is from a mod of mine...

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#4 Abeternal

Abeternal
  • Member
  • 7 posts

Posted 16 May 2015 - 01:51 PM

So I would have to put that Compile instruction in my First NPC's TP2? So Brennic's TP2 would include that COMPILE ~Julien/BJULIEN.d~ command?



#5 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5155 posts

Posted 17 May 2015 - 01:42 AM

Well, you compile the first one .d file, you can't use the others, as you do them one at a time... so say you first install the Julien NPC, you do so with these commands... name them how ever you wish, and you probably should get a -prefix for yourfiles while you are at it:
COMPILE ~Julien/JULIEN.d~ //characters and the current NPCs interactions with the player character
~Julien/BJULIEN.d~ //the B dialogs
~Julien/JULIEN25.d~ //tob joining
-commands.
AND these commands:
APPEND ~pdialog.2da~
~JULIEN BJULIEN JULIEN25~ //and here you can have even more
UNLESS ~JULIEN~

APPEND ~interdia.2da~
~JULIEN BJULIEN JULIEN25~
UNLESS ~JULIEN~
Then you can use those files to extend the others. I would put the files to have a something simple and single reply that leads to an exist.
So yes, you need to have something to say even if all the other characters that should be there, are dead. Dead and dead.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.