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 378
  • Win 254
  • OS X 70
  • Linux 54
May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6
Windows 1 0 0 3 0 2 3 1 0 0 2 5 7 6 0 0 1 0 0 1 0 0 0 0 0 0 1 0 2 0 2 1 0 0 0 0 0 0 0 0 0 0 2 0 0 1
OS X 1 0 0 1 1 0 0 1 0 0 0 0 1 2 2 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 0 0 0 0
Linux 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 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 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.