Fallout 4 Simple Fetch Quest Tutorial Chapter 13: Ending Dialog
|Fallout 4 Simple Fetch Quest Tutorial Chapter 13: Ending Dialog|
|Fallout 4 Scripting Quest Tutorial Series, Chapter 13: Ending Dialog|
|Return to Tutorial Hub|
|Previous Tutorial||Next Tutorial|
Note: This tutorial is written in Action-Reaction style — Headers are the action you have to do, and the pictures that follow depict the reaction (or result) of the Creation Kit.
- 1 Start up your Mod in the GECK
- 2 Right-Click over the EditorID panel
- 3 Select New
- 4 Append NN to the text
- 5 Click OK
- 6 Click on the scene name
- 7 Click on the Player Dialogue checkbox
- 8 Right-click anywhere in the white area
- 9 Select New Actor
- 10 Click on your NPC alias (AshSkowAlias) then click the OK button
- 11 Double-click the empty gray box underneath Start Greeting
- 12 Type a greeting into the Response Text box
- 13 Click the OK button
- 14 Click New
- 15 Click INVALID
- 16 Select the NPC in the dropdown for Parameter 1
- 17 Click the OK button
- 18 Click the OK button again
- 19 Click New
- 20 Select GetStage in the Condition Function drop-down, Set Comparison to <, and the Value to 40
- 21 Click the OK button
- 22 Click the OK button
- 23 Click the OK button
- 24 Right-click on the white scene area
- 25 Select Add Phase at End
- 26 Right Click Over the Phase name
- 27 Select Edit
- 28 Give the Phase a name
- 29 Click the OK button
- 30 Right-click over the white area under the phase
- 31 Select New Action > Player Dialogue
- 32 Click the OK button
- 33 Enter Prompts & Responses
- 34 Click OK
- 35 Right-click in the white scene area
- 36 Select Add Phase at End
- 37 Right-click in the white phase area
- 38 Select New Action > Start Scene
- 39 Click OK
- 40 Double-click (Empty)
- 41 Right-click under Editor ID
- 42 Select New
- 43 Select the Scene and Start Phase in the drop down boxes
- 44 Click OK
- 45 Click OK
- 46 BUG FIX: If under Action 2’s label, you see “- no phase” do this:
- 47 Double-click on the NPC positive response
- 48 Check the Set Parent Quest Stage radio button and set the drop down to the End Quest Stage # (40)
- 49 Click OK
- 50 Click on the Quest Stages tab
- 51 Select the Ending Quest Index (40)
- 52 Right-Click under Log Entry
- 53 Select New
- 54 Enter a Log Entry, Designer Notes, Code, and CHECK the Complete Quest box
- 55 Click OK
- 56 File > Save
- 57 Run Fallout 4 and advance the quest up to the point where you’ve retrieved the artifact have returned to talk to the player
- 58 Wait for prompts
- 59 Give the artifact (or you can play with responses, but end by giving it)
- 60 Wait for NPC response
- 61 Wait for Quest Complete message
Start up your Mod in the GECK
- Open up your Quest
- Click on the Scenes tab
Note: This is only if the GECK isn’t running, and yes I skipped a lot of steps because we’re far into these tutorials!
Having accepted the quest and having the artifact update the Object Stage to retrieved (30) we now need to add a scene of dialog for when the player returns to the NPC.
Right-Click over the EditorID panel
What we’re going to do is create a scene for returning the artifact to the NPC. The dialog will include text for refusing to give the artifact as well as text for being evasive.
The quest ID is shown as a prefix. Don’t use that as a scene ID, See next step
Append NN to the text
Where NN is the number of the scene, in our case 03.
Note the scene name appears in the EditorID list, AshSkowQuest03
Click on the scene name
Note that the ID text box fills in with your scene name, AshSkowQuest03
Click on the Player Dialogue checkbox
Right-click anywhere in the white area
Select New Actor
Double-click the empty gray box underneath Start Greeting
Here you will find a number of inputs, but the only one that matters is the Response Text. This is the greeting the player will see when prompted to talk to the NPC
Type a greeting into the Response Text box
Example: “You’re back! Have you found anything?”
Remember! this is the final scene because the player has retrieved the artifact already.
Note: the Response Text is filled with your greeting.
Now let’s restrict this dialog to the NPC and have it activate only after the player has retrieved the artifacts (I.E when Quest Stage #30 ➔ < 40)
Select the NPC in the dropdown for Parameter 1
Now only the NPC (AshSkow) can say the dialog. If you don’t add this, the player or any NPC can saythe dialog if near.
So we’ve restricted the dialog to our NPC (AshSkow). The last restriction (condition) for the dialog is to have it only activate if theuser has retrieved the artifact (Quest Stage #30, i.e., <40).
Select GetStage in the Condition Function drop-down, Set Comparison to <, and the Value to 40
Note: You should see all the greetings for all the scenes
Finally we’re back to the main scene window.
Right-click on the white scene area
Select Add Phase at End
Typically each phase contains associated dialog. After the greeting we will add a 4-part interactive dialog, which will first require adding a Phase 1
Right Click Over the Phase name
Give the Phase a name
Why are we doing this? Because it will allow us to loop to the phase and repeat the 4-part dialog until the player either accepts or denies the quest.
Now we’re ready to add interactive dialog
Right-click over the white area under the phase
Select New Action > Player Dialogue
The Topic Info dialog pops up allowing you to set initial options.
Conditions are the most likely option you will set, but since we did set conditions in the greeting, and this follows from the greeting, it shouldn’t be necessary.
The 4-part dialog box pops up.
Enter Prompts & Responses
(Details not shown-see Quest Dialog Beginning tutorial)
Do the following for the PLAYER
Positive: Give Artifact — Yes, here it is.
Negative: Do Not Give — No, I haven’t found it yet.
Neutral: Be Evasive — Maybe.
Question:Ask for Caps — Can I have caps first?
Do the following for the NPC
Sentiment: (NO PROMPTS for NPCs)—Response
Positive: () — Yuck! It’s dirty. You keep it.
Negative: () — Please try to find it.
Neutral: () — Either you’ve found it or not. Which one?
Question: () — Sorry, I don’t have any money
IMPORTANT: Check End Running Scene for the positive and negative NPC responses.
You’re almost done. You have to loop to main dialog until either the player agrees to give the artifact or the player refuses.
Notice the [END] in the Positive and Negative NPC responses. If you don’t see it, double click on those responses and check the End Running Scene checkbox.
Right-click in the white scene area
Select Add Phase at End
Right-click in the white phase area
Select New Action > Start Scene
Right-click under Editor ID
Select the Scene and Start Phase in the drop down boxes
In our example AshSkowQuest03 and Scene01Phase03, respectively
Note: Sometimes it doesn’t let you select the Start Phase for Scene (like in this example). None is the only available option. So just go to the next step.
Now any four-way response should loop the scene.
We’re almost done, but before we finished let's look at a possible bug fix
BUG FIX: If under Action 2’s label, you see “- no phase” do this:
Click the Quest Objectives Tab, then Click the Scenes tab This somehow fixes the bug in the GECK and fills in the phase with:
You can verify this by double clicking on the text under Action 2:
Double-click on the NPC positive response
To end the quest we have to set the Quest Stage ID to completed (40)
Note the [QE40] in the NPC positive response, which indicates that the Quest Stage is set to 40, which is the ending quest index. We now have to code the ending response.
Click on the Quest Stages tab
Select the Ending Quest Index (40)
Right-Click under Log Entry
Enter a Log Entry, Designer Notes, Code, and CHECK the Complete Quest box
The code is:
Where 30 is Quest Objective # for returning the artifact to the NPC (see Quest Objectives tab)
Now you’re ready to test your completed quest.
File > Save
Run Fallout 4 and advance the quest up to the point where you’ve retrieved the artifact have returned to talk to the player
Yes, I know I skipped a lot of steps, but you know how to do all those things already!
Wait for prompts
Give the artifact (or you can play with responses, but end by giving it)
Wait for NPC response
Wait for Quest Complete message
You are done! Congratulations ☺
You’ve finished your first mod! However there’s always more to do, always more things that can enhance the mod’s quality and the player's experience. In the next tutorial we’ll discuss how to add a voiceover for your custom dialogue.
Don’t forget to quit out of the game! (ALT-F4 for the PC Master Race)