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 7 2004, 05:01 PM
Post #2





Forum Member
Posts: 28
Joined: 22-July 04




QUOTE(jastey @ Nov 7 2004, 12:03 AM)
What I didn't understand in the Banter accelerating script is the "ActionOverride(Player2,Interact(Player2))", which, I presume, does not mean that Player2 should talk to himself, so I don't understand how this starts an NPC-NPC banter with the "correct" two NPCs.

Get ready for another mind-blowing shock:

The value inside the parenthesis has almost NOTHING to do with anything.

It does NOT govern the actual banter that gets run. ANY time a DLG is called in the Infinity Engine, it simply runs the first state trigger it finds, in weighting order, that is a true statement.

The value in parenthesis does two things:

1. Dictates whose name appears in the scrollback as saying the REPLY lines
2. (in the case of Dialogue() ) Dictates who the NPC will walk up to before talking.

I made the banter accelerator target the NPC doing the talking because it seemed fairly reasonable. Player1 might have been better since most REPLY options are going to typically belong to the protagonist, but eh.

This post has been edited by jcompton: Nov 7 2004, 05:04 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:21 PM