跳到主要内容
 Warning: Beta Version
版本:Beta ⚠️(未翻译)
难度: Easy

Gather Quest

 Quest Extension

You must have installed the Quest Extension before starting this tutorial.

 Before starting

This tutorial assumes you have already have a understanding of how interactions, facts and quests work.
Secondly it should be noted that this is a very specifc guide and the tutorial will be made per page type.

In this tutorial we will create a quest that requires the player to gather a set of items.

Manifest Page

In the manifest page we will declare the quest and it's objectives.

Creating the quest

First we need to create the quest this can be done by clicking on the + icon in the top right corner of the panel and searching for Add Quest. Add it to your page by clicking on the + icon.

添加 Quest
A quest definition
+

Configuring the quest

In the quest entry we will set the following fields:

A Gathering Of Items
Quest

A quest definition

Children
(0 items)
DisplayName
A gathering of items
ActiveCriteria
(1 item)
CompletedCriteria
(1 item)

Creating the objective

Next we need to create the objectives for the quest. This can be done by clicking on the + icon in the top right corner of the panel and searching for Add Completable Objective. Add it to your page by clicking on the + icon.

添加 Completable Objective
An objective that can show a completed stage
+

Configuring the objective

Now we need to configure the objective. For this guide we will be having the objective be that the player needs to collect 64 stone but this can be anything you want.

Please use the following fields below in your objective:

Gather Stone
Completable Objective

An objective that can show a completed stage

Quest
A Gathering Of ItemsQuest
Children
(0 items)
ShowCriteria
(1 item)
CompletedCriteria
(1 item)
Display
Gather 64 stone
Value
0

Manifest result

Now your pages should look something like this:

交互式图表

这是所选页面中所有条目的交互式图表。
您可以通过点击标签查看不同的页面。每个页面包含该页面中的条目视图。
点击条目以查看其详细信息。

 Displaying the quest

If you want to display the quest in a sidebar for example please refer to the display quests documentation.

Sequence page

In the sequence page you can define how you would like to start your quest. This can be all sorts of events. For this guide we will be using the Entity Interact Event from the Entity Extension.

 Oliver

For this guide we will not be documentating how to create the npc please refer to the Entity Extension documentation for more information.

Starting the quest

To start the quest there are a lot of options. For this guide we will start the quest from a spoken but this can be anything you want. Please add a spoken to your sequence page.

添加 Spoken
Display a animated message to the player
+

Configuring the spoken

Inside the spoken please configure the following fields as following:

Start Quest Dialogue
Spoken

Display a animated message to the player

Criteria
(0 items)
Modifiers
(1 item)
Triggers
(0 items)
Speaker
Oliver DefinitionNpc Definition
Text
Here you have a nice quest!
Duration
1s

Please note the modifier used in this spoken will make the player track the quest because we are changing the value of the quests fact. This will always happen when you change the quest facts value.

Sequence result

Now your pages should look something like this:

交互式图表

这是所选页面中所有条目的交互式图表。
您可以通过点击标签查看不同的页面。每个页面包含该页面中的条目视图。
点击条目以查看其详细信息。

Final result

Now you have created a quest that requires the player to gather 64 stone after clicking on the npc.