Jump to content

Home

Kreia's appearance


Master Zionosis

Recommended Posts

Well I'm using, HazardX Script Compiler, and its not working, do i need to use some other program, because i have the most recent version of this.

 

While I'm not using HazardX variant of nwnnsscomp I'm fairly certain it should work for both games if you use the proper constant/function definition file for it.

 

Make sure you have a version of nwscript.nss from the KotOR2:TSL game data in the same folder as the script compiler. Sounds to me like you are currently having the KotOR1-version of that file there.

Link to comment
Share on other sites

Ok, i figured out one of the things i did wrong, but it still wont compile, firstly i didn't have the nwscript.nss in the folder i was using, and the second thing is that it wont compile because of some error with the = in the script.

 

There is nothing wrong with the script, it compiles just fine without any changes. If you can't get HazardX script compiler to work properly I suggest you try using the built-in script editor in KotorTool. It will allow you to compile the scripts with a menu command.

Link to comment
Share on other sites

Yep, i have no idea whats going on.

 

Have you successfully compiled any scripts for KotOR2:TSL before using any of the new functions? If not, and you have a non-US version of the game you may need to download a fixed version of the nwscript.nss file and put in your override folder, since the one that comes with the game contains syntax errors for some reason. You can find the corrected file in the scripting tutorials sub-forum above.

Link to comment
Share on other sites

Yes i have compiled many scripts for K2, and where can i download the corrected nwscript.nss file?

 

See this thread in the scripting tutorials forum. You can extract nwscript.nss from the scripts.bif file for KotOR2:TSL with KotorTool, make the necessary fix and put the file in your override folder.

Link to comment
Share on other sites

nope that didn't work either, for KT or HazardX Script Compiler, it now says there is an error with the word object.

 

Well, since I have no idea how you've set up your modding tools I can't offer any more assistance on that. There is nothing wrong with that script, however, so the problem lies somewhere else with your tools.

 

Are you only getting problems when trying to recompile this particular script? If you copy&paste another script code into that file and recompile, do you still get errors?

 

(The error with the word object sounds an awful lot like the syntax error in nwscript.nss though, since it is missing a parameter name after the object keyword.)

Link to comment
Share on other sites

Can you post the exact error you are getting? Also make sure that you specify that you are compiling this script for k2 and not k1 as the ChangeObjectAppearance does not exist in the k1 nwscript.nss. If you are using HzardX 's compiler, make sure that the k2 nwscript.nss is located in your override folder.

Link to comment
Share on other sites

Zionossis, on the K3 forum i have PM'd you the comiled script. My guess at what you are doing wrong is using the wrong nwscript.nss Try using Tk 102's modified nwscript.nss. Also you can use the Kotor Tool to compile scripts. Go to the text editor and write the script. Save it with a .nss extention. You then go to Compile> Script is for Kotor2> F5. This will make it into a .ncs file.

Link to comment
Share on other sites

Thank you Hangout Hermit, i really appreciate it, except i haven't received the PM. And still to see if i can solve this problem here is a pic of the problem: ktortoolscriptprob.jpg

 

Well Hangout Hermit has compiled the file for you but for the future, it seems that your problem is with nwscript.nss. Make use you are using this version of nwscript.nss: http://www.starwarsknights.com/forumdl/nwscript.zip. Line 5710 has been fixed.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...