Jump to content

Home

KotOR - compile scripts problem


oldflash

Recommended Posts

Well, is not much like a problem except I cant get the ncs file.

 

What I have done so far:

I have installed kotor, .net frameworks (1 and 2), kotortools and set all paths.

I've try to edit one script from sources, save edited in override folder, compile and everything looks to be fine.

I get the confirmation message with which files are used in compile proccess and execution time but there is no ncs file in override or another place on HDD.

 

After starting kotortools first time I've got a nwnscipts.nss in override folder. It was suppose to make any adjustments to this file?

 

Beside this small problem I have a question. There are any decompiled scripts for kotor (similar to decompiled scripts for TSL)?

 

Thanks.

Link to comment
Share on other sites

What I have done so far:

I have installed kotor, .net frameworks (1 and 2), kotortools and set all paths.

I've try to edit one script from sources, save edited in override folder, compile and everything looks to be fine.

I get the confirmation message with which files are used in compile proccess and execution time but there is no ncs file in override or another place on HDD.

The ncs file is compiled wherever the Source Script is located. So if it is in C:\Games\LucasArts\SWKOTOR\Override the ncs is gonna bet there.

 

After starting kotortools first time I've got a nwnscipts.nss in override folder. It was suppose to make any adjustments to this file?

No, you do not. In fact, as long as you keep that a copy in your override folder, you should be OK not even looking at it (although it is recommended)

Link to comment
Share on other sites

I get the confirmation message with which files are used in compile proccess and execution time but there is no ncs file in override or another place on HDD.

 

Don't know where KotorTool stores compiled files (since I don't use its script editor), but if no NCS file is created at all make sure that the script in question has a main() or StartingConditional() function (i.e. isn't an include file).

 

After starting kotortools first time I've got a nwnscipts.nss in override folder. It was suppose to make any adjustments to this file?

 

I don't think that is needed for Kotor (1), I'd guess KotorTool just extracts the file to the override folder so it won't have to read it from the BIF files whenever it needs to compile scripts. (The nwscript.nss file in TSL had some syntax errors in some versions of the game that needs to be fixed, the necessary changes should be mentioned in one of the scripting tutorials I think).

Link to comment
Share on other sites

Thanks for all answers.

 

I have manage to compile at the end. The answer was so simple and posted some time ago by Darth333 in this thread: http://www.lucasforums.com/showpost.php?p=1745922&postcount=2

Before anything else, make sure you have enabled the view extensions option in Windows. If you haven't, open Windows Explorer and go to the Tools menu > Folder Options> View and uncheck "Hide extensions of known file types" and click OK.

 

For script sources I will try my luck with DeNCS and see if I manage to decompile files from this location: c1ax4.jpg

 

I gues I will read again all tutorials since I am more dumb than last year.

 

Thanks again for help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...