Revan_Pwn_Malak Posted October 9, 2008 Share Posted October 9, 2008 So I'm trying to compile just a simple spawn creature script and for some reason it's not compiling. I'm using the "Star Wars: KotOR - Script Compiler" since that's the one I found. When I click the _CompileAll.bat, the command prompt opens up but instantly runs hundreds of errors and then says Compilation aborted with errors Compiling: Spawn Dark Jedi.nss File is an include file, ignored The contents of my override include the nwscript.nss and the file I'm trying to compile, Spawn Dark Jedi.nss. I made sure that I installed everything properly (even uninstalled and reinstalled a fresh copy just to make sure). Then I thought maybe my script wasn't right, so I used a few tutorials and even the KotOR script generator in hopes that it would help, but I still get the same outcome. The strange thing is that I was able to compile fine before I formatted my harddrive. Could it be Vista screwing up? I honestly have no idea what's wrong. >_< So I'd appreciate any help I can get. Thanks in advance! Link to comment Share on other sites More sharing options...
DarthParametric Posted October 9, 2008 Share Posted October 9, 2008 Tried compiling via KOTOR Tool? The external compiler was integrated in a later version. I know when I've played with it that it tends to be a bit screwy. Link to comment Share on other sites More sharing options...
stoffe Posted October 9, 2008 Share Posted October 9, 2008 and then says Compilation aborted with errors Compiling: Spawn Dark Jedi.nss File is an include file, ignored If I remember correctly KOTOR won't handle filenames containing spaces properly, so you should either remove them or replace them with underscores. As for the message, the compiler will say "File is an include file" if the file you are trying to compile with it does not contain any start function where script execution begins. Those have to be named either main() in normal script or StartingConditional() in dialog condition scripts. Include files are files that contain neither of those functions and thus will do nothing on their own. Instead they act as libraries of custom functions, constants and global variables that other real scripts (which have a main() or StartingConditional() function) can make use of via the #include directive. Link to comment Share on other sites More sharing options...
Revan_Pwn_Malak Posted October 9, 2008 Author Share Posted October 9, 2008 Thanks Stoffe, I'll try taking out the spaces. ANd I do have a starting function, void main () as shown in the tutorials and script generator. ANd I'll try the KOTOR tool next. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.