Last active
December 17, 2022 21:43
-
-
Save mrowrpurr/bc4ab4958060819e859a64f773d57138 to your computer and use it in GitHub Desktop.
Mrowr Purr's most recent favorite Papyrus project file .ppj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0'?> | |
<PapyrusProject xmlns="PapyrusProject.xsd" Flags="TESV_Papyrus_Flags.flg" Game="sse" Output="Scripts"> | |
<!-- | |
These variables contain hard-coded paths because the VS Code Papyrus extension does not support environment variables: https://github.com/joelday/papyrus-lang/issues/145 | |
Please change the values of these variables to point to folders on your PC. | |
Notes: | |
- To create the contents of the "Imports" folder yourself, download the listed mods from Nexus or elsewhere and extract them to a folder. | |
- In a few cases (notably UIExtensions) the authors put .psc files into .bsa, so be sure to also extract .bsa for these mods. | |
- The "SKSE" mod contains the contents of the Data\ folder of SKSE as downloaded from https://skse.silverlock.org/ | |
To provide better portability, I *always* use "C:\Modding\PapyrusImports" and "C:\Modding\SkyrimScripting" in my .ppj files | |
Tip: | |
- If you want, you can make these symlinks to other folders on your PC. | |
- This is what I do! These paths actually link to folders in my Dropbox directory. | |
- To create a symlink, open PowerShell as administrator and run something like the following: | |
New-Item -ItemType SymbolicLink -Path "C:\Modding\PapyrusImports" -Target "C:\Users\mrowr\Dropbox\Skyrim\PapyrusImports" | |
--> | |
<Variables> | |
<Variable Name="Imports" Value="C:\Modding\PapyrusImports" /> | |
<Variable Name="SkyrimScripting" Value="C:\Modding\SkyrimScripting" /> | |
</Variables> | |
<Imports> | |
<Import>@Imports\SKSE\Scripts\Source</Import> | |
<Import>C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source</Import> | |
</Imports> | |
<Folders> | |
<Folder>./Scripts/Source</Folder> | |
</Folders> | |
</PapyrusProject> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment