Captian Subtext Posted November 11, 2004 Share Posted November 11, 2004 My compilier will compile scripts but any script i try to use wont work even with -v1.00 help please. Link to comment Share on other sites More sharing options...
Darth333 Posted November 11, 2004 Share Posted November 11, 2004 What are you trying to do? Link to comment Share on other sites More sharing options...
Fred Tetra Posted November 12, 2004 Share Posted November 12, 2004 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 More sharing options...
Captian Subtext Posted November 12, 2004 Author Share Posted November 12, 2004 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 More sharing options...
Fred Tetra Posted November 12, 2004 Share Posted November 12, 2004 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. Link to comment Share on other sites More sharing options...
Darkkender Posted November 12, 2004 Share Posted November 12, 2004 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. Link to comment Share on other sites More sharing options...
Fred Tetra Posted November 14, 2004 Share Posted November 14, 2004 Actually, I have already released one; "Fred Tetra's Wristwatch". Not a terribly useful one, I'll admit, but a mod nonetheless Link to comment Share on other sites More sharing options...
Fred Tetra Posted November 14, 2004 Share Posted November 14, 2004 Besides, if I didn't empathize with users' problems, why do you think I'm always adding new features to Kotor Tool to make modding easier? Link to comment Share on other sites More sharing options...
Fred Tetra Posted November 14, 2004 Share Posted November 14, 2004 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.