I don't understand how to do it. I read the tutorial here, and the readme for nwnnsscomp, and I'm lost.
I'm trying to compile several scripts for KOTOR I, and I have both games installed. What do I do? HELP!
I recommend using Kotor Tool. Kotor Tool Text editor has a built in compiler just do script select Kotor 1 then script compile.
Okay, how do I turn the .nss into a .ncs?
by compiling (I thought this was mentioned in the tutorial)...
Anyways, with 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
And you save it somewhere? I tried that, I tried to save it as "HK1" on my desktop, and got:
"Lookup path root set to C:\Program Files\LucasArts\SWKotOR\
Error:Unable to open input file "C:\Documents and Settings\(my name)\Desktop\HK1"
Maybe I didn't type the script right? I madde a custom item that I want to be given in the script. Is this righ?
object oItem=CreateItemOnObject( "g_i_drdcomspk004", GetFirstPC());
If you were to have:
void main()
{
object oItem=CreateItemOnObject( "g_i_drdcomspk004", GetFirstPC());
}
That would work. Do you have that? If you do, yes it should work. What you want to do to correct your issue in KotOR Tool is save your script. Go to where it is saved and rename it so it has .nss, as KT seems to skip the extension off, (Is it only me that KotOR Tool does this to?) at the end and then go and compile it. It should compile properly.