nsc is a compiler written in Python for Nox Script. The compiler generates an obj file that can be loaded into Nox maps.
First, download the compiler from releases. Download nsc.exe
for Windows and nsc.linux
for Linux. Make sure you also download builtins.h
into the same directory.
>nsc -h
Usage: nsc [OPTIONS] SOURCE
NoxScript 3.0 Compiler - By Andrew Wesie (zoaedk) and Brian Pak (cai)
Options:
-o, --out TEXT Output file path.
-v, --verbose Verbose mode. Displays script information.
-h, --help Show this message and exit.
Simply pass in the script source file name as an argument to the compiler.