Scripts files and Creation Kit

Post » Mon Jun 18, 2012 10:32 am

I noticed that the scripts are independent of the creation kit generated plugins (esp files) and is there any potential for the esp file to not get the latest version of the script? (The plugin's don't get marked as modified if you just edit scripts that it uses)

Or is it just a UI bug and saving still updates everything as normal.
User avatar
Taylah Haines
 
Posts: 3439
Joined: Tue Feb 13, 2007 3:10 am

Post » Mon Jun 18, 2012 12:36 pm

Another strange thing is that the autofill requires you to actually press autofill the properties or it doesnt seem to "fill" it with anything at runtime (Properties evaluate false even if they should be true).

And for some strange reason elseif statements seem to fall through normally the if statement above being true would skip the elseif statement (Else being only excuted when the parent condition failed)
User avatar
Wayne W
 
Posts: 3482
Joined: Sun Jun 17, 2007 5:49 am

Post » Sun Jun 17, 2012 11:13 pm

I noticed that the scripts are independent of the creation kit generated plugins (esp files) and is there any potential for the esp file to not get the latest version of the script? (The plugin's don't get marked as modified if you just edit scripts that it uses)

Or is it just a UI bug and saving still updates everything as normal.

I get the same thing. To take things further. I edited one of the scripts, saved my plugin. Then after, i closed down the CK, wanting to check out another mod. Loaded it into the program, and for some reason the edits on this script carried over to the other mod, even though my mod was not
checked.

As a test I closed the CK again, then loaded only Skyrim.esm. I checked out that script that i had edited and sure enough, for some reason my edits were still showing up. I have no idea how to revert the script back or have any idea what's going on.

To All:
Any help on this would be greatly appreciated please.

Thanks,

-Mush-
User avatar
Mizz.Jayy
 
Posts: 3483
Joined: Sat Mar 03, 2007 5:56 pm

Post » Mon Jun 18, 2012 7:39 am

I noticed that the scripts are independent of the creation kit generated plugins (esp files) and is there any potential for the esp file to not get the latest version of the script? (The plugin's don't get marked as modified if you just edit scripts that it uses)

Or is it just a UI bug and saving still updates everything as normal.
Scripts are completely external, stored in the Scripts folder as .PSC (source) and .PEX (compiled) files. The SCPT form is not used in Skyrim. The records they're 'attached' to store the reference info for a script's properties and point it to the affixed script(s). In many instances, I've found myself playtesting script edits without even opening the CK as they can be edited and compiled externally with http://www.creationkit.com/Notepad%2B%2B_Setup or http://www.creationkit.com/Sublime_Text_Setup.

Another strange thing is that the autofill requires you to actually press autofill the properties or it doesnt seem to "fill" it with anything at runtime (Properties evaluate false even if they should be true).

And for some strange reason elseif statements seem to fall through normally the if statement above being true would skip the elseif statement (Else being only excuted when the parent condition failed)
Properties: That's the part where the form stores the reference data to glue it to the script. It's enabling too as you can point a property elsweyr w/o even having to edit/compile the script.

NOTE: PSCs and PEXs are like the Highlander; there can be only one (unless in a BSA).

If/ElseIf/Else/EndIf: [code]Example[/code]?
User avatar
chloe hampson
 
Posts: 3493
Joined: Sun Jun 25, 2006 12:15 pm

Post » Mon Jun 18, 2012 9:22 am

Don't modify original scripts. Create new ones.
User avatar
Laura Wilson
 
Posts: 3445
Joined: Thu Oct 05, 2006 3:57 pm


Return to V - Skyrim