Comments (4)
- Dont put the
psc
file extension in the<Script>
element. It's theScriptName
not the file name.
E:\Games\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\DLC\DLC03
<?xml version='1.0'?>
<PapyrusProject xmlns="PapyrusProject.xsd"
Flags="Institute_Papyrus_Flags.flg"
Output="E:\Games\Steam\steamapps\common\Fallout 4\Data\Scripts"
Asm="Discard"
Optimize="false"
Release="false"
Final="false">
<Imports>
<Import>.</Import>
<Import>E:\Games\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\DLC</Import>
<Import>E:\Games\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\Base</Import>
</Imports>
<Scripts>
<Script>DLC03:TrapBear</Script>
</Scripts>
</PapyrusProject>
e:\Games\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User>CALL "..\..\..\..\Papyrus Compiler\PapyrusCompiler" "..\User\Creation Kit - User.ppj"
Papyrus Compiler Version 2.8.0.4 for Fallout 4
Copyright (C) ZeniMax Media. All rights reserved.
Starting 1 compile threads for 1 files...
Compiling "DLC03:TrapBear"...
Compilation succeeded.
Batch compile of 1 files finished. 1 succeeded, 0 failed.
from papyrus-lang.
Wow, thanks @Scrivener07 !
I did not realize that the DLC directories needed to be one level down from the Base/ directory level.
From the documentation, example 2 in the wiki
<Import>C:\Program Files (x86)\Steam\steamapps\common\Fallout 4\Data\Scripts\
Source\DLC01</Import>
Maybe that should be changed to insert the DLC/ directory between Source/ and DLC01?
The documentation also says,
<Scripts>
Element
...
It consists of several <Script> elements which specify the script files the compiler should build. Namespaces may be specified using path separators or colons. File extension is optional.
So it seems to not be true that the file extension in optional in a <script> element?
Anyway, thanks a ton!
from papyrus-lang.
No problem :)
from papyrus-lang.
Yea general papyrus docs are an ongoing thing and much of it was inherited from the CreationKit.com
from papyrus-lang.
Related Issues (20)
- Possible issue running generateProject command on v2.21.2 HOT 1
- Syntax error on Float argument's default value HOT 5
- Autocomplete/Syntax not working with MO2 setup HOT 2
- Extension host terminated unexpectedly. HOT 2
- Document This retirement HOT 1
- Support environment variables in papyrus project files
- Skyrim LE project has the wrong Import path defined
- Skyrim LE project cannot be built
- Pre & Post build events from Pyro not supported
- The skyrimSpecialEdition server crashed 5 times in the last 3 minutes HOT 3
- "EndProperty" isn't blue like "Property" is.
- Which Skyrim SE versions does the DarkId.Papyrus.DebugServer.Skyrim.dll support HOT 5
- Update to 3.0.1 changed ${SKYRIMSE_PATH} Scripts\Source to Source\Scripts HOT 7
- Wonky syntax highlighting when escaping delim-pair characters or inputting some contextually non-delim-pair characters in strings. HOT 3
- Completion Extremely Slow HOT 12
- CTD when loading save after update HOT 4
- Default Imports would be a nice QoL HOT 1
- Which mod managers are supported? (suggestion to clarify)
- When breaking on a breakpoint decompiled source is shown when original source is available HOT 1
- Snippets/completions: Add parentheses to functions on commit-character (tab, return, whichever is in current settings) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papyrus-lang.