Jump to content

Home

compilier problems


Captian Subtext

Recommended Posts

If you use the project manager function in Kotor Tool, you won't have to worry about compiler switches.

 

There's a complete guide to it's use in the help file, which you can find here.

 

If you have further questions about it, post them in the Kotor Tool thread.

 

If you're really into command line environments, you can use the version of nwnnsscomp that is installed when you run the Kotor Tool setup program. If you do a nwnnsscomp -help command, you can see the complete syntax for the compiler.

 

I think the project manager is the way to go, but you can have it either way.

Link to comment
Share on other sites

I am having problems getting a script to run death field at anytime to compile. i modeled it off of tk's dark side choker (which i will get permision if i ever distribute it, i need to get it working first). however KT wont compile the file (death_all.nss) what do i need to include?

I have programing expierence, its been a while and i am new to this.

 

Thanks in advance,

Captian Subtext

Link to comment
Share on other sites

Originally posted by Fred Tetra

Send me the script file (address is in the Kotor Tool readme.txt file here ) and I'll take a look at it for you and see what I can find.

 

*strokes beard and starts to wonder*

 

Fred is this a sign of you taking a deeper intrest in our headaches. That you might actually release a mods of your own in the future.:p

Link to comment
Share on other sites

I found a number of errors in the file (missing main function, undeclared variables, missing forward function declarations, etc.) and fixed what I could. While it may not do what you want, it does compile now.

 

Check your email for the compilable script.

 

My advice to anyone who delves into anything as complicated as script programming (or any programming!) is to take small steps. Try modifying something that does almost what you want, making incremental changes instead of large, file-wide ones. In this way, it is easier to track down what's wrong when it won't compile. (And it won't - many, many times!)

 

I learned 'C' programming without books or classes (there were only 2-3 books out and no classes offered) by writing code and looking at the machine code (yes, in a hex editor) that the compiler dumped out. The key is small steps.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...