Xbx_Inthusiast Posted March 3, 2006 Share Posted March 3, 2006 I've tried all the kinds of scripting that was in the compiling help thread, and nothing. I'm using redhawke's example. having a .nss notepad document in there with the nwsscomp (or however you spell it) and the .bat needed. I can't do it with kotor tool because I don't know what to put (I went to the site and it confused me more). And when I hit the .bat file in the folder, it says something about not being able to find the *.nss file,but it's in the same folder! Help? Link to comment Share on other sites More sharing options...
Darth333 Posted March 3, 2006 Share Posted March 3, 2006 Just use Kotor tool: Go to the tools menu, select the text editor. Then in the text editor window, go to the script menu, select your game (kotor 1 or kotor 2), make your script and then either go to the script menu and select compile or press F5 Link to comment Share on other sites More sharing options...
Xbx_Inthusiast Posted March 3, 2006 Author Share Posted March 3, 2006 Didn't know you can do that.. heh. Thanks. I'll let you know if it works. Nope, this is what I have: 1.) I opened KOTOR tool and I went to text editor, and hit 'script is for KOTOR 1'. 2.)There are two boxes, one that has the numbers "0001" at the beginning of a row, so I name it 'footlckr099_script' just for use. Then I put the: void main() { float x=0.00f; //94.84 float y=0.00f; //127.36 float z=0.00f; //0.00 float r=0.0f; // 0.00 (This is the north one..) vector MyVec = Vector(x,y,z); //line 1 location MyLoc = Location(MyVec, r); //line 2 object oLocker=CreateObject( OBJECT_TYPE_PLACEABLE, "footlker099", MyLoc); //line3 CreateItemOnObject("g_a_jedirobe88", oLocker); CreateItemOnObject("sbr_blstr", oLocker); CreateItemOnObject("g_a_class7089", oLocker); CreateItemOnObject("ex_armbnd", oLocker); CreateItemOnObject("ex_belt", oLocker); CreateItemOnObject("ex_implant", oLocker); CreateItemOnObject("ex_lghtsbr01", oLocker); CreateItemOnObject("ex_lghtsbr02", oLocker); CreateItemOnObject("ex_robe", oLocker); CreateItemOnObject("inv_mask", oLocker); In the bottom box. 3.)Then I hit 'F5' and it came up to save. So I saved it. 4.)A command prompt called 'compile' came up, so I went to the folder and double clicked the compile command prompt, this is what it said: Loockup path root set to: C:\Program Files\LucasArts\SWKotor Loaded nwscript.nss from C:\Program Files\LucasArts\SWKotor\override/ Error: Unable to open input file "*.nss" Press any key to continue . . . So I did and it disappears and nothing appears in the KOTOR 1 override folder or that folder.. Link to comment Share on other sites More sharing options...
Darth333 Posted March 3, 2006 Share Posted March 3, 2006 Try saving it manually to your override folder first. and I don't know if you pasted your entire script above but it's missing a } at the end. Link to comment Share on other sites More sharing options...
The Source Posted March 3, 2006 Share Posted March 3, 2006 Just use Kotor tool: Go to the tools menu, select the text editor. Then in the text editor window, go to the script menu, select your game (kotor 1 or kotor 2), make your script and then either go to the script menu and select compile or press F5 I did not know this either. I feel dumb. Link to comment Share on other sites More sharing options...
Darth333 Posted March 3, 2006 Share Posted March 3, 2006 That feature was added by the end of 2005 only Link to comment Share on other sites More sharing options...
Xbx_Inthusiast Posted March 3, 2006 Author Share Posted March 3, 2006 Still isn't working. I'm wondering if someone would compile for me.. my computer doesn't seem to like using command prompt.. as it always has some type of error.. Link to comment Share on other sites More sharing options...
Pavlos Posted March 3, 2006 Share Posted March 3, 2006 I don't understand why you would get an error from that script. It looks perfectly fine. Kotor Tool shouldn't come up with a Command Prompt window. You should just get a window called "Compiler Output." It could be that your copy of Kotor Tool's .exe has somehow become corrupt - try reinstalling it. If this doesn't fix it, PM me your email address and I will send you a copy of the compiled script. Link to comment Share on other sites More sharing options...
Xbx_Inthusiast Posted March 4, 2006 Author Share Posted March 4, 2006 The Kotor Tool starts it and it looks like it's compiling it, but it doesn't leave anything. Throughout all of this, trying every way, I have NOT come up with a .ncs file anywhere. I have the .nss file all ready to compile, but to no avail. It's [PG-13 content]-ing me off.. Link to comment Share on other sites More sharing options...
Darth333 Posted March 4, 2006 Share Posted March 4, 2006 btw, how do you save you file when Kotor tool asks you to save it before compiling? make sure you put the *.nss extension like blabla.nss Link to comment Share on other sites More sharing options...
Xbx_Inthusiast Posted March 4, 2006 Author Share Posted March 4, 2006 Its an actual NSS file, so it'd work. I tried the project manager thing, that won't work either. And I can't seem to edit NSS files, except in the KOTOR text manager..It just saved by itself, it chose a folder, and I hit save and it compiled. I checked the folder afterward and nothing. Link to comment Share on other sites More sharing options...
Pavlos Posted March 4, 2006 Share Posted March 4, 2006 Again, that sounds as though it could be a problem with your version of kotor tool. Have you tried reinstalling? Edit: That or you have a faulty version of nwscript. Are you an international user? If so you have to download the language patch or make a correction to that file as there is a syntax error in it. http://www.lucasforums.com/showthread.php?t=146472 That should tell you what you need to know. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.