Jump to content

Papyrus in Notepad++


direelite1134

Recommended Posts

I was following the wiki to import the Papyrus stuff to Np++. I copied the xml to the apis folder, I imported the highlighting xml, which says the import was successful. Yet it doesn't highlight? :wallbash: I cant find the plug in the list of plugins, and it doesn't auto complete. It also seems not to compile :psyduck: , I made sure to change the .bat to the correct path(at least as far as i know). Yet when I hit run it seems to do nothing at all :unsure: Does does anyone know a better tutorial than the wiki? or just any advice on how they got it to work? or a better outside ck scripting program?

 

Thanks!

Link to comment
Share on other sites

The autocomplete file should go in the /plugins/APIs/ directory and doesn't need import. The syntax highlighting file doesn't need to be placed anywhere in particular, and should be imported via Notepad++'s "User-Defined Dialogue..." window (look under "View").

 

Did you save the "run" command in Notepad++ with the right shortcut? If not, that would explain why using the shortcut wouldn't work.

 

Cipscis

 

EDIT:

 

Also, the wiki is open to public editing. If you feel it's not clear enough, and you think you can make it clearer, please feel free to edit the page.

 

Cipscis

Link to comment
Share on other sites

The autocomplete file should go in the /plugins/APIs/ directory and doesn't need import. The syntax highlighting file doesn't need to be placed anywhere in particular, and should be imported via Notepad++'s "User-Defined Dialogue..." window (look under "View").

 

Did you save the "run" command in Notepad++ with the right shortcut? If not, that would explain why using the shortcut wouldn't work.

 

Cipscis

 

EDIT:

 

Also, the wiki is open to public editing. If you feel it's not clear enough, and you think you can make it clearer, please feel free to edit the page.

 

Cipscis

I think i did all that, for some reason i have an ansi and a unicode folder in my np++ folder, so I put the plug in in the Api folders for each. I did import the highlighting file, and it says "import successful, but when i opened a script it was still black and white. Do I need to click the "user defined Languages" option in the langauges menu or something?

 

I browsed to the batch file and clicked it, so I dont think it would be wrong, or is that not how I am supposed to do it? In the batch file i put

 

"%D%\Steam\SteamApps\Common\Skyrim\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="TESV_Papyrus_Flags.flg" -i="%D%\Steam\SteamApps\Common\Skyrim\Data\Scripts\Source" -o="%D%\Steam\SteamApps\Common\Skyrim\Data\Scripts"

Pause

 

My steam folder is in the my d drive with no folders in between, so I believe that is right? Ishould I get a compile window when run?

Thanks again for your help, and if i cant follow a wiki I should't be writing in it :teehee:

Edited by direelite1134
Link to comment
Share on other sites

Make sure, for the autocomplete to work, you've enabled that feature in Notepad++. You can find that in the "Backup/Auto-Completion" tab of the "Preferences" window, available under "Settings".

 

If you look inside "Language" is "Papyrus" displayed near the bottom? It should be automatically used for *.psc files, but for anything else (like scripts you're writing from scratch and haven't saved yet) it'll need to be enabled manually.

 

If your batch file doesn't work, try this instead:

"D:\Steam\SteamApps\Common\Skyrim\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="TESV_Papyrus_Flags.flg" -i="D:\Steam\SteamApps\Common\Skyrim\Data\Scripts\Source" -o="D:\Steam\SteamApps\Common\Skyrim\Data\Scripts" 
Pause

 

if i cant follow a wiki I should't be writing in it :teehee:

On the contrary: if you can't follow the wiki it probably needs editing :)

 

Cipscis

Link to comment
Share on other sites

  • 3 years later...
  • Recently Browsing   0 members

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