xboxscene.org forums

Author Topic: Compiling Scripts, Need Help  (Read 86 times)

ModderEarthHAHA

  • Archived User
  • Newbie
  • *
  • Posts: 38
Compiling Scripts, Need Help
« on: October 02, 2005, 03:30:00 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.
Logged

digital71

  • Archived User
  • Newbie
  • *
  • Posts: 49
Compiling Scripts, Need Help
« Reply #1 on: October 08, 2005, 10:52:00 PM »

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

Dak Vesser

  • Archived User
  • Newbie
  • *
  • Posts: 6
Compiling Scripts, Need Help
« Reply #2 on: October 11, 2005, 06:19:00 PM »

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.
*




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..

Logged