akaTelamon Posted October 13, 2017 Share Posted October 13, 2017 Good day. Attempting to follow the online tutorial, I'm hoping to add in some Speechcraft opportunities to some dialogue I'm working on. However, I'm a bit confused by how to get things set up with the necessary script, as CK is shooting back errors. To make it so that my persuasion success levels up Speech, I am placing the following line in the "Papyrus Fragment" of the Begin block: pFDS.Persuade(akSpeaker)After that, I click compile, and I receive the following issue: Starting 1 compile threads for 1 files...Compiling "TIF__0200BA6A"...G:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\TIF__0200BA6A.psc(9,0): variable pFDS is undefinedG:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\TIF__0200BA6A.psc(9,5): none is not a known user-defined typeNo output generated for TIF__0200BA6A, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on TIF__0200BA6A A script appears to the right which I can open, but all the options are grayed out. Any knowledge would be greatly appreciated. Link to comment Share on other sites More sharing options...
Mudran Posted October 13, 2017 Share Posted October 13, 2017 Good day. Attempting to follow the online tutorial, I'm hoping to add in some Speechcraft opportunities to some dialogue I'm working on. However, I'm a bit confused by how to get things set up with the necessary script, as CK is shooting back errors. To make it so that my persuasion success levels up Speech, I am placing the following line in the "Papyrus Fragment" of the Begin block: pFDS.Persuade(akSpeaker)After that, I click compile, and I receive the following issue: Starting 1 compile threads for 1 files...Compiling "TIF__0200BA6A"...G:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\TIF__0200BA6A.psc(9,0): variable pFDS is undefinedG:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\temp\TIF__0200BA6A.psc(9,5): none is not a known user-defined typeNo output generated for TIF__0200BA6A, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on TIF__0200BA6A A script appears to the right which I can open, but all the options are grayed out. Any knowledge would be greatly appreciated. I didn't notice this too - but I think you need to right click on that script - add properfty pFDS: Now add a property called something like 'pFDS' (that's short for Favor Dialogue Script). For the type, don't choose anything from the drop down menu, but instead type into the box 'FavorDialogueScript'. Leave the value blank, and hit Ok. If you did this right, you can now change the value to only one value called 'DialogueFavorGeneric' (that's the right one). Link to comment Share on other sites More sharing options...
PeterMartyr Posted October 13, 2017 Share Posted October 13, 2017 Open the script that you copied, & look the entire script not just the Frag, then check the Property Values, Then on yours, place a ; semi-colon comment marker in the frag & close, reopen add missing property value & FILL, then & only then add the Frag Code. Link to comment Share on other sites More sharing options...
akaTelamon Posted October 14, 2017 Author Share Posted October 14, 2017 Okay, so in other words, I should paste in the frag, but avoid the compile button in the beginning, and go straight to right clicking on the script that appears. However, when I select "Edit Properties" I get an error message stating: "Cannot open store for class "TIF_000A717A", missing File?"I click "Ok" and then another error message: "Errors encountered while attempting to reload the script." After that, the properties window opens, but the only button not grayed out is the cancel button. This is after wiping both Skyrim and Creation Kit from my G:Drive and putting them on my C:Drive. It's the same thing as before. Please feel free to course correct or basically hold my hand. Link to comment Share on other sites More sharing options...
PeterMartyr Posted October 14, 2017 Share Posted October 14, 2017 CK reference 000A717A doesn't have a papyrus code. so CK right. Were is the script your trying to copy Link to comment Share on other sites More sharing options...
PeterMartyr Posted October 14, 2017 Share Posted October 14, 2017 (edited) ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 1 Scriptname TIF__000B810C Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE DialogueFavorGeneric.Persuade(akSpeaker) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment FavorDialogueScript Property DialogueFavorGeneric Auto There you go, the property value is on the bottomeditIt will only have one fill value so you can't get wrong Edited October 14, 2017 by PeterMartyr Link to comment Share on other sites More sharing options...
PeterMartyr Posted October 14, 2017 Share Posted October 14, 2017 (edited) No place semi-colon in the Left Frag Box ; Close the dialogue to compile correctly. reopen & open the script in the CK Script Editor FavorDialogueScript Property DialogueFavorGeneric Auto paste that at the very bottom & Save, it will compile, close the script & open the Properties Fill the property with the single option available -> FavorDialogueScript <- Close to compile again, LOL just do it. Now open & replace the semi-colon with DialogueFavorGeneric.Persuade(akSpeaker) Close to Compile Once More, & you thought it was gonna be easy. reopen & check it all good close the quest. save. create a seq file with xEdit. Edited October 14, 2017 by PeterMartyr Link to comment Share on other sites More sharing options...
PeterMartyr Posted October 14, 2017 Share Posted October 14, 2017 (edited) Open the finished product in the CK editor, it should look like the complete script I posted. Cheers Edited October 14, 2017 by PeterMartyr Link to comment Share on other sites More sharing options...
akaTelamon Posted October 15, 2017 Author Share Posted October 15, 2017 Okay. Starting with a fresh dialogue branch, I am replicating the following steps as I interpret your instructions: 1. I place a ; inside the beginning Papyrus fragment section. Only the semi-colon, nothing else. 2. Click inside the Script block, and now a script appears: TIF_XXXXXXX (Not really X's showing up, just using that since it changes every time I attempt this)3. I then click OK to back out of the window, and then I double click on the dialogue to reopen the window.4. I right click on TIF_XXXXXX and choose "Edit Source". Under the last line of code, I add the following string: FavorDialogueScript Property DialogueFavorGeneric Auto5. Upon saving, Compiling fails. I receive the following error: Starting 1 compile threads for 1 files...Compiling "TIF__0200BA54"...C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\FavorDialogueScript.psc(156,29): script property pFDS already definedC:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\FavorDialogueScript.psc(156,29): script variable ::pFDS_var already definedC:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\FavorDialogueScript.psc(156,29): script property pFDS already has a get function definedC:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\FavorDialogueScript.psc(156,29): script property pFDS already has a set function definedNo output generated for TIF__0200BA54, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on TIF__0200BA54 Thank you so much for your patience with me. Link to comment Share on other sites More sharing options...
PeterMartyr Posted October 15, 2017 Share Posted October 15, 2017 (edited) C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\Source\Scripts \FavorDialogueScript.psc(156,29): script property pFDS already has a set function defined No output generated for TIF__0200BA54, compilation failed. Ok I open the script the compiler complain about & on mine Notepad++ Editor there is no 156 line, it stops at 153, which means you have corrupted the Parent Script. The easiest way to fix this, to unpack the Script.rar into Source folder & overwrite everything. Since I don't want you to start deleting stuff in the game source codes to try to fix it. IMPORTANT this will overwrite SKSE if installed, so you will need to reinstall the SKSE Source Codes has well. If you have it installed Then Try again Edited October 15, 2017 by PeterMartyr Link to comment Share on other sites More sharing options...
Recommended Posts