Mandalore_The_Great Posted November 14, 2008 Share Posted November 14, 2008 This is probably a really stupid question, but how do I add a new script into the game? I'm modding K1, in case you need to know. Link to comment Share on other sites More sharing options...
Darth333 Posted November 14, 2008 Share Posted November 14, 2008 What kind of script is it? What does it do? (It will help us determine what is best in your case) This thread might also help: http://www.lucasforums.com/showthread.php?t=183093 Link to comment Share on other sites More sharing options...
Mandalore_The_Great Posted November 14, 2008 Author Share Posted November 14, 2008 well I wanted to make one so that I could add some new dialogue options when I talked to some of the jedi characters in Dantooine. Link to comment Share on other sites More sharing options...
Star Admiral Posted November 14, 2008 Share Posted November 14, 2008 If you're looking to add dialog options, you'll first need to edit or create a new dlg file for the character in question. If I remember correctly, to determine if that particular dialog branch is available, you'll need type in the script file's name in the "Script to Determine if Node is available" text box. I don't have the DLGEditor in front of me now, but I can check it shortly later. As for the scripting itself, I'm afraid I can't help you, as I'm still somewhat of a scripting newbie. The tutorial Darth333 mentioned might prove handy. - Star Admiral Link to comment Share on other sites More sharing options...
Mandalore_The_Great Posted November 14, 2008 Author Share Posted November 14, 2008 so... how do I edit the .dlg file? it's probably somewhere in the KOTOR tool if I'm not mistaken. Link to comment Share on other sites More sharing options...
tk102 Posted November 14, 2008 Share Posted November 14, 2008 so... how do I edit the .dlg file? it's probably somewhere in the KOTOR tool if I'm not mistaken. You can double click on any .dlg file found in KotOR Tool and that will open the Conversation Editor. Under the Node Scripts tab, it is, as Star Admiral mentioned "Script to Determine Node Availability". Scripts listed in this field look like this int StartingConditional() { // blah blah blah } These scripts return true or false as their result value and based on that, the node is made available or not. Link to comment Share on other sites More sharing options...
Mandalore_The_Great Posted November 14, 2008 Author Share Posted November 14, 2008 I know there's a list of scripts somewhere here... anybody have the link? like what all the different scripts do Could use a little help in figuring out how to have two pics in my signature, too. Link to comment Share on other sites More sharing options...
Darth333 Posted November 14, 2008 Share Posted November 14, 2008 Do you mean nwscript.nss ? All the functions are listed in there (it's in the scripts.bif ...use Kotor tool to get it). you can also check the tutorials here: http://www.lucasforums.com/forumdisplay.php?f=597 Link to comment Share on other sites More sharing options...
Mandalore_The_Great Posted November 14, 2008 Author Share Posted November 14, 2008 I meant the thread in the script section somewhere. Found it alright then, thanks everybody. Needed the help a lot. Nothing big, just spawning some weps.... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.