I was doing some scripting, and I've put the Dungeon Keeper syntax into Notepad++. This means syntax highlighting and auto-complete functionality.
So no more typo's.
This is the result:
I'm happy to share. It requires two files, the syntax and the autocomplete list.
Installation instructions.
- Download the files here:
NotepadDKSyntax.zip
- Extract to a temporary folder on your PC
- Open Notepad++. In the menu: View - User-Defined Dialog.... Then select 'Import..' and select the file syntax_keeperfx.xml which you've just downloaded. Click 'Open' then close Notepad++.
- Move the file keeperfx.xml to the folder 'C:\Program Files (x86)\Notepad++\plugins\APIs', or wherever you have installed notepad++.
Finished. Now when you open a dungeon keeper level script file in Notepad++, select 'KeeperFX' from the language menu.
If autocomplete does not show up - and you are sure you've installed it correctly - you have autocomplete disabled(standard). To enable: Settings-Preferences-Backup/Autocompletion -> check 'Enable auto-completion on each input'.
Included are all script commands from KeeperFX until the current nightly(r1366), so usable for Dungeon Keeper and KeeperFX.
EDIT:
I made an update. The above doesn't work anymore due to updates in notepad++. And there have been many more script commands.
Download the update here: NotepadDKSyntaxV20191225.zip
As for the installation, the file keeperfx.xml now goes to the folder 'C:\Program Files\Notepad++\autoCompletion', or wherever you have installed notepad++. The other file can be handles as above, and you can enable it now through Settings->Preferences->Auto-Completion.
EDIT 2:
The Notepad++ menu seems to change with every version. Now it's: 'Language->User Defined Language -> Define Your Language -> Import'