Jump to content

[LE] Need Help With Equipping a Devious Devices Item to Player


Recommended Posts

Alright, I'm editing a script to try to work out a bug in the equipping of items in a mod. Here's my current script: "QAYL_d42_S1_QS q

q = GetOwningQuest() as QAYL_d42_S1_QS
;Game.GetPlayer().EquipItem(kof_RDErestrictiveCorsetInventory)

" and here's the message from the compiler: "Starting 1 compile threads for 1 files...

Cannot use import folder "F:\Steam Games\steamapps\common\Skyrim\Data\Scripts\Source\temp\" - Could not find a part of the path 'F:\Steam Games\steamapps\common\Skyrim\Data\Scripts\Source\temp'.
Compiling "QAYL_TIF__0902E11A"...
No output generated for QAYL_TIF__0902E11A, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on QAYL_TIF__0902E11A
"
This is my 1st time using Papyrus, and so am quite lost. If anyone can help me find a way to do this correctly, It'd be greatly appreciated.
Thank you for any and all help/comments!
Link to comment
Share on other sites

By default the compiler looks for files in the "Data > Scripts > Source" folder. It cannot use multiple folders or read from sub-folders. In order to compile your script with the default setup, you will need to remove it from the 'temp' folder and place it directly in the 'source' folder.

Link to comment
Share on other sites

By default the compiler looks for files in the "Data > Scripts > Source" folder. It cannot use multiple folders or read from sub-folders. In order to compile your script with the default setup, you will need to remove it from the 'temp' folder and place it directly in the 'source' folder.

Sorry that I took so long to respond, but thank you for your answer and help. Is the "it" in your second sentence the DD object or the script I'm running?

Edited by AchillesAltsoba
Link to comment
Share on other sites

What did you do?

 

I feel like there has been a communication error somewhere...

Probably, and sorry for my ignorance. I moved the folders from the folder "Papyrus Compiler" into the "Skyrim" folder. I also kept a list of the files that were in there so that I can manually put them back, just in case I messed up (which seems to have happened, though I haven't moved them back yet).

Link to comment
Share on other sites

Wrong thing to move. Restore them to where they should be and I'll try to be a bit more clear.

 

The compiler by default uses source files from "Data > Scripts > Source"

The compiler by default cannot use source files in multiple folders or sub-folders.

The compiler error you have indicates the script is located in "Data > Scripts > Soucre > Temp"

You need to move the script and any others that go with it from "Data > Scripts > Source > Temp" to "Data > Scripts > Source"

 

If after that, the script still does not compile, try verifying the Creation Kit through Steam, making any necessary INI edits to load multiple masters and finally trying to compile again.

Link to comment
Share on other sites

Wrong thing to move. Restore them to where they should be and I'll try to be a bit more clear.

 

The compiler by default uses source files from "Data > Scripts > Source"

The compiler by default cannot use source files in multiple folders or sub-folders.

The compiler error you have indicates the script is located in "Data > Scripts > Soucre > Temp"

You need to move the script and any others that go with it from "Data > Scripts > Source > Temp" to "Data > Scripts > Source"

 

If after that, the script still does not compile, try verifying the Creation Kit through Steam, making any necessary INI edits to load multiple masters and finally trying to compile again.

Sorry, I forgot to quote you in the above post. I have another question, though, as well, so it worked out. Should I extract the files from Scripts.rar into the data folder? Might that fix my problem?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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