Difference between revisions of "Bethesda Tutorial Dialogue"

Recording a Temp Track: Added note concerning Fuz Roh D'oh
imported>SLiesegang
(Recording a Temp Track: Added note concerning Fuz Roh D'oh)
 
(5 intermediate revisions by 5 users not shown)
Line 72: Line 72:
Hit OK on the condition window to close it out, and you should then see it in the list. Now only Bendu can say it, but we don't want him saying it all the time; just before he's given the quest to the player. So we're going to add one more condition. Right-click in the condition list and select "New" again.  
Hit OK on the condition window to close it out, and you should then see it in the list. Now only Bendu can say it, but we don't want him saying it all the time; just before he's given the quest to the player. So we're going to add one more condition. Right-click in the condition list and select "New" again.  


We're going to further limit this bit of dialogue based on the quests current stage. So click on the Condition Function pull-down and select "GetStage." (You can type the first few letters to skip around in the list -- much faster than scrolling.) Now if you click the "INVALID" button to select parameters, it will bring up a list of quests rather than base objects (since it knows that the GetStage condition only deals with quests). Select "GSQ01" from the menu and hit OK.  
We're going to further limit this bit of dialogue based on the quest's current stage. So click on the Condition Function pull-down and select "GetStage." (You can type the first few letters to skip around in the list -- much faster than scrolling.) Now if you click the "INVALID" button to select parameters, it will bring up a list of quests rather than base objects (since it knows that the GetStage condition only deals with quests). Select "GSQ01" from the menu and hit OK.  


Now all that's left is to tell the condition which quest stage we care about. Since we know the quest is starting at stage 0, we could select "==" for our comparison and set the value to "0," but that might break this condition if we ended up adding some stage before this one. The safer way to set the condition is to check that our current stage is lower than 10, so choose "<" from the Comparison list and put "10" in the value field.  
Now all that's left is to tell the condition which quest stage we care about. Since we know the quest is starting at stage 0, we could select "==" for our comparison and set the value to "0," but that might break this condition if we ended up adding some stage before this one. The safer way to set the condition is to check that our current stage is lower than 10, so choose "<" from the Comparison list and put "10" in the value field.  
Line 129: Line 129:


In the End field, enter this script command: <br />
In the End field, enter this script command: <br />
<code>GetOwningQuest().SetObjectiveDisplayed(10)<br>
GetOwningQuest().SetStage(10)</code>
GetOwningQuest().SetStage(10)</code>


Line 151: Line 152:


=Try It Out=
=Try It Out=
{{WarningBox|'''Important!''' As of 1.7 the game uses SEQ files in order to track ''Start-Game Enabled'' quests you've added, and possibly ones you've altered. These files are needed for your dialogue and scenes to work properly!
See this [http://www.creationkit.com/index.php&#63;title&#61;TES5Edit_Documentation&#35;Creating_Start-Game_Enabled_Quest_.28SEQ.29_Files tutorial] on how to Create Start-Game Enabled Quest (SEQ) Files}}
Load the game with your plugin and go meet Bendu. (Remember, you can hop right there with <code>COC MixwaterMillWorkersHouse</code>.) He should now have something to say to you.  
Load the game with your plugin and go meet Bendu. (Remember, you can hop right there with <code>COC MixwaterMillWorkersHouse</code>.) He should now have something to say to you.  


Line 162: Line 167:


=Recording a Temp Track=
=Recording a Temp Track=
{{WarningBox|Addition by [[User:xieve|xieve]] on 2023-02-21: Nowadays, if you are not going to record an actual voiceline and if SKSE is available for your platform, you should use [https://www.nexusmods.com/skyrimspecialedition/mods/15109 Fuz Roh D'oh] and skip the step where you record a few seconds of silence. You must then also instruct your users to install this mod as a dependency.}}
Open up the GSQ01MeetingBenduBranchTopic and navigate through to its Response window. At the bottom of the window, you'll see a "Record" button.
Open up the GSQ01MeetingBenduBranchTopic and navigate through to its Response window. At the bottom of the window, you'll see a "Record" button.


Line 178: Line 186:
While we're here, let's also make the dialogue that will close out the quest when we come back with the amulet.  
While we're here, let's also make the dialogue that will close out the quest when we come back with the amulet.  


In the dialogue view, right-click to create a new branch, and call it "GSQ01BenduFinishBranch." Accept the default name for the starting topic, and make the topic text, "I've brought your amulet." Give him something good as a response (I went with "I hope you gave that thief a good thrashing!"). It will want two conditions; one that restricts it to Bendu, and another that limits it to stage 30 of the quest. Finally, set it to be a Goodbye, and set the quest to stage 40 when it's said.  
In the dialogue view, right-click to create a new '''branch''' (not topic), and call it "GSQ01BenduFinishBranch." Accept the default name for the starting topic, and make the topic text, "I've brought your amulet." Give him something good as a response (I went with "I hope you gave that thief a good thrashing!"). It will want two conditions; one that restricts it to Bendu, and another that limits it to stage 30 of the quest. Finally, set it to be a Goodbye, and set the quest to stage 40 when it's said.  


You should be able to do all this by now. It will look like this when you're done.  
You should be able to do all this by now. It will look like this when you're done.  
16

edits