Ashrose93 Posted March 14, 2017 Share Posted March 14, 2017 (edited) Hi guys, So I've been working on a little scrapping mod for myself. I've got it working but now I want to make it so that I can toggle the scrap resource outputs off using a Holotape that I can craft. This is what I have so far: Created formlist with all the items I want to scrap.Created two separate crafting recipes with the WorkshopRecipeFilterScrap filter and different resource outputs.Created a new quest with two stages, one for when I want scrap outputs y and one outputs x.Added a Match Condition to the crafting recipes with the Function Name "GetStageDone", corresponding stages in the quest.Created a terminal Holotape with two options, each corresponding to a papyrus fragment "SATConfigurationQST.SetStage(x/y)".Created a crafting recipe to craft the holotape.Set quest to begin when the Holotape is in the player's inventory by setting Quest Dialogue Condition as "GetItemCount" "Holotape: 'SATConf'". The issue I'm having is with the scripting as there seems to be something I'm missing. I haven't been able to find any tutorials online that help though.. I'm in unfamiliar territory with this kind of thing. Whenever I try to compile the script for the terminal, I get an error message telling me that the variable "QuestName" is undefined. Here's the error message: -- Papyrus Compiler Version 2.8.0.4 for Fallout 4Copyright © ZeniMax Media. All rights reserved.Starting 1 compile threads for 1 files...Compiling "Fragments:Terminals:TERM_00SATConfiguration_01007287_2"...C:\Users\Ash\AppData\Local\Temp\PapyrusTemp\Fragments\Terminals\TERM_00SATConfiguration_01007287_2.psc(7,0): variable SATConfigurationQST is undefinedC:\Users\Ash\AppData\Local\Temp\PapyrusTemp\Fragments\Terminals\TERM_00SATConfiguration_01007287_2.psc(7,20): none is not a known user-defined script typeC:\Users\Ash\AppData\Local\Temp\PapyrusTemp\Fragments\Terminals\TERM_00SATConfiguration_01007287_2.psc(15,0): variable SATConfigurationQST is undefinedC:\Users\Ash\AppData\Local\Temp\PapyrusTemp\Fragments\Terminals\TERM_00SATConfiguration_01007287_2.psc(15,20): none is not a known user-defined script typeNo output generated for Fragments:Terminals:TERM_00SATConfiguration_01007287_2, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on Fragments:Terminals:TERM_00SATConfiguration_01007287_2 -- Can anyone helps or point me in the direction to a video/ thread? I can't imagine I'm the only person who has had this problem. Also can anyone see anything obviously wrong in what I've done? Thanks guys Edited March 14, 2017 by Ashrose93 Link to comment Share on other sites More sharing options...
vkz89q Posted March 14, 2017 Share Posted March 14, 2017 (edited) Properties not filled? If they are, it would help if you posted the whole fragment you are trying to compile. Edited March 14, 2017 by vkz89q Link to comment Share on other sites More sharing options...
Ashrose93 Posted March 15, 2017 Author Share Posted March 15, 2017 Properties not filled? If they are, it would help if you posted the whole fragment you are trying to compile.Here's the fragment: SATConfigurationQST.SetStage(10) Only one line. The idea being that when I hit yes on the holotape it turns scrap on and when I hit no it turns scrap off, the scraprecipes are conditioned to be active when the quest is at one stage or the other. -- So I just defined SATConfigurationQST as a Quest in the properties and now we get a new error... Papyrus Compiler Version 2.8.0.4 for Fallout 4Copyright © ZeniMax Media. All rights reserved.Starting 1 compile threads for 1 files...Compiling "Fragments:Terminals:TERM_00SATConfiguration_01007287_2"...C:\Users\Ash\AppData\Local\Temp\PapyrusTemp\Fragments\Terminals\TERM_00SATConfiguration_01007287_2.psc(2,0): missing SCRIPTNAME at 'Quest'C:\Users\Ash\AppData\Local\Temp\PapyrusTemp\Fragments\Terminals\TERM_00SATConfiguration_01007287_2.psc(2,6): required (...)+ loop did not match anything at input 'Property'C:\Users\Ash\AppData\Local\Temp\PapyrusTemp\Fragments\Terminals\TERM_00SATConfiguration_01007287_2.psc(0,0): filename does not match script name: "quest" expected: "Fragments:Terminals:TERM_00SATConfiguration_01007287_2"No output generated for Fragments:Terminals:TERM_00SATConfiguration_01007287_2, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on Fragments:Terminals:TERM_00SATConfiguration_01007287_2 As I say above, I pretty much have no idea what I'm doing here. Do you know of any good resources to actually learn how this all works or is it just an experience thing? Link to comment Share on other sites More sharing options...
chucksteel Posted March 15, 2017 Share Posted March 15, 2017 Right but, did you set a property pointing to the quest or did you just type the line into the fragment? You need to set the property too, it can be named anything such as "MyQuest" but, if you use the actual name it will auto fill for you. otherwise you'll have to point it to the correct quest. So with your fragment you also need a property called, "SATConfigurationQST" Edit: after looking at your error log that's exactly the issue you have no Property defined so the fragment will never compile. Link to comment Share on other sites More sharing options...
Recommended Posts