bryzz Posted August 13, 2010 Share Posted August 13, 2010 there are alot of npcs in kotor that when you walk up to talk to them you get that box above their head that has the lines they are saying in it and you can hear the voice but you are not really talking to them - i am adding a mandalorian on dantooine near the ruins and i want this to happen because i dont want the pc to get into a conversation with him at that point - so how would i go about doing this?? Link to comment Share on other sites More sharing options...
Viado Onasi Posted August 13, 2010 Share Posted August 13, 2010 floating dialog and a tigger type thing. I think not sure how to make those, but I've been wondering the same thing Link to comment Share on other sites More sharing options...
newbiemodder Posted August 13, 2010 Share Posted August 13, 2010 You create a dialog that consists of only one line using a dlgeditor application. You then save that dialog to your override. Then you put the dialog name in the dialog box on the utc file you created for your mandalorian. So, when the player clicks on the mandalorian he says his one line bubble speech. That's pretty general description. If you need more ask or check the tutorials an creating a dialog. Link to comment Share on other sites More sharing options...
Darth Hayze Posted September 20, 2013 Share Posted September 20, 2013 Does it have to be one line? It wouldn't work say, for the banter dialog to have that just happen instead of stopping the game with a cutscene? Link to comment Share on other sites More sharing options...
Fallen Guardian Posted September 21, 2013 Share Posted September 21, 2013 Does it have to be one line? It wouldn't work say, for the banter dialog to have that just happen instead of stopping the game with a cutscene? Instead of having an individual dialogue file for each line, executing each one to be played in a sequential order, you could have one script fire off all the lines from their central location in the dialog.tlk. For instance, say I wanted to have Bastila and Carth's conversation about the Vulkars capturing her. I'd look up the StrRef numbers for each of the lines (they're shown right above the text in tk102's dialogue editor) and paste them into a script like the one below: void main() { object oCarth = GetObjectByTag("Carth"); object oBast = GetObjectByTag("Bastila"); AssignCommand(oCarth, ActionBarkString(38791)); AssignCommand(oCarth, ActionBarkString(38792)); AssignCommand(oCarth, ActionBarkString(38793)); } This would make Carth "shout" his first line of the conversation, then make Carth "shout" Bastila's reply and then make Carth "shout" his reply again. Essentially the "shouting" would be the pop-up dialogue bubble - at least that's my understanding of it. I tried working with bark string in one of my projects and it didn't work, but I was using it in a rather tenuous situation to begin with so there could've been other problems causing it not to work. Now I had Carth do all the "shouting" because this way, in theory, the barking of each line gets added to his action queue - which means line 38792 would have to wait for line 38791 to finish playing before being barked. If I had Bastila actually assigned to bark her line she'd do it at the same time Carth does his first line, which would be pretty weird. Anyway, like I said, I haven't worked much with bark string before so this may or may not work - hopefully it does. Link to comment Share on other sites More sharing options...
harIII Posted September 21, 2013 Share Posted September 21, 2013 If you really wanted to have a dialog like that with multiple people you could always inject a DelayCommand () function in front of the lines so they pop up in a timely order giving it the illusion that it's in sequencial order. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.