Jump to content

Recommended Posts

Posted

Total beginner here making my first ever mod.

 

I'm creating a custom voiced follower and everything is working well so far, but I would like to add some Hearthfire-related dialogue for her. I've been following tutorials and looking at vanilla dialogue for guidance (I have not edited any of the vanilla dialogue). I noticed that the papyrus fragments for some of the BYOH scripts had been replaced with "; CODE NOT LOADED". I looked up a fix for this and went through them without much luck. Nothing changed until I moved my Hearthfire scripts from \Data\Scripts\Source\Hearthfire to \Data\Scripts\Source.

I no longer have "; CODE NOT LOADED" but the papyrus fragment section is completely blank on the affected lines. The scripts are still there but when I click on Edit Source, it appears to be a blank script. It looks like this when loading only skyrim.esm, update.esm and hearthfires.esm even without my mod being loaded. I have also checked that the scripts exist in the folder (they do). Does anyone know how I can fix this and/or is there somewhere I can find a list of Hearthfire scripts so I can replace them?

 

Example screenshots attached of one of the spouse store dialogue lines.

Posted

Are you working with 32 bit Skyrim? Cause the special edition had all the source files pre-combined in a single folder making this particular issue moot.

 

I ask because you posted in the Skyrim Special Edition section rather than in the Skyrim section.

 

As to your issue, I cannot say as to why the code did not appear after moving the source scripts to the appropriate directory. I have not seen that happen before.

Posted

I am working with Skyrim Special Edition.

When I first started working with the Creation Kit I was missing scripts leading to the error where they refused to complile. I followed this tutorial to fix it and have the scripts included in the description.

Posted

The unmodified SSE uses "Data > Source > Scripts" for the PSC files. The included scripts.zip file should contain the entire correct folder structure with all necessary PSC files. I do not know why the author of that linked video did not have a scripts.zip file. But using the scripts.rar file from the LE version is not the way to go.

 

I would recommend removing those changes and verifying the Creation Kit's install with Steam. Then extract the scripts.zip file to the data folder as it contains the necessary folder structure. Then check to see if you can see the code in the appropriate locations of the Creation Kit. Bonus to this method, no need to change where the INI file looks for script files.

Posted

I removed everything I got from that scripts.rar folder, verified the files and extracted scripts.zip but unfortunately the code is still missing. No ";CODE NOT LOADED" error, but the fragment box is still completely blank.

Posted (edited)

I finally found that topic info in the CK. I had to go into filtered dialog, find the RelationshipMarriageFIN quest entry in the list and then select the Misc tab. Found it under the Hello topics. At any rate, if it is used in game, I do not know. What I can tell you is that the unmodified script is as follows:

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 1
Scriptname BYOH_TIF__000479F5 Extends TopicInfo Hidden
 
;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
;END CODE
EndFunction
;END FRAGMENT
 
;END FRAGMENT CODE - Do not edit anything between this and the begin comment

EDIT: And the forum ate the second half... :wallbash:

 

The fragment contains no actual code. Thus what you have experienced is correct behavior. Since there was an attached script that was not accessible, "CODE NOT LOADED" was displayed. Once you made the attached script accessible, the "CODE NOT LOADED" went away and the fragment can now show its complete lack of any code.

Edited by IsharaMeradin
Posted

Oh wonderful! I thought something was broken since it was my first time looking at any of the DLC stuff in the Creation Kit. Everything now looks as it should and I can continue working on my mod. Thank you so much!!!

  • Recently Browsing   0 members

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