YackPack: How to make NPCs talk?
by Ingo Seidel · in General Add-On Discussion · 08/21/2009 (5:12 am) · 0 replies
I installed YackPack and it works fine in the Stronghold Demo (TGEA 1.8.1). But now I am having problems with making other NPCs talk. The user guide tells me to add the canTalk field to the NPC's Datablock and set it to "true" and so on. Something like this...
//START YACK
canTalk = true;
dialogScriptName = "Stanley_Sunshine_Dialogue";
dialogScriptFile = "./dialogue/Stanley_Sunshine.dls";
dialogImg = "scriptsAndAssets/data/shapes/player/Kork_Portrait.png";
name = "Kork";
//END YACK
But I am still not sure where to add this block. For example, if I want to make the TorqueOrc talk, I add the datablock to TorqueOrc.cs, right? Is there something else to do? I know, a newbie question :-) but I simply can't get it working...
//START YACK
canTalk = true;
dialogScriptName = "Stanley_Sunshine_Dialogue";
dialogScriptFile = "./dialogue/Stanley_Sunshine.dls";
dialogImg = "scriptsAndAssets/data/shapes/player/Kork_Portrait.png";
name = "Kork";
//END YACK
But I am still not sure where to add this block. For example, if I want to make the TorqueOrc talk, I add the datablock to TorqueOrc.cs, right? Is there something else to do? I know, a newbie question :-) but I simply can't get it working...