ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Neverwinter Script syntax and build

by CromFr ST3

Sublime Text completion, syntax highlighting and build system for NWScript (NSS) (NWN2 and possibly NWN1)

Details

Installs

  • Total 289
  • Win 189
  • OS X 54
  • Linux 46
Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31
Windows 0 0 1 0 2 1 1 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 1 0 0 0
OS X 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
Linux 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Install notes

Compiler installation :

Option 1: Using prepared binaries

Option 2: Using custom binaries

  • Download the AdvancedScriptCompiler (http://neverwintervault.org/project/nwn2/other/tool/advanced-script-compiler-nwn2) and extract the standalone compiler at

    • Windows: C:\Program Files (x86)\NWNScriptCompiler\
    • Linux: /opt/NWNScriptCompiler/
  • If installed in another directory that the one specified, you will need to update the path to NWNScriptCompiler.exe in nwscript.sublime_build (dont forget to use double backslashes)

  • Extract the NWN2 script data files (maybe C:\Program Files (x86)\Atari\Neverwinter Nights 2\Data\Scripts*.zip) in

    • Windows: C:\Program Files (x86)\NWNScriptCompiler\Scripts\
    • Linux: /opt/NWNScriptCompiler/Scripts
  • You can delete ncs files from this directory since only nss are required to build

Extra steps for Linux

You need wine in order to use the NWNScriptCompiler.exe

apt-get install wine #Ubuntu/Debian users
yum install wine #Fedora/Redhat users
pacman -S wine #Arch-Linux awesome users

Sublime package installation :

With PackageControl :

  • Install package STNeverwinterScript
  • Check that path setting in Preferences/Package Settings/STNeverwinterScript/Settings leads to the NWNScriptCompiler script folder. If not, override it.

Manual install :

  • Clone/extract https://github.com/CromFr/STNeverwinterScript into the sublime package directory (%appdata%\Roaming\Sublime Text 3\Packages on windows)
  • Check that path setting in Preferences/Package Settings/STNeverwinterScript/Settings leads to the NWNScriptCompiler script folder. If not, override it.