Howdy all... it's me... Ya know the one who always has a problem
Well I'm trying my hand at creating an NPC for BGII, and I spent the last hour or two working on a quick little NPC who is supposed to show up in the Promenade...
The template that I used for the NPC is using Ghreyfain's 'Beginner's Guide For Creating NPCs' and the Weidu documentation, and I thought I had everything correct... Problem is, he's not even showing up...
There's really not much to the text, so I'll post it here so anyone can see if they can spot an error, or if I'm missing a step...
---------------
(ddar0700.baf)
IF
Global("DudeExists","AR0700",0)
THEN
RESPONSE #100
SetGlobal("DudeExists","AR0700",1)
CreateCreature("Dude",[1110.940],3)
END
-----------------
(dude.tp2)
BACKUP ~Dude~
AUTHOR ~DoughyGuy~
BEGIN ~Dude the NPC for BG2:ToB~
COPY ~dudeworks\dude.cre~ ~override\dude.cre~
COMPILE ~dudeworks\dude.d~
USING ~~ // We haven't got a translation file yet. Ignore this for now.
EXTEND_BOTTOM ~Ar0700.bcs~ ~dudeworks\ddar0700.baf~
--------------
(dude.d)
// creator: DoughyGuy
// argument: bdgdude.dlg
// This is a test of my abilities to make up a joinable NPC
// Step One: One line of dialogue when the character talks to the NPC, with no replies
BEGIN BDGDUDE
IF ~NumTimesTalkedTo(0)~ THEN BEGIN GreetOne /* Greets for the first time */
SAY ~Hey, <SIRMAAM>... What's up?~
IF ~~ THEN EXIT
END
---------------------
So, once I had those files created, I created a character by exporting a char from a game, then converted him into a CRE file using NearInfinity, trying to follow the instructions given in the post to edit certain variables (although I didn't know what a Death Variable does, so I left it at 0)
Then, I got to a command line, and ran "weidu dude.tp2"
I get a couple of lines responding to the commands in the tp2 file, the only error I got was that the file weidu.log didn't exist, but once I created a blank one, it worked without that message.
I went in, started a brand new game, and went looking for him, but he wasn't there... I'm an extreme novice to IE programming, as well as programming in general (the last language I could program with any sort of skill was BASIC), so I don't know if I'm doing everything needed to add the NPC to the game... Once I have him added, I can start fiddling with the dialogs and adding scripts and such... All I want him to do at this point is just be there, and allow the character to come up to him and talk so he can deliver his one line...
I would appreciate anyone's help with this, even if it is something very obvious that I'm missing. Also, I have some mods installed, could they be interfering? Maybe I'm not appending the correct AR file? I have DBG, SoS, Chloe, the Flirt and Banter Packs, Ease Of Use, and a couple Item packs installed.
Thanks in advance