This project includes a NWN2 toolset plugin that adds an improved script compiler (based on Edward T. Smith's nwnnsscomp) to the NWN2 toolset. The compiler is seamlessly integrated and automatically used when compiling scripts from the toolset. Features include better code generation, better warnings and error messages, and the ability to receive more than one compile error at once.
Additionally, an improved console script compiler (replacing nwnnsscomp) is also included, with various bugfixes and improvements over nwnnsscomp. In particular, NWN1 datafiles aren't required anymore for the console compiler, and nwscript.nss can be loaded from the game zip files. Various fixes are also made to ensure that scripts compiled with the console compiler are also compileable by the stock script compiler.
The console-based compiler is compatible with both NWN2 and NWN1.
Direct download link for latest version: http://www.nynaeve.net/Skywing/NWN2/AdvancedScriptCompiler/AdvancedScrip... (658)
Attachment | Size |
---|---|
![]() | 340.04 KB |
FRW Character Creator |
98.6% |
Dark Avenger Chapter 2 |
88.6% |
UNDERMOUNTAIN- Maddgoth's Castle |
82.5% |
ZORK – Rediscovering the Great Underground Empire (NWN2) |
82% |
Ravenloft: Dreamscape |
78.8% |
Crimmor |
98.9% |
Night Howls in Nestlehaven V1.17 |
88.8% |
Mysteries of Westgate |
95% |
From This Comes Strength |
98.9% |
The Cursed Land |
83.3% |
Maybe I'm missing something, but this seems hopelessly broken (for NWN1 use, at least). I can't find any way to get -n to work, similarly for -m and -r; but the biggest problem is that it falls over on consts, eg:
ats_const_mat.nss(6): Error: NSC1051: Constant "CINT_MATERIAL_UNKNOWN" must be initialized before it may be referenced
that line is:
const int CINT_MATERIAL_UNKNOWN = 0;
which is valid code.
There's obviously more to this, since it manages to compile OTHER files that include that one (I think) so I'm still trying to get a handle on it, but right now it's just not usable.
This is an NWN2 toolset plugin.
Only the console / command line is compatible with NWN 1 according to the author.