Jump to content

Home

Can't compile scripts


Keiko

Recommended Posts

Sorry, always forget that, TSL, k_inc_force.nss. here is what the log says: -------------------------------------------

NSSCOMP.bat output Sat 02/26/2005 02:55

-------------------------------------------

Compiling: k_inc_force.nss

File is an include file, ignored

Total Execution time = 32 ms

-------------------------------------------

Compilation complete: 0/1 file compiled

1 file ignored as include file

Link to comment
Share on other sites

Originally posted by DarthSmallz

But, now it doesn't compile, k_inc_force.nss!

 

It doesn't have to (that is: it does have to output compiled k_inc_force). All changes you made in k_inc_force will be applied to k_sp1_generic.

 

simply move compiled k_sp1_generic to your override and fire up the game.

Link to comment
Share on other sites

All of the scripts that begin with "k_inc" are what is called in include file. If you look at k_sp1_generic you will see a line that says : #include "k_inc_force". This one line of code basically copies the entire k_inc_force and places it in k_sp1_generic. It is something that programmers use to cut down on duplicate code.

 

When the KOTOR complier runs, it ignores any program that is an include file. An include file is not meant to stand alone, but rather be a part of a different program. That is why it will not compile. Just extract k_sp1_generic into your override directory and make sure your modified k_inc_force is in the same directory as NWNNSSCOM.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...