Jump to content


Photo

Compiling Scripts, Need Help


  • Please log in to reply
2 replies to this topic

#1 ModderEarthHAHA

ModderEarthHAHA

    X-S Young Member

  • Members
  • Pip
  • 44 posts

Posted 02 October 2005 - 10:30 PM

I'm using Fred Tetra's nwnnsscomp to compile a nss-file using these parameters:

nwnnsscomp -c -g 2 myfile.nss

I get the usual message that you get after a successful compilation (checked a few guides to see if they would mention this), but when I check the dir, there was no ncs-file created. I even tried searching my comp, but no file.

I also tried giving nwnnsscomp a output, but nothing.

Thanks for any help.

#2 digital71

digital71

    X-S Member

  • Members
  • Pip
  • 71 posts

Posted 09 October 2005 - 05:45 AM

You should ask this question over at the holowan forums. You'll get much more responses.

#3 Dak Vesser

Dak Vesser

    X-S Enthusiast

  • Members
  • 7 posts

Posted 12 October 2005 - 01:12 AM

QUOTE(ModderEarthHAHA @ Oct 2 2005, 11:41 PM)
I'm using Fred Tetra's nwnnsscomp to compile a nss-file using these parameters:

nwnnsscomp -c -g 2 myfile.nss

I get the usual message that you get after a successful compilation (checked a few guides to see if they would mention this), but when I check the dir, there was no ncs-file created. I even tried searching my comp, but no file.

I also tried giving nwnnsscomp a output, but nothing.

Thanks for any help.

View Post




You you can also use Hazard's compiler

For Kotor 1:
Copy this to NotePad and then save it as a .bat file,

NWNNSSCOMP -v1.00 *.nss
del *.ndb
pause


Put it in the same directory where your nwnnsscomp and your .nss files are.
Make a short cut to your desktop. Everytime you want to compile, just click on that batch file.


For Kotor 2:

1. Create a folder where you wanna put the nwnnsscomp into, along with SWKotOR II's nwscript.nss <----nwscript.nss will be needed in order to compile scripts for k2. Call the folder something like "k2Compiler"

2. Create a sub folder within"k2Compiler" for all your script files and call it something like "ScriptCmpK2"

3. Copy this to NotePad and save it as a .bat file:

NWNNSSCOMP -co ScriptCmpK2\* ScriptCmpK2\
del ScriptCmpK2\*.ndb
pause


Put that file in "k2Compiler" folder and short cut it to your desktop.

Here's two extra tips...

tip1:Put both script folders(for kotor1 and kotor2)out onto your desktop as shortcuts so you can have quick access to your .nss/.ncs files.
tip2:Once you have both of your compile batch files on your desktop, right click on them and go into "Properties" and add a "Shortcut key"

I use "Ctrl + Alt + c" for the K2 batch file

"Ctrl + Alt + v" for the K1 batch file.

Makes it all faster and easier for debugging..






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users