Jump to content

Error adding basic script in CK


Recommended Posts

Posted

I am trying my best to learn to mod. I have been doing odds and ends ever since migrating to PC from Xbox360 about 2 years ago. Very minor stuff like clothing and armor replacer using other people's meshes and textures because I have not even ventured into nifscope or anything yet. I am still trying to learn my way around the Creation Kit. I have created followers. Haven't shared much because I am no good. Trying to bank experience first. Get way better. Now I am trying to learn how to create a questline. I am following the tutorial on the Creation Kit website. I seem to be doing ok through it all until I get toward the end where I add the first script for advancing the stage.

 

Here is what I add to end script, as per the tutorial...

 

GetOwningQuest().SetObjectiveDisplayed(10)
GetOwningQuest().SetStage(10)

 

Once I tap COMPILE, this is the error that I get...

 

Starting 1 compile threads for 1 files...
Compiling "TIF__0F00FB1D"...
<unknown>(0,0): Unable to find flags file: TESV_Papyrus_Flags.flg
C:\Games\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__0F00FB1D.psc(3,0): Unknown user flag Hidden
No output generated for TIF__0F00FB1D, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__0F00FB1D
 
So what is happening here? Anybody know?
Posted
14 minutes ago, AndragonFirefly said:

Starting 1 compile threads for 1 files...
Compiling "TIF__0F00FB1D"...
<unknown>(0,0): Unable to find flags file: TESV_Papyrus_Flags.flg
C:\Games\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__0F00FB1D.psc(3,0): Unknown user flag Hidden
No output generated for TIF__0F00FB1D, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__0F00FB1D
 
So what is happening here? Anybody know?

Unable to find flags file: TESV_Papyrus_Flags.flg

Posted

That means you're missing the flags file. Look inside your data folder and look for a scripts.rar folder and extract all the files into data/scripts/source. There should also be the flag file which you have to move to skyrim/papyrus compiler. If it isn't there download it here: https://www.nexusmods.com/skyrim/mods/39140/?

You may also need to edit the PapyrusCompiler.bat, because the regular paths set by bethesda lead to their working directory, which doesn't exist on a normal install.

Mine looks like this: (copied it from another source but I can't find the link so sorry for no credits)

 

"C:\Steam\steamapps\common\Skyrim\Papyrus Compiler\PapyrusCompiler.exe" %1 -f="TESV_Papyrus_Flags.flg" -i="C:\Steam\steamapps\common\Skyrim\Data\scripts" -o="C:\Steam\steamapps\common\Skyrim\Data\scripts"
pause

 

But beware, I moved my steam folder so you may have to change the path once again,

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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