Trouble with a CHAIN
#1
Posted 25 November 2004 - 10:44 AM
Yeah, so anyway, why doesn't it start as soon as Kaen sees Tiva? I'm postive I set the globals correctly.
CHAIN
IF ~Global("R#Plot","GLOBAL",9)
See("r#tiva")~
THEN r#kaen TivaKaenConverse
~T-tiva? Is that you?~
DO ~SetGlobal("R#Plot","GLOBAL",10)~
== r#tiva
~Yes, yes. Of course it's me, Kaen. Now, we sorta need any information you have recovered on the Experiment.~
==r#kaen
~W-well...first tell me what YOU found out.~
== r#tiva
~Uh...okaaaaay. We kinda eliminated the Night Knives who were searching for the Experiment, and then we sorta figured out the Experiment was a tabby.~
== r#kaen
~A t-tabby? Uh, well, you see....I saw some people drag a tabby down into the sewers not long ago...~
== r#tiva
~You know, i'm willing to bet that be our tabby, aye, <CHARNAME>?~
== r#kaen
~Probably. People don't drag tabbies into sewers for kicks (normal people, at least).~
== r#tiva
~Well, what are we waiting for? <CHARNAME>, we'll meet you in the sewers.~
== r#kaen
~SEWERS?! I don't want to go in the sewers! It's dirty! And infested with...with...WEASELS! Yeah! Weasels!~
== r#tiva
~(sigh) Come on, Kaen. Follow me, <CHARNAME>.~
EXIT
I created a new topic 'cause I didn't think peeps were noticing my post in the old one. So anyway, what in the name of <insert holy whatever> is wrong with this?!
#2
Posted 25 November 2004 - 11:33 AM
I'm not an expert, but since this is being called from your r#kaen.d file (which I am assume is not a banter file) I think you might have to add some triggers to your NPC's baf/bcs in order to get this dialogue to activate.I made this chain, and added it to my r#kaen.d file.
#3
Posted 25 November 2004 - 11:41 AM
#4
Posted 25 November 2004 - 11:48 AM
IF See(r#tiva) THEN RESPONSE #100 StartDialogueNoSet(r#tiva) END
And then you add this to the override-script for r#kaen.
Of course, you can add other triggers and actions to the script if you wish.
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#5
Posted 25 November 2004 - 12:03 PM
IF See(r#tiva) THEN RESPONSE #100 StartDialogueNoSet(r#tiva) END
And then you add this to the override-script for r#kaen.
------------------------------------------------------------------
I copied this, made an override script. Installed it with the .tp2, yada yada. But the script wasn't in-game (not found with DLTCEP).
Do I have to append any 2da files, and how?
Edited by Blitz, 25 November 2004 - 12:04 PM.
#6
Posted 25 November 2004 - 12:49 PM
Just one minor thing:
The script...doesn't work. I got it to compile and all, but Kaen still stands there like an idiot (with Tiva right in front of him).
Arrrgghhh!
#7
Posted 25 November 2004 - 01:07 PM
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.
#8
Posted 25 November 2004 - 01:48 PM
Yes. Pity the n00b. But it works now (I think).
This kind of thing is a great blow to the ol' self-esteem. I swap C++ for IE, and in effect, swap absolute mastery for absolute n00bness.
Hopefully I won't need to keep asking dumb questions all the time.
But you'd think there would be more Weidu tutorials out there.
#9
Posted 25 November 2004 - 01:52 PM
Ehh... ehh...Tsk, tsk, SC forgot to enclose the Death Variables within quotes. Sub "r#tiva" for r#tiva and try it again.
Truth to be told... I copy-pasted a script with player1 and only changed the name.
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#10
Posted 25 November 2004 - 01:56 PM
CHAIN doesn't start, but Kaen goes to talk to Tiva now. Why?! Why?!
*Re-examines Kaen's dialog file
#11
Posted 25 November 2004 - 02:03 PM
Kummalliset kalat liukuvat syvyydessä,
tuntemattomat kukat loistavat rannalla;
olen nähnyt punaista ja keltaista ja kaikki toiset värit -
mutta ihana meri on vaarallista nähdä,
se herättää tulevien seikkailujen janon:
mitä on tapahtunut sadussa, on tapahtuva minullekin.
- Edith Södergran
Amber - The BG2 NPC Mod Project Now released!
Amber's discussion forum at Gibberlings 3
#13
Posted 25 November 2004 - 02:09 PM
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#16
Posted 27 November 2004 - 06:47 PM
Thanks for all the help, and in a day or so, when I finish beta-testing this thing, i'll have my first mod-quest-thingy done.
Modding is your friend...