Jump to content

CK pex editing randomly broke...


Indeity

Recommended Posts

So I was editing the source of pex script in the ck FINE..but then they just stopped showing up as options. *edit source greyed out*
Anyone know what I might have done?

I feel like this all happened when I saved the esp to esm, but also I deleted my root source file by mistake.. so I had to repair the CK..
now the .ini file is back to default and I'm not sure what changes I may have made when I first installed it.


and yes, I know the difference from psc and pex. I was editing pex tho.

Link to comment
Share on other sites

Put this into your CreationKitCustom.ini in steamapps\common\Fallout 4\:

 

[Papyrus]
sScriptSourceFolder = ".\Data\Scripts\Source\User"
sAdditionalImports = "$(source);.\Data\Scripts\Source\Base;\Data\Scripts\Source\DLC01;\Data\Scripts\Source\DLC02;\Data\Scripts\Source\DLC03;\Data\Scripts\Source\DLC04;\Data\Scripts\Source\DLC05;\Data\Scripts\Source\DLC06;"

 

Also make sure there is a Source.zip inside your Scripts\Source folder (reinstall CK if it's not) and let the CK extract it on startup. Then make sure Scripts\Source\User is not read-only.

 

As for what you think you were doing - what you are editing is a .psc file located in Scripts\Source\User. Those are plain-text source code files with human-readable Papyrus code. When you save them in the CK, they get compiled into Papyrus bytecode, .pex files, which are binary files (non-plaintext) that the Papyrus VM (virtual machine) in Creation Engine can actually execute. Bytecode is also generally faster than fully interpreted source code.

Edited by payl0ad
Link to comment
Share on other sites

awesome thank you.

yea I'm not sure what was going on, I really feel like I was about to dig into some other scripts before that were pex, but I'm starting to think is was bad memory.
at any rate, things we're still off by a lot. this helps. thank you!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...