Editing Papyrus FAQs

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 55: Line 55:
=== When I try to compile scripts outside the Creation Kit, my scripts always fail to compile. I'm sure my syntax is correct!  ===
=== When I try to compile scripts outside the Creation Kit, my scripts always fail to compile. I'm sure my syntax is correct!  ===


For the sake of simplicity, use fireundubh's Windows batch script (.bat file) for compiling scripts outside the Creation Kit.
For the sake of simplicity, I recommend using my Windows batch script (.bat file) for compiling scripts outside the Creation Kit.


# Save [https://gist.github.com/fireundubh/667b685ad9f5e3358a9b596b42036949 compile_fo4.bat] to <code>C:\Scripts</code>. Create the directory if needed.
# Save [https://gist.github.com/fireundubh/667b685ad9f5e3358a9b596b42036949 compile_fo4.bat] to <code>C:\Scripts</code>. Create the directory if needed.
Line 70: Line 70:
compile_fo4 project.ppj          // compile the specified project file in the Projects directory   
compile_fo4 project.ppj          // compile the specified project file in the Projects directory   
</pre>
</pre>
If you have the old version of this script (previously posted here), I recommend updating!


=== What are all of the parameters for PapyrusCompiler.exe? What do they mean? ===
=== What are all of the parameters for PapyrusCompiler.exe? What do they mean? ===

Please note that all contributions to the Fallout4 CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see FalloutCK:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)