Jump to content


enjolraskenobi

Member Since 14 Sep 2002
Offline Last Active Sep 17 2002 12:24 PM

Posts I've Made

In Topic: help with weidu tutorial

14 September 2002 - 03:18 PM

thanks again! will try that. Was spawning him outside Jaheira's cage anyway, so that should be fine.

Thanks!

JP

In Topic: help with weidu tutorial

14 September 2002 - 01:38 PM

thanks for your help so far!

Stuck again though. Have AFAIK successfully completed the files needed, and when I run setup-garrick.exe it informs me that it's installed successfully. However, there is no sign of Garrick in the game.

i have tried to place him beside Jaheira's cage in the first dungeon (until I figure out what I'm doing, then will move him). The files I have made are as follows:

Setup-JP#Garrick.exe
JP#Garrick.cre


JP#garrick.tp2:

BACKUP ~GarrickNPC\backup~
AUTHOR ~enjolraskenobi@yahoo.com~
BEGIN ~GarrickNPC For BG2:ToB~

COPY ~GarrickNPC\JP#Garrick.cre~ ~override\JP#Garrick.cre~
SAY NAME1 ~Garrick~
SAY NAME2 ~Garrick~
SAY SELECT_COMMON1 ~Yes, sir?~ [garrickf]
SAY SELECT_ACTION1 ~Of course.~ [garricki]

COMPILE ~GarrickNPC\JP#Garrick.d~
USING ~~

COPY ~GarrickNPC\JP#Garrick.bcs~ ~override\JP#Garrick.bcs~

EXTEND_BOTTOM ~ar0602.bcs~ ~GarrickNPC\JP#Garrick.bcs~

APPEND ~pdialog.2da~
~JP#Garrick JP#GarrickP JP#GarrickJ JP#GarrickD~
UNLESS ~JP#Garrick~
UNLESS ~25POST~

APPEND ~pdialog.2da~
~JP#Garrick JP#GarrickP JP#GarrickJ JP#GarrickD JP#Garr25P JP#Garr25J JP#Garr25D JP#Vond25~
UNLESS ~JP#Garrick~
IF ~25POST~




JP#Garrick.bcs:

IF
Global(~JP#GarrickExists~,~AR0602~,0)
THEN
RESPONSE#100
CreateCreature(~JP#Garrick~,[3650.2753].12)
SetGlobal(~JP#GarrickExists~,~AR0602~,1)
END





JP#garrick.d:

BEGIN JP#Garrick
IF "NumTimesTalkedTo(0)" THEN BEGIN FirstMeeting
SAY "Greetings, good ! I have a pretty proposal for you..."
IF "" THEN REPLY "Garrick! Don't you remember me? We met in Beregost. You were with that bitch, Silke..." GOTO Greet
IF "" THEN REPLY "Not you and your whiny voice again. Go away!" GOTO GoAway
END

IF "" THEN BEGIN Greet
SAY "Yes! Oh, many the tale I've told of our glorious adventures together, . I suppose you're still in the business of making legends. Mind if I tag along?"
IF "" THEN REPLY "It'll be a pleasure to hear your songs again, Garrick. Onwards!" DO ~SetGlobal("GarrickJoined","LOCALS",1) JoinParty()~ EXIT // line 10
IF "" THEN REPLY "We're fine for tag-alongs at the moment, pal. Thanks all the same." EXIT
END

IF "" THEN BEGIN GoAway
SAY "If you're going to be like that about it, , then I'll just have to go and find myself someone else to sing about!"
IF "" THEN EXIT
END

BEGIN JP#GARRICKP

IF ~Global("GarrickJoined","LOCALS",0)~ THEN BEGIN KickOut
SAY "It can't be! Surely you want me to stay... There are so many songs still to be sung!"
IF "" THEN REPLY "You're right. We do have some music still to make. Stick around for a while longer." DO "JoinParty()" EXIT
IF "" THEN REPLY "Sorry, sweetcheeks. Thank you for the music, but it's time to pay the piper. Bye!" DO ~SetGlobal("GarrickJoined",LOCALS",0)~ EXIT
END

IF ~Global("GarrickJoined","Locals",0)~ THEN BEGIN Rejoin
SAY "You've come back! I knew you would! Do you need me to chronicle your latest fabulous deeds?"
IF "" THEN REPLY "Yes, Garrick. Your presence was missed, and there are a great many tales that still need to be told. Come!" DO ~SetGlobal("GarrickJoined","LOCALS",1)JoinParty()~ EXIT
IF "" THEN REPLY "I'm back, yes, but not for long. Where we're going, there'll be no need for songs. You'd probably get us killed." EXIT
END







Sorry to be such a nuisance. Your help is gratefully received 8-). Can you tell what I'm doing wrong...?

JP

In Topic: help with weidu tutorial

14 September 2002 - 11:22 AM

The whole file as it stands currently... I'm using the latest download of Weidu and of the GUI. I'm attempting to make an NPC of Garrick, the bard from BG...

JP

BACKUP "GarrickNPC\backup
AUTHOR "enjolraskenobi@yahoo.com"
BEGIN "GarrickNPC For BG2:ToB"

COPY "GarrickNPC\Garrick.cre" "override\Garrick.cre"
SAY NAME1 "Garrick"
SAY NAME2 "Garrick"
SAY SELECT_COMMON1 "Yes, sir?" [garrickf]
SAY SELECT_ACTION1 "Of course." [garricki]

COMPILE "GarrickNPC\Garrick.d"
USING ""

COPY "GarrickNPC\JP#Garrick.bcs" "override\JP#Garrick.bcs"

EXTEND_BOTTOM "Ar0602.bcs" "GarrickNPC\JP#Garrick.bcs"

APPEND "pdialog.2da"
"JP#Garrick JP#GarrickP JP#GarrickJ JP#GarrickD"
UNLESS "JP#Garrick"
UNLESS "25POST"

APPEND "pdialog.2da"
"JP#Garrick JP#GarrickP JP#GarrickJ JP#GarrickD JP#Garr25P JP#Garr25J JP#Garr25D JP#Vond25"
UNLESS "JP#Garrick"
IF "25POST"

In Topic: help with weidu tutorial

14 September 2002 - 09:07 AM

changed .exe file to include word "setup", which now goes a little further.

However, now have syntax error on line 2. That's originally

AUTHOR "enjolraskenobi@yahoo.com"

apologies again foor incompetence...

JP