Coolprogram Posted August 4, 2008 Share Posted August 4, 2008 Hello all, I was wondering how I can make custom dialog's appear in KotOR. I have used both KotOR Tool and DLGEditor to try and get them into KotOR, but I have no luck. I know how to put custom NPC's and weapons into the game, but I can't seem to create custom dialogs. All help is appreciated -CoolProgram Link to comment Share on other sites More sharing options...
Sithspecter Posted August 4, 2008 Share Posted August 4, 2008 Are you trying to add dialog to a new NPC, or an existing one? Link to comment Share on other sites More sharing options...
Coolprogram Posted August 4, 2008 Author Share Posted August 4, 2008 Im trying to add dialog to Darth Revan... I created a .MOD file and put in Darth Revan. but when I click on him it the indicator says dialog but revan doesn't do anything but turn around. Link to comment Share on other sites More sharing options...
Sithspecter Posted August 4, 2008 Share Posted August 4, 2008 There's a dialog option in the NPC file, if you put the name of your dialog there, and put the dialog into the mod file, it should work out. Link to comment Share on other sites More sharing options...
Coolprogram Posted August 4, 2008 Author Share Posted August 4, 2008 Sorry for the post, I figured it out, it was because of extension(s) at the end. -Coolprogram Link to comment Share on other sites More sharing options...
Coolprogram Posted August 4, 2008 Author Share Posted August 4, 2008 hey, instead of posting a different thread and wasting space, i thought I would post two questions here. Q1: How do I add custom .WAV files to the sound/and or have sound files play durring dialog? - FOUND SOLUTION Q2: How can I make people "warp" to other areas when they go through a door or something without them having to type "warp blank"? -Solved (Scroll down for Q3 & Q4:) Thnks in advance, -CoolProgram Link to comment Share on other sites More sharing options...
Istorian Posted August 4, 2008 Share Posted August 4, 2008 @Q2: That's a door issue. Look at this post: Clicky |I| Link to comment Share on other sites More sharing options...
Coolprogram Posted August 4, 2008 Author Share Posted August 4, 2008 Hey thanks! Wow you would think all my questions would be done, but guess what? They're not! lol (I never fail to ask ) Q3: How do I make a character (Non-NPC) Follow a path (Has to do with waypoints I assume) Q4: How do I make the NPC automatically talk to a character after he walks by? Thanks for any help, and for those who have helped me tremendously already! Link to comment Share on other sites More sharing options...
Istorian Posted August 4, 2008 Share Posted August 4, 2008 So, you want to enter a module, and when the PC passes in front of a person, he runs to the PC, and starts a conversation with him. Too easy! You have to put a script that starts a dialogue in your NPC's OnNotice field. For that you should: 1. Open up KT, Text Editor, (or notepad) and paste the following script: void main() { object oPC = GetFirstPC(); object oNPC = GetObjectByTag([color=#1CBBFF]"Your_NPCs_Tag_Here"[/color], 1); AssignCommand(oPC, ClearAllActions()); AssignCommand(oNPC, ActionMoveToObject(oPC, TRUE)); AssignCommand(oNPC, ActionStartConversation(oPC, [color=#1CBBFF]"Your_dialogues_name_here"[/color])); } 2. Compile it with a name let's say "dialogue" without the quotes, and place it in your module file. 3. Open up Kotor Tool again (hope you didn't close it;)), and go to File>Open GFF File> and select your NPC file. In the Scripts tab, in the OnNotice field put the name of your script ("dialogue" in this case), without the quotes and without the .nss extension. Save the .utc. 4. Pack everything in a .mod file, start the game, pass in front of the NPC, and hopefully, he will start the specified conversation with you! |I| Link to comment Share on other sites More sharing options...
Coolprogram Posted August 4, 2008 Author Share Posted August 4, 2008 Hey, thanks again, but for Q3 can I do that with non-NPC characters? and the script doesn't seem to work... do I need to compile it to a .ncs? oh and I don't have the OnPerception, I have OnNotice. (K1) Link to comment Share on other sites More sharing options...
Istorian Posted August 4, 2008 Share Posted August 4, 2008 1. What you mean by non-NPC characters? 2. You have to compile the script, yeah! Sorry for that here is the tested one: void main() { object oPC = GetFirstPC(); object oNPC = GetObjectByTag("Your_NPCs_Tag_Here", 1); AssignCommand(oPC, ClearAllActions()); AssignCommand(oNPC, ActionMoveToObject(oPC, TRUE)); AssignCommand(oNPC, ActionStartConversation(oPC, "Your_dialogues_name_here")); } 3. OnNotice, then! |I| Link to comment Share on other sites More sharing options...
Coolprogram Posted August 4, 2008 Author Share Posted August 4, 2008 hm.. I mean like the character that you're playing as not something like darth revan or malak. Thank you for the tremendous help BTW. Link to comment Share on other sites More sharing options...
Istorian Posted August 4, 2008 Share Posted August 4, 2008 You're welcome! Who do you want to walk in waypoints? The PC, an NPC like Revan or Malak, or someone else? |I| Link to comment Share on other sites More sharing options...
Coolprogram Posted August 4, 2008 Author Share Posted August 4, 2008 The PC :-D Link to comment Share on other sites More sharing options...
Istorian Posted August 4, 2008 Share Posted August 4, 2008 :xp:Why would you want to do that? |I| Link to comment Share on other sites More sharing options...
Coolprogram Posted August 4, 2008 Author Share Posted August 4, 2008 IDK, thought it would be fun Link to comment Share on other sites More sharing options...
Istorian Posted August 4, 2008 Share Posted August 4, 2008 I cannot help you with that, sorry...I don't know...Perhaps a more experienced member like tk, stoffe, RedHawke, EnderWiggin or Tupac Amaru could help you;) |I| Link to comment Share on other sites More sharing options...
EnderWiggin Posted August 4, 2008 Share Posted August 4, 2008 I'm not even sure if that's possible. I know you could make a cutscene, but if you mean in the regular game I can't help _EW_ Link to comment Share on other sites More sharing options...
Coolprogram Posted August 4, 2008 Author Share Posted August 4, 2008 a cut-scene could help as well Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.