Fragments Are Forever?

Post » Thu Jun 21, 2012 4:26 pm

I made a mistake on a property for a Pap fragment and I can't find a way to delete it.

I have even deleted the whole fragment script and restarted CK but when I put the code in and try to set the property for it I still get the same errors.

What should be done in situations like this?

Thanks!
User avatar
Taylor Bakos
 
Posts: 3408
Joined: Mon Jan 15, 2007 12:05 am

Post » Thu Jun 21, 2012 2:23 pm

you may have to delete the fragment (both pex/psc) in your scritps folder after you detatch the fragment from your object (erase everything in fragment window compile and hit ok to close out, then reopen and detach)

for future refernce, do not ever delete properties that are filled. instead follow these steps to get it working again without the usual papyrus errors:


go to properties, hit clear value
press ok to close the property window, press ok to close the edit window (basically hit ok to close all the windows)

then re-open your edit window and go back to your fragment, edit source and delete the property.

hit ok to close out all windows.


this will delete the property without leaving any residue in the VMAD record
User avatar
brandon frier
 
Posts: 3422
Joined: Wed Oct 17, 2007 8:47 pm

Post » Thu Jun 21, 2012 6:14 pm

Like Amethyst said you should start with getting rid of both parts of the fragment in the Scripts and Scripts\Source folders. The CK names them so you might have to sort by Date/Time to find the offenders.

I run into problems with fragments occasionally so I've trained myself to first create something stupid, like Game.GetPlayer().Kill(). Hit the Compile so the script gets created. Then I close and re-open whatever window I was on so the CK has a chance to "really" see the fragment there. Then I change the code to whatever I really want. Been able to add/remove properties no problem when I do this.

On a side note... be sure to Clear Value on an existing properties before you remove them.

Edit: Forgot to mention ~ only Diamonds Are Forever (as Sean Connery portrayed)

Edit2: Dammit, Amethyst added my side note. *sigh* I'm forever 2nd fiddle.
User avatar
IsAiah AkA figgy
 
Posts: 3398
Joined: Tue Oct 09, 2007 7:43 am

Post » Thu Jun 21, 2012 8:05 am

yeah, that annoying glitch.

just make a habit of compiling the fragment before working on it.

you can just type ; and compile it will create the fragment. dont ever add properties until you close out and reopen. it's annoying but necessary
User avatar
Heather Stewart
 
Posts: 3525
Joined: Thu Aug 10, 2006 11:04 pm

Post » Thu Jun 21, 2012 4:10 pm

Thanks for the reply guys!

I think I found an easy way to find the offending script.

On the Scripts tab of the quest I right-clicked the main Pap script that has the functions listed in it. It also lists the name of the fragments too :smile:

So I copied it (the name of the script) and searched the Source folder and deleted it from the Scripts and Scripts/Source folders.

Bam!

Done

Thanks!
User avatar
Dagan Wilkin
 
Posts: 3352
Joined: Fri Apr 27, 2007 4:20 am

Post » Thu Jun 21, 2012 5:55 pm

Thanks for the reply guys!

I think I found an easy way to find the offending script.

On the Scripts tab of the quest I right-clicked the main Pap script that has the functions listed in it. It also lists the name of the fragments too :smile:

So I copied it (the name of the script) and searched the Source folder and deleted it from the Scripts and Scripts/Source folders.

Bam!

Done

Thanks!

Actually that's not such a good idea

I just messed up the quest we've been working on for a month :confused:
User avatar
elliot mudd
 
Posts: 3426
Joined: Wed May 09, 2007 8:56 am

Post » Thu Jun 21, 2012 6:38 pm

you may have to delete the fragment (both pex/psc) in your scritps folder after you detatch the fragment from your object (erase everything in fragment window compile and hit ok to close out, then reopen and detach)

for future refernce, do not ever delete properties that are filled. instead follow these steps to get it working again without the usual papyrus errors:


go to properties, hit clear value
press ok to close the property window, press ok to close the edit window (basically hit ok to close all the windows)

then re-open your edit window and go back to your fragment, edit source and delete the property.

hit ok to close out all windows.


this will delete the property without leaving any residue in the VMAD record

I did try to do that (edit the source) but this property that I messed up (type "objectreference" when it should have been type "book") on a Stage tab and when you right click you don't get an option to edit the source.
User avatar
Jhenna lee Lizama
 
Posts: 3344
Joined: Wed Jun 06, 2007 5:39 am

Post » Thu Jun 21, 2012 2:55 pm

Edit: Forgot to mention ~ only Diamonds Are Forever (as Sean Connery portrayed)

That's what I was thinking when I posted the topic...and why I added a question mark. lol
User avatar
Clea Jamerson
 
Posts: 3376
Joined: Tue Jun 20, 2006 3:23 pm

Post » Thu Jun 21, 2012 7:37 pm

I did try to do that (edit the source) but this property that I messed up (type "objectreference" when it should have been type "book") on a Stage tab and when you right click you don't get an option to edit the source.

If you go to the scripts tab of the quest you'll see the quest's scripts, one of which (it may be the only one) contains the quest stage fragments. Properties for the fragments are listed there, usually at the bottom, and you can edit them if you are careful to clear properties and compile before deleting or changing them. Of course if you are altering properties the fragments may very well not compile, so it is often best to comment them all out first.
User avatar
JLG
 
Posts: 3364
Joined: Fri Oct 19, 2007 7:42 pm


Return to V - Skyrim