Category:CreationKit.ini

From the Fallout4 CreationKit Wiki
Revision as of 16:34, 27 August 2019 by imported>Qazaaq
Jump to navigation Jump to search

The following Initialization File settings are for Creation Kit editor only.

[General]

The [General] section settings.
Template:Editor:INI:General:bAllowMultipleEditors
Template:Editor:INI:General:bAllowMultipleMasterLoads
Template:Editor:INI:General:bUseVersionControl
Template:Editor:INI:General:sNetwork Path
Template:Editor:INI:General:sNewVersionBackupPath
Template:Editor:INI:General:sNetworkMasterPath


[Papyrus]

The [Papyrus] section settings.

sScriptSourceFolder

  • Default: ".\Data\Scripts\Source\User"

This setting tells the editor where to put new script source files, as well as one of the locations to use when loading and compiling script source. It may be an absolute or relative path. If relative, it is relative to the editor's folder.


sAdditionalImports

  • Default: "$(source);.\Data\Scripts\Source\Base"

This setting is a list of additional folders that the editor and compiler should use. The folders are separated by semicolons, and will be used in left-to-right order. Any listed import folders on the left will override import folders on the right. The order of imports may be verified by looking at the import list within the script tab of the Preference Window. Like the source folder, paths may be absolute or relative to the editor's installation directory.

A special variable called $(source) may be specified to indicate where the value of sScriptSourceFolder should be used.

Examples

; Include a "base" folder containing all original game scripts, let DLC01 override it, and then finally override both with the source folder:
sAdditionalImports="$(Source);Data\Scripts\Source\DLC01;Data\Scripts\Source\Base"


; Include all DLC imports.
sAdditionalImports="$(Source);Data\Scripts\Source\DLC06;Data\Scripts\Source\DLC05;Data\Scripts\Source\DLC04;Data\Scripts\Source\DLC03;Data\Scripts\Source\DLC02;Data\Scripts\Source\DLC01;Data\Scripts\Source\Base"


sScriptTempFolder

  • Default: ""
  • Path: "C:\Users\<USERNAME>\AppData\Local\Temp\PapyrusTemp"

This tells the Creation Kit where to temporarily put script files that are being edited or compiled, as well as the compiler Papyrus Project files that it generates. When this entry is set to the default empty string, then the editor will use a temporary folder in the user's Windows temporary folder at "C:\Users\<username>\AppData\Local\Temp\PapyrusTemp".

There is generally no need to change this setting unless the drive your user folder is on is severely low on disk space, or something else is preventing the Creation Kit from writing to the folder.


sScriptCompiledFolder

  • Default: ".\Data\Scripts"

This tells the Creation Kit where to put compiled Script Files. Since the game can only read them from the data scripts folder, there is little reason to change this.


sCompilerFolder

  • Default: "Papyrus Compiler/"

This tells the Creation Kit where the Papyrus Compiler is installed. There is almost no reason to change this as the compiler installs to this folder by default.


sAutoFillNamespaceDefault*

The auto filled namespace presets for the Creation Kit.

Default

sAutoFillNamespaceDefault1="MyMod01"
sAutoFillNamespaceDefault2="MyMod02"
sAutoFillNamespaceDefault3="MyMod03"
sAutoFillNamespaceDefault4="MyMod04"
sAutoFillNamespaceDefault5="MyMod05"


Example

sAutoFillNamespaceDefault1="Tango57"


See Also