B file erros
#21 -jcompton-
Posted 26 March 2004 - 08:53 PM
#22
Posted 05 April 2004 - 01:52 PM
ERROR locating resource:
Resource [BFLAN.DLG] not found in KEY file:
[./chitin.key]
ERROR: problem processing D files: Failure("resource [BFLAN.DLG] not found")
What does that mean? I DO have a BFLAN.d in my dialogues folder. There is no special line in the .tp2 that tells it to look for a BFLAN.d, so I put one in. It did not help, so I took it back out. What do I need to do to convince Weidu that I DO have a BFLAN.d?
Any help is greatly appreciated!
Sillara, the confused
#23
Posted 05 April 2004 - 01:55 PM
COMPILE ~Tsujatha\Dialogue\BFLAN.d~
Are you trying to install the mod or are you just trying to manually compile BTSUJAT.d?
#24
Posted 05 April 2004 - 01:58 PM
COMPILE ~dialogA.d~ ~dialogB.d~
rather than
COMPILE ~dialogA.d~
COMPILE ~dialogB.d~
#25
Posted 06 April 2004 - 05:23 PM
BEGIN BFLAN
IF ~See("Player1")
!StateCheck("Player1",STATE_SLEEPING)
Global("TsujathaFlanBrel","GLOBAL",1)
Global("JavinRescued","GLOBAL",0)~
THEN BEGIN TSJ_HurryUp
SAY ~Well, where is Javin? Do not delay so!~
IF ~~ THEN EXIT
If I try to put an END after that, Weidu can no longer FIND the BFLAN!!! But I have trouble with my next dialogue if I don't do something!
CHAIN
IF ~See("Tsujatha")
!StateCheck("Tsujatha",STATE_SLEEPING)
Global("TsujathaFlanBrel","GLOBAL",1)
Global("JavinRescued","GLOBAL",1)~
THEN BEGIN TSJ_BetraySorkyst
SAY ~Ah. Success. And how, might I ask, did you manage to secure his release?~
++ ~I bribed the official.~ GOTO BetraySorkyst1a
++ ~I killed the guard and pillaged his body for the key.~ GOTO BetraySorkyst2a
++ ~It does not matter. I have been successful.~ GOTO BetraySorkyst3a
END
CHAIN BFLAN BetraySorkyst1a
~With manipulation skills like that, you'd be a great ally of the Shadow Thieves.~
== BTSUJAT
~Enough! Tell me where Sorkyst is.~
= ~(Magical energy leaps and crackles across Tsujatha's fingertips as his impatience builds.)~
== BFLAN
~Yes, of course. My former master, Sorkyst, instructed me to tell his men to meet him at a place called the Small Teeth Pass.~
= ~I cannot tell you where they might be. I do not know.~
== BTSUJAT
~Your help is greatly appreciated.~
= ~Let me repay the kindness by helping you into the next life!~
END
++ ~No, Tsujatha! You have entered into a contract with this man. You cannot take his life now. It would be dishonorable.~ GOTO BetraySorkyst1b
++ ~(Watch and do nothing.)~ GOTO BetraySorkyst1c
CHAIN BTSUJAT BetraySorkyst1b
~You advise me well, <CHARNAME>. A heart akin to a Tamari's beats in your breast.~
= ~(Tsujatha turns away, deliberately avoiding your eyes.)~
EXIT
CHAIN BTSUJAT BetraySorkyst1c
~(Tsujatha smiles grimly.)~
DO ~ClearAllActions() StartCutSceneMode() StartCutScene("TSJ_KILLFLAN")~
EXIT
CHAIN BFLAN BetraySorkyst2a
~I suspected as much. After all, the Melalor travels with you.~
== BTSUJAT
~Enough! Tell me where Sorkyst is.~
= ~(Magical energy leaps and crackles across Tsujatha's fingertips as his impatience builds.)~
== BFLAN
~Yes, of course. My former master, Sorkyst, instructed me to tell his men to meet him at a place called the Small Teeth Pass.~
= ~I cannot tell you where they might be. I do not know.~
== BTSUJAT
~Your help is greatly appreciated.~
= ~Let me repay the kindness by helping you into the next life!~
END
++ ~No, Tsujatha! You have entered into a contract with this man. You cannot take his life now. It would be dishonorable.~ GOTO BetraySorkyst1b
++ ~(Watch and do nothing.)~ GOTO BetraySorkyst1c
And so forth. I never even get this far in the compilation because it gives me errors with the CHAIN. If I change it from a CHAIN to a dialogue (which I don't know if I can even do because of Tsujatha's interactions later), I STILL get problems with the compilation.
What is wrong? I am confused.
Sillara
Thank you for the earlier help. I was not able to access the forum yesterday, or I would have responded earlier.
#26
Posted 06 April 2004 - 06:13 PM
CHAIN
IF ~See("Tsujatha")
!StateCheck("Tsujatha",STATE_SLEEPING)
Global("TsujathaFlanBrel","GLOBAL",1)
Global("JavinRescued","GLOBAL",1)~
THEN BEGIN TSJ_BetraySorkyst
SAY ~Ah. Success. And how, might I ask, did you manage to secure his release?~
++ ~I bribed the official.~ GOTO BetraySorkyst1a
++ ~I killed the guard and pillaged his body for the key.~ GOTO BetraySorkyst2a
++ ~It does not matter. I have been successful.~ GOTO BetraySorkyst3a
END
For a chain, you need a dialog file name in there (i.e. THEN BEGIN Dialogfile TSJ_BetraySorkyst).
You wouldn't use SAY, just the line enclosed in the tildes.
The END should go before the PC replies.
#27
Posted 06 April 2004 - 11:37 PM
BEGIN BFLAN
IF ~See("Player1")
!StateCheck("Player1",STATE_SLEEPING)
Global("TsujathaFlanBrel","GLOBAL",1)
Global("JavinRescued","GLOBAL",0)~
THEN BEGIN TSJ_HurryUp
SAY ~Well, where is Javin? Do not delay so!~
IF ~~ THEN EXIT
CHAIN
IF ~See("Player1")
!StateCheck("Player1",STATE_SLEEPING)
Global("TsujathaFlanBrel","GLOBAL",1)
Global("JavinRescued","GLOBAL",1)~
THEN BEGIN BFLAN TSJ_BetraySorkyst
~Ah. Success. And how, might I ask, did you manage to secure his release?~
END
++ ~I bribed the official.~ GOTO BetraySorkyst1a
++ ~I killed the guard and pillaged his body for the key.~ GOTO BetraySorkyst2a
++ ~It does not matter. I have been successful.~ GOTO BetraySorkyst3a
And it goes from there. But if I try to put an END after IF ~~ THEN EXIT in the first dialogue, Weidu refuses to accept that BFLAN exists at all!!! It gives me the same, earlier "cannot find file" business that I mentioned in my earlier post. Sigh. Putting the B files on the same line in the .tp2 made Weidu see it, but if I put that END in there, it's gone again. What should I do?
Sillara
#28
Posted 06 April 2004 - 11:51 PM
I don't know about the rest of it, but Player1 should not be in quotes. It should beIF ~See("Player1")
IF ~See (Player1)
This applies to both cases in the code you listed.
#29
Posted 07 April 2004 - 04:11 AM
#30
Posted 07 April 2004 - 05:48 AM
I fixed the quotes. They were just in here where I done some copying. This is the error I get without the END.
[Tsujatha\Dialogue\BFLAN.d] PARSE ERROR at line 11 column 1-5
Near Text: CHAIN
syntax error
[Tsujatha\Dialogue\BFLAN.d] ERROR at line 11 column 1-5
Near Text: CHAIN
Parsing.Parse_error
ERROR: parsing [Tsujatha\Dialogue\BFLAN.d]: Parsing.Parse_error
ERROR Installing [Tsujatha (BG2:SoA NPC) created by Sillara of the Tamari], rolling back to previous state
If I put the END in, I get this error.
ERROR locating resource:
Resource [BLFAN.DLG] not found in KEY file:
[./chitin.key]
ERROR: problem processing D files: Failure("resource [BLFAN.DLG] not found")
ERROR Installing [Tsujatha (BG2:SoA NPC) created by Sillara of the Tamari], rolling back to previous state
The file looks like this.
BEGIN BFLAN
IF ~See(Player1)
!StateCheck(Player1,STATE_SLEEPING)
Global("TsujathaFlanBrel","GLOBAL",1)
Global("JavinRescued","GLOBAL",0)~
THEN BEGIN TSJ_HurryUp
SAY ~Well, where is Javin? Do not delay so!~
IF ~~ THEN EXIT
END
CHAIN
IF ~See(Player1)
!StateCheck(Player1,STATE_SLEEPING)
Global("TsujathaFlanBrel","GLOBAL",1)
Global("JavinRescued","GLOBAL",1)~
THEN BFLAN TSJ_BetraySorkyst
~Ah. Success. And how, might I ask, did you manage to secure his release?~
END
++ ~I bribed the official.~ GOTO BetraySorkyst1a
++ ~I killed the guard and pillaged his body for the key.~ GOTO BetraySorkyst2a
++ ~It does not matter. I have been successful.~ GOTO BetraySorkyst3a
CHAIN BFLAN BetraySorkyst1a
~With manipulation skills like that, you'd be a great ally of the Shadow Thieves.~
== BTSUJAT
~Enough! Tell me where Sorkyst is.~
= ~(Magical energy leaps and crackles across Tsujatha's fingertips as his impatience builds.)~
== BFLAN
~Yes, of course. My former master, Sorkyst, instructed me to tell his men to meet him at a place called the Small Teeth Pass.~
= ~I cannot tell you where they might be. I do not know.~
== BTSUJAT
~Your help is greatly appreciated.~
= ~Let me repay the kindness by helping you into the next life!~
END
++ ~No, Tsujatha! You have entered into a contract with this man. You cannot take his life now. It would be dishonorable.~ GOTO BetraySorkyst1b
++ ~(Watch and do nothing.)~ GOTO BetraySorkyst1c
It goes on after that, but I never even get that far. Does anyone know what the problem is?
Thank you so much!
Sillara
#31 -Domi_S-
Posted 07 April 2004 - 07:41 AM
B-files, as far as I understand (and I might be wrong) are valid to the chats between the party members only and have to be appended to INERDIA.2DA.
The dialogue for a non-joinable NPC needs to be assigned to its CRE as an override dialogue, either via tp2 WRITE ASCII option or by editing CRE.
#32
Posted 07 April 2004 - 09:13 AM
What does your .tp2 file look like, Sillara?
#33
Posted 07 April 2004 - 09:36 AM
Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods
The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.
#34
Posted 07 April 2004 - 09:44 AM
Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods
The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.