Mod:Creation Kit/Notepad++

Notepad++ is a freeware text editor that can be used to edit and compile Papyrus scripts. It can be downloaded from the official Notepad++ site. Notepad++ supports user-defined syntax highlighting autocomplete, folding, and can be set up to quickly compile Papyrus scripts, making it a more robust option than using the basic in-editor text editor.

Syntax Highlighting
Create an XML file with the following content (you can call it whatever you like and save it anywhere you like). Note that the following has been updated to include the new Fallout 4 functions, events, and operators:  Open Notepad++ Open the "User Defined Language" window via Language -> Define Your Language... Select "Import..." Select the XML file you created earlier. If the import was successful, you should see a notification saying "Import successful."  Now, when you open up Papyrus source files (with the extension .psc) Notepad++ will automatically highlight them for you.

If you are creating your own script from scratch, you'll need to select the language manually. "PapyrusFallout4" should be available near the bottom of the Language menu in Notepad++.

Compiling Debug from Notepad++

 * 1) Open Notepad++
 * 2) Create a New File
 * 3) Paste the following:


 * 1) Save the file as:


 * 1) Hit F5 (Run)
 * 2) Paste the Following into the Run Box:


 * 1) Hit Save
 * 2) Name it "Compile Papyrus Debug"
 * 3) Hit the small [x] to close the window. A new "Compile Papyrus Debug" option should now appear under the RUN menu.

Compiling Release from Notepad++

 * 1) Open Notepad++
 * 2) Create a New File
 * 3) Paste the following:


 * 1) Save the file as:


 * 1) Hit F5 (Run)
 * 2) Paste the Following into the Run Box:


 * 1) Hit Save
 * 2) Name it "Compile Papyrus Release"
 * 3) Hit the small [x] to close the window. A new "Compile Papyrus Release" option should now appear under the RUN menu.

Mod:Creation Kit/Category: Text Editors Mod:Creation Kit/Category: Scripting Mod:Creation Kit/Category:Tooling