Jump to content

Skyrim LE MO2 Vanilla scripts won't compile


rorik42

Recommended Posts

Posted

For some fucking stupid reason when I add a property like MiscObject and try to compile the papyrus script it fails as if it can't find the flipping vanilla scripts. I've already extracted the Scripts.rar. I'm running ck through mo2, but I've also tried to run it outside of the mo2 environment with all the required files and it still the same. I don't know what to do anymore, I've searched literally everything online and nothing works. If someone can help me I would be very grateful.

Oh and btw here is the full error message:

Starting 1 compile threads for 1 files...
Compiling "TIF__0100C45D"...
C:\program files (x86)\steam\steamapps\common\Skyrim\Data\Scripts\Source\temp\TIF__0100C45D.psc(9,0): no viable alternative at input 'MiscObject'
C:\program files (x86)\steam\steamapps\common\Skyrim\Data\Scripts\Source\temp\TIF__0100C45D.psc(9,20): no viable alternative at input 'Gold001'
No output generated for TIF__0100C45D, compilation failed.

Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on TIF__0100C45D

Posted

? It's a bit hard to tell what you did or did not by that short description.

 

Is it the first time you try to compile a script?

In that case, perhaps you can find some hints about how to go on in the tutorial videos below

 

Posted
4 hours ago, worik said:

? It's a bit hard to tell what you did or did not by that short description.

 

Is it the first time you try to compile a script?

In that case, perhaps you can find some hints about how to go on in the tutorial videos below

 


I'm just trying to make a simple quest and at the end of a dialogue I just want add an end script that gives the player some gold, however when I compile the script with a "MiscObject Property Gold001 Auto" line it fails to compile.

Posted

posting your source code might be a helpful step to understand more of your problem ?

Posted

Ok, I reinstalled everything and for some reason it works as it should for now, the only problem I have now is that I get a warning of a failed backup when compiling a script but I guess you can't have everything, oh and I'm running everything through mo2 now and dumping the output in an empty mod in mo.

 

Edit: I full reinstalled Skyrim, Creation Kit and every associated file, I only left mo2's files.

Posted
20 minutes ago, worik said:

posting your source code might be a helpful step to understand more of your problem ?


It was a very basic script:

MiscObject Property Gold001 Auto
GetOwningQuest().SetObjectiveDisplayed(10)
GetOwningQuest().SetStage(10)
Game.GetPlayer().AddItem(Gold001, 100)

Archived

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

  • Recently Browsing   0 members

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