Jump to content

Holy. Crap.


Nightwoe

Recommended Posts

I've gotten to the point that I should be able to add my NPC to the game...however, when I run the WeiDu, this is all that comes up:

 

[F:\Black Isle\Setup-Beibeu.exe.exe] WeiDU version 22700

{SETUP-BEIBEU.EXE.DEBUG} Queried <pid = -1>

 

Anyone know if this is pointing at a specific problem?

Link to comment
I've gotten to the point that I should be able to add my NPC to the game...however, when I run the WeiDu, this is all that comes up:

 

[F:\Black Isle\Setup-Beibeu.exe.exe] WeiDU version 22700

{SETUP-BEIBEU.EXE.DEBUG} Queried <pid = -1>

 

Anyone know if this is pointing at a specific problem?

 

Put the installer etc in the BG2 folder, rather than the Black Isle folder.

 

Also, I notice your installer ends in ".exe.exe". Probably a typo.

Link to comment

Put the installer etc in the BG2 folder, rather than the Black Isle folder.

 

Also, I notice your installer ends in ".exe.exe". Probably a typo.

 

The Black Isle folder on my external HDD is where my game is stored, there is no BG2 folder. I also tried installing it in both directories, my original install on my C drive and on my external HDD. The original has its own BG2 folder. The install didn't work in either directories. At your suggestion I fixed the file typo, but it still wont install. I think I know what the problem is...Is it possible that the WeiDU won't install at all if at the very bottom of the .tp2 file are not perfect? Or if that was the case, would the WeiDU have installed to a certain point and then cancelled on an error?

Link to comment

OK, I got the WeiDU working(I deleted the debug to force it to make a new one and it worked), now its giving me the location of the errors, thank you guys :)

 

BACKUP ~Beibeu/backup~

AUTHOR ~Nightwoe~

 

BEGIN ~Beibeu for BG2:SoA~

 

COPY ~Beibeu/W@BEI.CRE~

 

SAY NAME1 ~Beibeu~

SAY NAME2 ~Beibeu~

 

SAY BIO ~When asked about her past, Beibeu cocks her head to one side and observes you for a moment, then averts her gaze and strides past you.~

 

SAY MORALE ~You're all crazy!~

SAY HAPPY ~You know...this isn't so bad.~

SAY UNHAPPY_ANNOYED ~(exasperated sigh)~

SAY UNHAPPY_SERIOUS ~I'm seriously considering rethinking my loyalties...~

SAY UNHAPPY_BREAKING ~Enough! I'd rather tangle with a giant Frost Worm naked and unarmed than follow you another step!~

SAY LEADER ~Well, you need only ask...~

SAY TIRED ~Unless you want to assign one of the more handsom members of the group to carry me, I need a break.~

SAY BORED ~I've seen glaciers move faster than this party...~

SAY BATTLE_CRY ~I *AM* the Eighth Hell!~

SAY BATTLE_CRY1 ~I'll freeze your soul!~

SAY BATTLE_CRY2 ~Feel the kiss of the North!~

SAY BATTLE_CRY3 ~Fools!~

SAY BATTLE_CRY4 ~I love this part!~

SAY DAMAGE ~Aiy!~

SAY DYING ~Nooooo-oooo-oo!~

SAY HURT ~Save me!~

SAY AREA_FOREST ~My mother once told me my father was from the forest...she never said which one.~

SAY AREA_CITY ~These southern cities are disgusting...~

SAY AREA_DUNGEON ~How deep do you think we are? -wait. Don't answer that.~

SAY AREA_DAY ~The sun isn't as blinding here...but damn is it hot.~

SAY AREA_NIGHT ~If there is one thing I like about the south, it is the music of its nights.~

SAY SELECT_COMMON1 ~Hmm?~

SAY SELECT_COMMON2 ~Who *is* Chiktikka Fastpaws?~

SAY SELECT_COMMON3 ~Ready.~

SAY SELECT_COMMON4 ~Have you seen my snow globe?~

SAY SELECT_COMMON5 ~You called?~

SAY SELECT_COMMON6 ~Yes?~

SAY SELECT_ACTION1 ~Very well.~

SAY SELECT_ACTION2 ~Done.~

SAY SELECT_ACTION3 ~Like the wind.~

SAY SELECT_ACTION4 ~On my way.~

SAY SELECT_ACTION5 ~It shall be done~

SAY SELECT_ACTION6 ~I will do so.~

SAY SELECT_ACTION7 ~Here I go.~

SAY SELECT_RARE1 ~I can't find my snow globe...~

SAY SELECT_RARE2 ~Poke me again, I might do a trick.~

SAY CRITICAL_HIT ~OH! I didn't know I could hit that hard...~

SAY CRITICAL_MISS ~Damn your eyes!~

SAY TARGET_IMMUNE ~Uhm...got another idea?~

SAY INVENTORY_FULL ~Are you joking??~

 

COMPILE ~Beibeu/W@Bei.d~

 

EXTEND_TOP ~AR1100.bcs~ ~Beibeu/AR1100.baf~

 

APPEND ~pdialog.2da~

~W@Bei W@BeiP~

UNLESS ~W@Bei~

 

APPEND ~interdia.2da~

~W@Bei W@BeiB W@BeiB25~

UNLESS ~W@Bei~

Link to comment

Okay, so I finished my NPC and successfully installed it with WeiDU. I went into the game and instead of the NPC "Beibeu" It was an NPC named "Judicial Knight" and it failed to initiate its dialogue. naturally I want to fix this, but I have no idea how this could have happened in the first place...is this a known problem?

Link to comment

So say I have an NPC that installs properly, everything is fine and dandy...until you try to talk to the NPC. I have looked over my .d file several times, can't find anything wrong, went back into near infinity double checked the name of the dialogue file, I can't seem to find a problem. I used the debugging tool and it said that my NPCs dialogue file doesn't exist. The file is in my NPCs folder IN BG2 folder. I fixed all the errors I had in my TP2 file that I posted previously. I'm sorry to be such a bother, but I need help.

Link to comment
You'll need to post your tp2 and your NPC's main d file for us to figure out what the problem is.

 

sorry, I should have done this sooner.

 

 

BEGIN W@Bei

 

 

IF ~NumTimesTalkedTo(0)~ THEN BEGIN Talk1

 

SAY ~Hold you and yours a moment! I wish a moment of your time!~

 

 

IF ~~ THEN REPLY ~Hold, friends, it seems an elven lass wishes a moment of our time.~ GOTO HiThere

 

IF ~~ THEN REPLY ~Begone. We have no time to spare.~ GOTO EndTalk

 

END

 

 

IF ~~ THEN BEGIN HiThere

 

SAY ~Thank you. I heard a rumor that you were planning to hunt Umar. Please, if this is true, I would aid you.~

 

IF ~~ THEN REPLY ~Very well, come along.~ DO ~SetGlobal("BeibeuJoined","LOCALS",1)

 

JoinParty()~ EXIT

 

IF ~~ THEN REPLY ~Not now, perhaps later.~ GOTO EndTalk

 

END

 

 

IF ~~ THEN BEGIN EndTalk

 

SAY ~(sigh) Very well. Just come back if you change your mind. I'll be here.~

 

IF ~~ THEN EXIT

 

END

 

 

IF ~NumTimesTalkedToGT(0)~ THEN BEGIN Talk2

 

SAY ~You're back! Will you help me?~

 

IF ~~ THEN REPLY ~Sure, why not?~ DO ~SetGlobal("BeibeuJoined","LOCALS",1)

 

JoinParty()~ EXIT

 

IF ~~ THEN REPLY ~On second thought, I don't think that's a good idea right now.~ EXIT

 

END

 

 

 

BEGIN W@BeiP

 

 

IF ~Global("BeibeuJoined","LOCALS",1)~ THEN BEGIN LeaveGroup

 

SAY ~What? I'm being *replaced*?~

 

IF ~~ THEN REPLY ~Of course not! Where did you get that idea?~ DO ~JoinParty()~ EXIT

 

IF ~~ THEN REPLY ~I've had enough of your whining. Get lost.~ EXIT

 

END

 

 

IF ~Global("BeibeuJoined","LOCALS",0)~ THEN BEGIN ComeBack

 

SAY ~Ah, I had a premonition you would return. You are taking me with you, right?~

 

IF ~~ THEN REPLY ~Welcome back.~ DO ~SetGlobal("BeibeuJoined","LOCALS",1)

 

JoinParty()~ EXIT

 

IF ~~ THEN REPLY ~No, get ye gone.~ EXIT

 

END

 

 

BACKUP ~Beibeu\backup~

AUTHOR ~Nightwoe~

 

BEGIN ~Beibeu for BG2:SoA~

 

COPY ~Beibeu\W@BEI.CRE~ ~override\W@Beibeu.CRE~

 

SAY NAME1 ~Beibeu~

SAY NAME2 ~Beibeu~

SAY BIO ~When asked about her past, Beibeu cocks her head to one side and observes you for a moment, then averts her gaze and strides past you.~

SAY MORALE ~You're all crazy!~

SAY HAPPY ~Mmm, plesent enough, I suppose.~

SAY UNHAPPY_ANNOYED ~(exasperated sigh)~

SAY UNHAPPY_SERIOUS ~I'm seriously considering rethinking my loyalties...~

SAY UNHAPPY_BREAKING ~Enough! I'd rather tangle with a Frost Worm naked than follow you another step!~

SAY LEADER ~Well, you need only ask...~

SAY TIRED ~Unless you want to assign one of the more handsom members of the group to carry me, I need a break.~

SAY BORED ~I've seen glaciers move faster than this party...~

SAY BATTLE_CRY1 ~I *AM* the Eighth Hell!~

SAY BATTLE_CRY2 ~I'll freeze your soul!~

SAY BATTLE_CRY3 ~Feel the kiss of the North!~

SAY BATTLE_CRY4 ~Fools!~

SAY DAMAGE ~Aiy!~

SAY DYING ~Nooooo-oooo-oo!~

SAY HURT ~Save me!~

SAY AREA_FOREST ~My mother once told me my father was from the forest...she never said which one.~

SAY AREA_CITY ~These southern cities are disgusting...~

SAY AREA_DUNGEON ~How deep do you think we are? -wait. Don't answer that.~

SAY AREA_DAY ~The sun isn't as blinding here...but damn is it hot.~

SAY AREA_NIGHT ~If there is one thing I like about the south, it is the music of its nights.~

SAY SELECT_COMMON1 ~Hmm?~

SAY SELECT_COMMON2 ~Who *is* Chiktikka Fastpaws?~

SAY SELECT_COMMON3 ~Ready.~

SAY SELECT_COMMON4 ~Have you seen my snow globe?~

SAY SELECT_COMMON5 ~You called?~

SAY SELECT_COMMON6 ~Yes?~

SAY SELECT_ACTION1 ~Very well.~

SAY SELECT_ACTION2 ~Done.~

SAY SELECT_ACTION3 ~Like the wind.~

SAY SELECT_ACTION4 ~On my way.~

SAY SELECT_ACTION5 ~It shall be done~

SAY SELECT_ACTION6 ~I will do so.~

SAY SELECT_ACTION7 ~Here I go.~

SAY SELECT_RARE1 ~I can't find my snow globe...~

SAY SELECT_RARE2 ~Poke me again, I might do a trick.~

SAY CRITICAL_HIT ~OH! I didn't know I could hit that hard...~

SAY CRITICAL_MISS ~Damn your eyes!~

SAY TARGET_IMMUNE ~Uhm...got another idea?~

SAY INVENTORY_FULL ~Are you joking??~

 

COMPILE ~Beibeu/W@Bei.DLG~

 

EXTEND_TOP ~AR1100.bcs~ ~Beibeu/AR1100.baf~

 

APPEND ~pdialog.2da~

~Wo3Beibeu W@BeiP W@BeibeuJ W@BeibeuD W@Bei25P W@Bei25J W@Bei25D W@Bei25~

UNLESS ~Wo3Beibeu~

 

APPEND ~interdia.2da~

~Wo3Beibeu W@BeibeuB W@BeiB25~

UNLESS ~W@Beibeu~

Link to comment

COMPILE ~Beibeu/W@Bei.DLG~

should be

COMPILE ~Beibeu/W@Bei.d~

 

The file should be a .d file.

 

also, just for safety's sake:

COPY ~Beibeu\W@BEI.CRE~ ~override\W@Beibeu.CRE~

SAY NAME1 ~Beibeu~
SAY NAME2 ~Beibeu~

to

COPY ~Beibeu\W@BEI.CRE~ ~override\W@Beibeu.CRE~
WRITE_EVALUATED_ASCII DIALOG		  ~w@beibeu~ #8
WRITE_EVALUATED_ASCII DEATHVAR		~w@beibeu~ #32
WRITE_EVALUATED_ASCII SCRIPT_OVERRIDE ~w@beibeu~ #8
SAY NAME1 ~Beibeu~
SAY NAME2 ~Beibeu~

Link to comment
ERROR: [beibeu/W@Bei.d] LEXAR ERROR at line 1 column 0-6

Near Text: @

invalid character [@]

Parsing.Parse_error

rolling back to previous state.

 

It never yelled at me for using "@" before...

Try changing

BEGIN W@Bei

to

BEGIN ~W@Bei~

and

BEGIN W@BeiP

to

BEGIN ~W@BeiP~

 

Using quotations (or tildes) is a good idea whenever you have any unusual characters in your strings.

Link to comment

Okay, I've been reading tutorials and reference material for over a week now, and I feel like I'm getting the hang of things. I have an idea for an NPC that I'm ready to start working on. However, my idea is rather complicated...specifically I want to make an NPC that has two personalities. I can portray that almost completely through dialogue, BUT one of the things I want to do is make 2 randomly chosen dialogues in certain places. For example, say the NPC is in a forest. Every NPC has a floating text comment they make, but I want to make *2* floating text comments that say 2 different things and for 1 of them to be chosen at random at any given time. Is this possible?

Link to comment

Archived

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

×
×
  • Create New...