Keiko Posted February 26, 2005 Share Posted February 26, 2005 I am getting this error message when i try to compile: Completion 0/1 file compiled ignored as a include file press any key to continue... Help Please! Link to comment Share on other sites More sharing options...
Darth333 Posted February 26, 2005 Share Posted February 26, 2005 ok, what script are you trying to compile exactly? and please indicate if it's for Kotor 1 or kotor 2. Link to comment Share on other sites More sharing options...
Keiko Posted February 26, 2005 Author Share Posted February 26, 2005 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 More sharing options...
Xcom Posted February 26, 2005 Share Posted February 26, 2005 You need to compile k_sp1_generic.nss because it includes k_inc_force. Link to comment Share on other sites More sharing options...
Keiko Posted February 26, 2005 Author Share Posted February 26, 2005 But, now it doesn't compile, k_inc_force.nss! Link to comment Share on other sites More sharing options...
Xcom Posted February 26, 2005 Share Posted February 26, 2005 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 More sharing options...
beancounter Posted February 26, 2005 Share Posted February 26, 2005 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.