Difference between revisions of "Fallout 4 Simple Fetch Quest Tutorial Chapter 8: Quest Setup"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Ravelabenergy
imported>Ravelabenergy
Line 2: Line 2:
[[Category:New Users]]
[[Category:New Users]]
{{Tutorial Index
{{Tutorial Index
|series=Fallout4 Scripting Quest Tutorial
|series=Fallout 4 Scripting Quest Tutorial
|chapter=8: Quest Setup
|chapter=8: Quest Setup
|Prev=Fallout_4_Simple_Fetch_Quest_Tutorial_Chapter_7:_Adding_an_Object_to_Fetch
|Prev=Fallout_4_Simple_Fetch_Quest_Tutorial_Chapter_7:_Adding_an_Object_to_Fetch
Line 13: Line 13:


Note: This is only if the GECK isn’t running.
Note: This is only if the GECK isn’t running.
[[image:Picture8-1.png]]


=Active that Object Window=
=Active that Object Window=
Line 18: Line 20:
Expand Character > Quest in the left index
Expand Character > Quest in the left index
Find your quest (AshSkow) in the right window and double click to open
Find your quest (AshSkow) in the right window and double click to open
[[image:Picture8-2.png]]


=Click on the Quest Data tab=
=Click on the Quest Data tab=
Line 23: Line 27:
Previously we set the ID and Quest Name. The ID is used by code while the Quest Name is what shows up in Fallout when the player begins the quest.
Previously we set the ID and Quest Name. The ID is used by code while the Quest Name is what shows up in Fallout when the player begins the quest.
Set the Priority textbox to 60
Set the Priority textbox to 60
[[image:Picture8-3.png]]


=Set the Quest Completion XP dropdown to XPRadiant=
=Set the Quest Completion XP dropdown to XPRadiant=
Line 29: Line 35:


Important! You must set Quest Completion XP the quest completed message will not display when the player completes the quest in-game. The Quest Completion Xp is how much XP the player gets for completing the Quest.
Important! You must set Quest Completion XP the quest completed message will not display when the player completes the quest in-game. The Quest Completion Xp is how much XP the player gets for completing the Quest.
[[image:Picture8-4.png]]


=Click on the Quest Stages tab=
=Click on the Quest Stages tab=
Line 37: Line 45:


For a simple quest you  need four stages.
For a simple quest you  need four stages.
[[image:Picture8-5.png]]


=Right-Click over the Index window=
=Right-Click over the Index window=
[[image:Picture8-6.png]]


=Click New=
=Click New=
Line 45: Line 57:
Index 0 means the quest has not been initiated.
Index 0 means the quest has not been initiated.
  When the game starts, you can think of your Quest as being at Index 0
  When the game starts, you can think of your Quest as being at Index 0
[[image:Picture8-7.png]]


=Type [Enter] to keep Index 0. Use the right-click New procedure to Add four more indices labeled 10, 20, 30, 40.=
=Type [Enter] to keep Index 0. Use the right-click New procedure to Add four more indices labeled 10, 20, 30, 40.=
Line 54: Line 68:
30: Completed the NPC’s Quest
30: Completed the NPC’s Quest
40: End Quest
40: End Quest
[[image:Picture8-8.png]]


=Click on the Quest Objectives Tab=
=Click on the Quest Objectives Tab=


This is where you set the labels the player sees as he or she progresses through the game
This is where you set the labels the player sees as he or she progresses through the game
[[image:Picture8-9.png]]


=Right-click over the Objective Index=
=Right-click over the Objective Index=
[[image:Picture8-10.png]]


=Select New=
=Select New=
[[image:Picture8-11.png]]


=Enter an Index and a Display Text in the corresponding boxes underneath Quest Objective Data=
=Enter an Index and a Display Text in the corresponding boxes underneath Quest Objective Data=


For example: 10 and Meet Ash Skow
For example: 10 and Meet Ash Skow
[[image:Picture8-12.png]]


=Follow this procedure and add two more objectives for retrieving the object and returning the object to the NPC=
=Follow this procedure and add two more objectives for retrieving the object and returning the object to the NPC=
Line 76: Line 100:


But first we need to add Aliases. Aliases create markers on the map that guide the player
But first we need to add Aliases. Aliases create markers on the map that guide the player
[[image:Picture8-13.png]]


=Click the Quest Aliases tab=
=Click the Quest Aliases tab=
[[image:Picture8-14.png]]


=Right-click over the Alias Name column=
=Right-click over the Alias Name column=
[[image:Picture8-15.png]]


=Click New Reference Alias=
=Click New Reference Alias=
[[image:Picture8-16.png]]


=Enter a label for the Target Object into the Alias Name box=
=Enter a label for the Target Object into the Alias Name box=


For Example: TeddyBearAlias
For Example: TeddyBearAlias
[[image:Picture8-17.png]]


=Click on the Radio Button, Specific Reference, then click on the button Select Forced Reference button=
=Click on the Radio Button, Specific Reference, then click on the button Select Forced Reference button=
[[image:Picture8-18.png]]


=Set the Cell dropdown to your test cell. Set the Ref dropdown to your target object=
=Set the Cell dropdown to your test cell. Set the Ref dropdown to your target object=
Line 94: Line 130:


TeddyBear was our target object. Iignore the numbers after the label..
TeddyBear was our target object. Iignore the numbers after the label..
[[image:Picture8-19.png]]


=Click OK=
=Click OK=
[[image:Picture8-20.png]]


=Click No=
=Click No=
[[image:Picture8-21.png]]


=Click OK=
=Click OK=


That’s it! We’re ready to add code.
That’s it! We’re ready to add code.
[[image:Picture8-22.png]]

Revision as of 13:40, 17 April 2017

Fallout 4 Simple Fetch Quest Tutorial Chapter 8: Quest Setup
Fallout 4 Scripting Quest Tutorial Series, Chapter 8: Quest Setup
Return to Tutorial Hub
LeftArrow.png Previous Tutorial Next TutorialRightArrow.png

Note: This tutorial uses an Action-Reaction System.

Start up the GECK by running the Bethesda.Net Launcher and Open up your Mod (as in Tutorial 3)

Note: This is only if the GECK isn’t running.

Picture8-1.png

Active that Object Window

Expand Character > Quest in the left index Find your quest (AshSkow) in the right window and double click to open

Picture8-2.png

Click on the Quest Data tab

Previously we set the ID and Quest Name. The ID is used by code while the Quest Name is what shows up in Fallout when the player begins the quest. Set the Priority textbox to 60

Picture8-3.png

Set the Quest Completion XP dropdown to XPRadiant

If there are competing quests that could be started at the same time, the priority determines which quest goes first.

Important! You must set Quest Completion XP the quest completed message will not display when the player completes the quest in-game. The Quest Completion Xp is how much XP the player gets for completing the Quest.

Picture8-4.png

Click on the Quest Stages tab

Note: If you clicked hastily on the OK button in the previous step; the Quest window will have been saved and closed, and you will need to repoen it., that saves & closes out the Quest window and you will have to reopen. Clicking on another tab also saves your progress, but it doesn’t close the window.

Quest Stages is where you add code that controls the labels the players sees as sees when s he or she progressinges in the game.

For a simple quest you need four stages.

Picture8-5.png

Right-Click over the Index window

Picture8-6.png

Click New

Important! Keep index 0. Index 0 means the quest has not been initiated.

When the game starts, you can think of your Quest as being at Index 0

Picture8-7.png

Type [Enter] to keep Index 0. Use the right-click New procedure to Add four more indices labeled 10, 20, 30, 40.

I’ll show you how to add code to the indices later, but for now you can think of the indices as corresponding to the following events: 0: Start of game, Quest Idle 10: Meeting the NPC 20: Accepting the NPC’s Quest 30: Completed the NPC’s Quest 40: End Quest

Picture8-8.png

Click on the Quest Objectives Tab

This is where you set the labels the player sees as he or she progresses through the game

Picture8-9.png

Right-click over the Objective Index

Picture8-10.png

Select New

Picture8-11.png

Enter an Index and a Display Text in the corresponding boxes underneath Quest Objective Data

For example: 10 and Meet Ash Skow

Picture8-12.png

Follow this procedure and add two more objectives for retrieving the object and returning the object to the NPC

For example: 20 Retrieve object for Ash 30 Return object to Ash

That’s it for setting up the quest. Now we need to write code to link player actions to quest stages.

But first we need to add Aliases. Aliases create markers on the map that guide the player

Picture8-13.png

Click the Quest Aliases tab

Picture8-14.png

Right-click over the Alias Name column

Picture8-15.png

Click New Reference Alias

Picture8-16.png

Enter a label for the Target Object into the Alias Name box

For Example: TeddyBearAlias

Picture8-17.png

Click on the Radio Button, Specific Reference, then click on the button Select Forced Reference button

Picture8-18.png

Set the Cell dropdown to your test cell. Set the Ref dropdown to your target object

Remember we are working inside the BoSHoldingCellTut, so I added that to the dropdown

TeddyBear was our target object. Iignore the numbers after the label..

Picture8-19.png

Click OK

Picture8-20.png

Click No

Picture8-21.png

Click OK

That’s it! We’re ready to add code.

Picture8-22.png