Results 1 to 4 of 4

Thread: DK Level script plugin for Notepad++

  
  1. #1

    Default DK Level script plugin for Notepad++

    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:

    Click image for larger version. 

Name:	notepad++.png 
Views:	79 
Size:	41.8 KB 
ID:	1510

    I'm happy to share. It requires two files, the syntax and the autocomplete list.

    Installation instructions.

    1. Download the files here:
      NotepadDKSyntax.zip

    2. Extract to a temporary folder on your PC

    3. 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++.

    4. 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 useable for Dungeon Keeper and KeeperFX.

  2. #2
    Imp
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    7

    Default Re: DK Level script plugin for Notepad++

    Thats nice work men! Thanks for that. Works superb

  3. #3

    Default Re: DK Level script plugin for Notepad++

    I can't get it to work, maybe my notepad++ needs to be updated.

    I saw no import at User Defined Dialog..., but found an import at Settings>Import>Import Style themes, where XML formats could be imported.
    The api map at the notepad directory has more xml files, and I already had put keeperfx.xml file there, before I imported syntax_keeperfx.xml.
    I also restarted notepad++, two times now, but I can't find keeperFX in the language menu.

  4. #4

    Default Re: DK Level script plugin for Notepad++

    I don't know how old your version is, but this topic is almost 2 years old so it worked with an old version as well. In the latest version the menu's have changed a bit.

    In 6.8.1 of notepad++ click 'language', then 'define your language' and you'll have the import button right there.

Similar Threads

  1. New script commands
    By mefistotelis in forum KeeperFX
    Replies: 89
    Last Post: May 18th, 2016, 08:04
  2. need help with script
    By Edwin in forum DK1 Mapmaking
    Replies: 5
    Last Post: March 18th, 2014, 08:52
  3. There is an error in my script??
    By Kerdinario in forum KeeperFX
    Replies: 4
    Last Post: June 2nd, 2013, 13:27
  4. Script error in level 20
    By friscmanseby in forum KeeperFX
    Replies: 1
    Last Post: June 19th, 2012, 03:36
  5. Research Order Script
    By Metal Gear Rex in forum DK1 Mapmaking
    Replies: 4
    Last Post: November 5th, 2010, 18:15

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •