Skip to content

Script Compiling.

Hello I have been trying to solve compiling a custom script for the Firebrand spell just for own use, as I find the visual effects of flame arrow wrong for the spell compared to the description of the spell itself. And I was able to find what I needed, and to export the script x0_s0_Firebrand.NSS with the NWN Explorer.
I also found multiple other tools to help me finding a new VFX for the spell in the .2da files.
I then proceeded writing the code just making and extreme alteration of the original script just to learn by mistakes showing up.
Know my problem is to find a compiler to use to package the x0_s0_Friebrand.NSS to .NCS as from what little knowledge i could find on the forums, suggested that it had to be done for the game to read in the file to the game, in the override folder.
I have made a workspace in visual studio code and put in the json code from the script tutorial on wikipage and it worked as intended being able to read the nwscript.nss and highlight text colouration in the code correctly. But to my big distress the compiler is from what I could understand outdated to the nwscript.nss so no matter what I do it will pop with the error code which is in the image. I haven't been able to find a working compiler anywhere or a work around to this compiler. and I don't know how to implement a different compiler as all the inputs in the json file has to be changed, as well as the way the dirs are written, and I can't do that as non of the compilers have a tutorial or information on how to put up a working json for it. If anyone can help with making a working compiler I would be very interested in hearing from you.

54ilguwsgxwx.png

Comments

Sign In or Register to comment.