The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> NPC-(mod) NPC banters, finally understood how it works :)
jastey
post Nov 5 2004, 02:03 PM
Post #1





Forum Member
Posts: 1366
Joined: 22-August 04
From: Germany




Hi everyone,
I have somehow troubles to get a working script for banters between my mod-NPC and the ingame NPCs. Before I start scanning through the existing mod-NPCs (in the hope to identify the banter-triggering script), how is your banter script? Could you post it here for me? smile.gif Is there a tutorial somewhere? (There are some for writing the banters, but how are they called?) Do you have banters that are started by the BioWare NPCs, and how did you script those?
Thanks!

EDIT: I'm asking for BGII, btw.

This post has been edited by jastey: Nov 22 2004, 08:32 AM
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
jcompton
post Nov 5 2004, 06:37 PM
Post #2





Forum Member
Posts: 28
Joined: 22-July 04




QUOTE(jastey @ Nov 5 2004, 02:03 PM)
Before I start scanning through the existing mod-NPCs (in the hope to identify the banter-triggering script), how is your banter script? Could you post it here for me?  smile.gif

Well, no, that's actually what you should be doing first. That, and reading Blue's banter tutorial: http://forums.pocketplane.net/index.php?topic=61.0

Banters are governed by the DLGs listed in INTERDIA.2DA.

There is a mechanism in the game which starts banters every so often. It is not fully understood how often or exactly when it runs, but the upshot is that it calls a DLG from INTERDIA, as though you had issued an Interact() scripting command.

When this "banter timer" fires, or Interact() is called on a DLG, it looks for a valid state trigger in that DLG. Which is why state triggers for banters tend to be of the sort that say "Do I see someone else I want to talk to here? And have we done this banter before?"

Running Infinity Explorer on the Bxxxx series of DLGs, and looking at a mod such as the Banter Pack, should line this up pretty well for you.

This post has been edited by jcompton: Nov 5 2004, 06:38 PM


--------------------
"[I]t's a testament to the determined RPG fraternity that a number of Baldur's Gate II mods have been successfully produced. The best can be found at pocketplane.net." - PC Gamer UK
Go to the top of the page
 
Quote Post

Posts in this topic
jastey   NPC-(mod) NPC banters   Nov 5 2004, 02:03 PM
jcompton   NULL   Nov 5 2004, 06:37 PM
jastey   NULL   Nov 5 2004, 07:57 PM
jcompton   NULL   Nov 6 2004, 01:19 AM
jastey   NULL   Nov 7 2004, 12:03 AM
jcompton   NULL   Nov 7 2004, 05:01 PM
jastey   NULL   Nov 7 2004, 07:05 PM
jcompton   NULL   Nov 7 2004, 09:28 PM
jastey   NULL   Nov 7 2004, 09:37 PM
jcompton   NULL   Nov 7 2004, 09:49 PM
jastey   NULL   Nov 7 2004, 10:08 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 29th August 2025 - 06:19 PM