Jump to content

Home

Eeeeps! Compiling help. >_<


Revan_Pwn_Malak

Recommended Posts

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

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

Archived

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

×
×
  • Create New...