Enerzeal Posted February 11, 2012 Posted February 11, 2012 I've gone with what the bethesda tutorials suggested and I have downloaded both notepad++ and Sumblime Text 2. My question is, how the hell do you get sublime text 2 to compile? I dropped the papyrus file into the correct folder, then I modified the file location to the exact one. I loaded up Sublime text 2, it recognises the syntax and can auto finish and the like, but how on earth do you compile it? I've tried it and it usually says file path not specified.
Sunnie Posted February 11, 2012 Posted February 11, 2012 I don't know much about Sublime Text 2, it appears to be a text/code editor like Notepad++, it does not do any compiling. The compiler is in the Toolset.
DungeonMancer Posted February 12, 2012 Posted February 12, 2012 If hitting F7 does not work for you in Sublime Text 2 and you have checked the Papyrus.sublime-build file, I would recommend checking the ScriptCompile.bat file in the folder... > C:\Program Files (x86)\Steam\steamapps\common\skyrim\Papyrus Compiler\ Make sure the following is in the bat file. "%ProgramFiles(x86)%\Steam\SteamApps\Common\Skyrim\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="TESV_Papyrus_Flags.flg" -i="%ProgramFiles(x86)%\Steam\SteamApps\Common\Skyrim\Data\Scripts\Source" -o="%ProgramFiles(x86)%\Steam\SteamApps\Common\Skyrim\Data\Scripts" Pause I hope this helps!
JustinOther Posted May 7, 2012 Posted May 7, 2012 Also, make sure you've selected Tools > Build System > Papyrus. That was the little detail that tripped me up initially with Sublime Text. Afterward, Ctrl+B or F7 should compile provided Papyrus.Sublime-Build is pointed at the BAT and the BAT is pointed to PapyrusCompiler.exe as described above.
Recommended Posts