direelite1134 Posted February 14, 2012 Share Posted February 14, 2012 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 More sharing options...
Cipscis Posted February 14, 2012 Share Posted February 14, 2012 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 More sharing options...
direelite1134 Posted February 14, 2012 Author Share Posted February 14, 2012 (edited) 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. CipscisI 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 February 14, 2012 by direelite1134 Link to comment Share on other sites More sharing options...
Cipscis Posted February 14, 2012 Share Posted February 14, 2012 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 More sharing options...
direelite1134 Posted February 14, 2012 Author Share Posted February 14, 2012 Well I got the autocomplete and highlighting working. But it freezes on run, but atleast its doing something lol. So I guess I just need to get the right pathfile and I should be good Thanks, your suggestions helped a lot Link to comment Share on other sites More sharing options...
Tigersong Posted September 10, 2015 Share Posted September 10, 2015 Question- where is this .xml file? Link to comment Share on other sites More sharing options...
KunoMochi Posted September 11, 2015 Share Posted September 11, 2015 Tigersong: http://www.creationkit.com/Notepad%2B%2B_Setup#Syntax_Highlighting That should tell you what to do. :) Link to comment Share on other sites More sharing options...
Recommended Posts