Jump to content

How do you set up a working scripting environment for the CK?


Recommended Posts

Posted (edited)

Just to clarify, by working scripting environment I mean an environment that makes editing, compiling and saving scripts possible. I tried with Spank that Ass because I want to add an image to the MCM menu as a way of learning(I thought it would be simple), and I've added the scripts of STA and SkyUI(including the source scripts from gitHub) into my Skyrim folder in this structure: Skyrim Special Edition\Data\Scripts\Source like it is by default.
 

Then I'm starting the CK from there to avoid issues with MO2(which I'm normally using). I opened the script attached to the STA mcm quest and tried to save it without changing anything, but I'm getting alot of errors:

 

 

Spoiler

Untitled.jpg.163c916574363d0004ab8dd5064ab129.jpg

 

I can't even show all of the error because of the limitation of the UI, but they all have the same pattern. What am I missing or doing wrong here?

Edited by RoninDog
Posted

Well for starters, you not running the CK through MO2 is probably why it can't find the SkyUI SDK. With Sky UI there's also the issue of backwards compatibility.

 

Basically the thing that trips up everyone starting to get into Papyrus is that they already have a hundered scripted mods installed, but since it wasn't relevant at the time, they've neglected the script sources. Not having script sources for every mod is bound to cause issues sooner or later when you're editing and compiling stuff. Once you think you got all that sorted, the next thing that gets you is that there's 2 different standards for where scripts should be placed. Which one is currently in used is defined in CreationKit.ini; or if its not defined there, then assume its the *new* standard: Data\Source\Scritps\*.psc

Posted
4 hours ago, traison said:

Which one is currently in used is defined in CreationKit.ini; or if its not defined there, then assume its the *new* standard: Data\Source\Scritps\*.psc

The error message shows that its still left at the weird *new* standard which no one uses.
Just change it to the old one.
https://www.reddit.com/r/skyrimmods/comments/812s64/ck_64bit_how_to_change_scriptsource_directory_to/

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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