Git Product home page Git Product logo

Comments (4)

Scrivener07 avatar Scrivener07 commented on June 29, 2024
  • Dont put the psc file extension in the <Script> element. It's the ScriptName not the file name.

E:\Games\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\DLC\DLC03
Capture

<?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.

Gavvers avatar Gavvers commented on June 29, 2024

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.

Scrivener07 avatar Scrivener07 commented on June 29, 2024

No problem :)

from papyrus-lang.

Scrivener07 avatar Scrivener07 commented on June 29, 2024

Yea general papyrus docs are an ongoing thing and much of it was inherited from the CreationKit.com

from papyrus-lang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.