vanatos Posted August 16, 2014 Share Posted August 16, 2014 Hi guys, more questions I've been looking at how banters get triggered, its easy for me to see how this is done via .baf scripts triggering based on variables and executing interact(npc) But it seems there is a whole engine to take care of random banters and i can't find any .baf file triggering these. For instance, Minsc has a random banter weighted at 40 which is the dialogue with Aerie to become a witch, but i can find no code in any .baf file that executes this with interact(..) so is there a whole engine behind the scenes that just randomly starts executing party banters? Link to comment
Avenger Posted August 16, 2014 Share Posted August 16, 2014 There is a banter dialog file attached to every npc. See interdia.2da Link to comment
Ardanis Posted August 16, 2014 Share Posted August 16, 2014 so is there a whole engine behind the scenes that just randomly starts executing party banters? Yes. Link to comment
vanatos Posted August 17, 2014 Author Share Posted August 17, 2014 ok i thought so, is there any links to how the engine works? Link to comment
Avenger Posted August 17, 2014 Share Posted August 17, 2014 When the engine decides that someone shall banter, it picks 2 interacting npcs. Sets 'interactingwith' to the second npc. And fires the dialog associated with the first npc from interdia.2da The random pickings are done by the dialog top level conditions. This doesn't seem too complicated. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.