Jump to content

Creation Kit Help (Compiling Scripts)


Recommended Posts

Having just recently setup NP++ for compiling papyrus scripts for SkyrimSE this is what I did,

1. install the NppExec plugin

2. press F6, enter the following into the blank space:

npe_console -- m-

npp_save

set local sse = D:\SteamLibrary\steamapps\common\Skyrim Special Edition\

set local scripts = $(sse)\Data\Scripts

set local papyrus = $(sse)\Papyrus Compiler\PapyrusCompiler.exe

set local source = $(scripts)\Source

npp_console -

cd $(CURRENT_DIRECTORY)

npp_console +

"$(papyrus)" "$(CURRENT_DIRECTORY)\$(FILE_NAME)" -f="$(source)\TESV_Papyrus_Flags.flg"  -i="$(source)" -o="$(scripts)"

You will need to edit the paths for your install of skyrim

3. save this, I called it 'Papyrus Compiler'

4. to compile press F6 make sure 'Papyrus Compiler' is selected, click OK.

 

I also used Npp++ shortcut mapper to select shortcut keys for running the compile and toggling the compile console on and off - warning! although Npp lets you choose F10 as a shortcut to toggle the console, it is also a hard coded win10 shortcut and win10 always wins out! But, if you choose F10 for runing the compile, then that works, I have no idea why:)

 

You wll need to make sure that you have TESV_Papyrus_Flags.flg in your source folder

 

diziet

Link to comment
Share on other sites

  • 9 months later...

Having just recently setup NP++ for compiling papyrus scripts for SkyrimSE this is what I did,

1. install the NppExec plugin

2. press F6, enter the following into the blank space:

npe_console -- m-

npp_save

set local sse = D:\SteamLibrary\steamapps\common\Skyrim Special Edition\

set local scripts = $(sse)\Data\Scripts

set local papyrus = $(sse)\Papyrus Compiler\PapyrusCompiler.exe

set local source = $(scripts)\Source

npp_console -

cd $(CURRENT_DIRECTORY)

npp_console +

"$(papyrus)" "$(CURRENT_DIRECTORY)\$(FILE_NAME)" -f="$(source)\TESV_Papyrus_Flags.flg"  -i="$(source)" -o="$(scripts)"

You will need to edit the paths for your install of skyrim

3. save this, I called it 'Papyrus Compiler'

4. to compile press F6 make sure 'Papyrus Compiler' is selected, click OK.

 

I also used Npp++ shortcut mapper to select shortcut keys for running the compile and toggling the compile console on and off - warning! although Npp lets you choose F10 as a shortcut to toggle the console, it is also a hard coded win10 shortcut and win10 always wins out! But, if you choose F10 for runing the compile, then that works, I have no idea why:)

 

You wll need to make sure that you have TESV_Papyrus_Flags.flg in your source folder

 

diziet

Thank you, this is very helpful. It compiles successfully going through Creation Kit launched from Mod Organizer and then external editor, defaulted to Notepad++

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...