In this tutorial we’ll set up our first quests.
This tutorial is the start of the sub-series for setting up quests and also continues the sub-series for setting up menu screens.
We’ll start with setting up hunting quests, i.e. where we need to kill different enemies to finish the quests. We’ll also set up a quest menu.
Learn more about quests in this documentation.
Quest General Settings #
We’ll start with setting up the general settings for quests, e.g. quest layout and notifications.
Navigate to Game > Quest Settings & Types > General Settings.
Quest Settings #
- Active Quests
Set to 5.
This is the default setup.
This is the maximum number of quests that can be active at the same time.
Only active quests will track their progress, e.g. a kill quest only counts killed enemies when it’s active.
Default Quest Layout #
The quest layout is used to display a quest’s information in Quest menu screen parts and the Quest Choice dialogue in schematics.
Message Content #
We’ll make small adjustments to the layout’s text – we’ll show quest name, Tasks and Rewards header in an orange color and with bold font. We’ll also display the quest text instead of the description.
Using the quest text allows us to update the text when a new task becomes active.
- Text (Message Content)
Set to:
<b><color=#FF7D00FF><name></color></b>
<text>
<b><color=#FF7D00FF>Tasks</color></b>
<tasksactive>
<b><color=#FF7D00FF>Rewards</color></b>
<rewardsall>
Task Settings #
We’ll also add the finish requirements to our task names.
- Default Content (Task Text)
Set to: <name>
<finish>
Requirement Settings #
A small adjustment, adding a small visual element to the requirement.
- Default Content (Task Text)
Set to: – <name> <quantity>/<quantitymax>
Quest Notifications #
We’ll show notifications for adding and finishing a quest.
Quest Added #
- Show Notification
Enable this setting. - Text (Message Content)
Set to: New quest: <name>
Quest Finished #
- Show Notification
Enable this setting. - Text (Message Content)
Set to: Quest completed: <name>
Task Notifications #
We’ll show notifications for finishing a quest task.
Task Finished #
- Show Notification
Enable this setting. - Text (Message Content)
Set to: Task finished: <name>
Quest Types #
Navigate to Game > Quest Settings & Types, we’ll change the Default type and add additional types.
0: Hunting #
- Name
Set to Hunting.
1: Fetching #
- Name
Set to Fetching.
Quests #
A quest serves as a container for one or multiple quest tasks. We’ll first set up a number of quests and add tasks to them afterwards.
Navigate to Game > Quests, we’ll change the Default quest and add additional quests.
0: Hunt Wasps #
This quest will send us hunting down a couple of wasps. We’ll just need to kill them, not report back that we did it.
- Name
Set to Hunt Wasps.
Quest Settings #
- Quest Type
Select Hunting. - Repeatable
Enable this setting.
The quest can be started again after it was finished.
Quest Settings > Quest Text #
- Default Content
Set to: Wasps have been plaguing the townsfolk.
Kill them.
Rewards > Experience Rewards #
We’ll receive some experience for finishing the quest.
Click on Add Experience Reward.
- Whole Group
Enable this setting.
All group members will get the experience. - Status Value
Select Experience. - Reward Value
Select Value > Formula.
Select the Level Based Reward formula. - Initial Value
Set to 5.
1: Hunt Skeletons #
Copy the Hunt Wasps quest and change the following settings.
- Name
Set to Hunt Skeletons.
Quest Settings > Quest Text #
- Default Content
Set to: Skeletons are scaring the children.
Kill them.
Rewards > Experience Rewards #
- Initial Value
Set to 10.
Rewards > Item Rewards #
We’ll also receive a revive potion in addition to the experience.
Click on Add Item Reward.
- Type
Select Item. - Item
Select Revive Potion. - Quantity
Select Value > Value.
Set the value to 1.
2: Hunt Supporters #
This quest will target a combatant type instead of a specific combatant.
Copy the Hunt Skeletons quest and change the following settings.
- Name
Set to Hunt Supporters.
Quest Settings > Quest Text #
- Default Content
Set to: Those supporting enemies are a nuisance to deal with.
Kill them.
Rewards > Experience Rewards #
- Initial Value
Set to 10.
Rewards > Item Rewards #
We’ll change the reward to give us gold.
- Type
Select Currency. - Currency
Select Gold. - Quantity
Select Value > Value.
Set the value to 300.
3: Hunt Dragon #
This quest will let us hunt a dragon and report back to the guard.
Copy the Hunt Skeletons quest and change the following settings.
- Name
Set to Hunt Dragon.
Quest Settings > Quest Text #
- Default Content
Set to: The dragons in the dungeon are to tough for the townsfolk to deal with.
Kill one of them.
Rewards > Experience Rewards #
- Initial Value
Set to 20.
Rewards > Item Rewards #
We’ll change the reward to give us a magic crystal.
- Item
Select Magic Crystal.
Quest Tasks #
Next, we’ll set up the tasks for our quests.
Navigate to Game > Quest Tasks, we’ll change the Default task and add additional tasks.
0: Kill Wasps #
This task will automatically activate (it’s the first and only task of it’s quest) and automatically finish when we killed 2 wasps – and also finish the quest.
- Name
Set to Kill Wasps.
Quest Task Settings #
- Quest
Select Hunt Wasps.
Activate Requirements #
- Auto Activate
Enable this setting.
The task will automatically activate if the requirements are met.
Since we don’t add any requirements to the activate requirements, it’ll activate when the quest is added.
Finish Requirements #
- Auto Finish
Enable this setting.
The task will automatically finish if all requirements are met. - Finish Quest
Enable this setting.
Finishing this task will also finish our quest (giving the quest’s rewards).
We’ll add an Enemy Kill requirement.
Click on Add Enemy Kill.
- Combatant
Select Wasp. - Quantity
Set to 2.
1: Kill Skeletons #
Copy the Kill Wasps task and change the following settings.
- Name
Set to Kill Skeletons.
Quest Task Settings #
- Quest
Select Hunt Skeletons.
Finish Requirements > Enemy Kills > Kill Requirement 0 #
- Combatant
Select Skeleton. - Quantity
Set to 3.
2: Kill Supporters #
Copy the Kill Skeletons task and change the following settings.
- Name
Set to Kill Supporters.
Quest Task Settings #
- Quest
Select Hunt Supporters.
Finish Requirements > Enemy Kills > Kill Requirement 0 #
- Use Combatant Type
Enable this setting. - Combatant Type
Select Supporters. - Quantity
Set to 5.
3: Kill Dragon #
Create a new quest task this time. The Hunt Dragon quest will have 2 tasks, so we need to do few things differently.
- Name
Set to Kill Dragon.
Quest Task Settings #
- Quest
Select Hunt Dragon.
Activate Requirements #
- Auto Activate
Enable this setting.
Finish Requirements #
- Auto Finish
Enable this setting.
Click on Add Enemy Kill.
- Combatant
Select Dragon. - Quantity
Set to 1.
4: Report to the guard #
Create a new quest task this time – this task will automatically activate when we killed the dragon (i.e. the previous task finished).
The task will not end automatically and it doesn’t finish the quest. This’ll be handled in a schematic when we talk to the quest NPC.
- Name
Set to Report to the guard.
Quest Task Settings #
- Quest
Select Hunt Dragon.
Quest Task Settings > Quest Text #
We’ll add new information to the quest text.
We can either add the text to the existing text or replace the current text. We’ll add text, so we should also add some space to the previous text – for this, we add 2 empty lines before the text.
- Update Quest Text
Enable this setting. - Default Content
Set to: You killed the dragon, report back to the guard.
Activate Requirements #
- Auto Activate
Enable this setting.
We’ll add a Finished Task requirement to activate the task when the Kill Dragon task finished.
Click on Add Quest Task.
- Finished Task
Select Kill Dragon.
That’s it for the task – we don’t need to set up any Finish Requirements.
Menu Requirement #
We’ll set up a menu requirement template, as we only want the quest menu to be available when we have quests to display.
Navigate to Templates > Menu Requirement and add a new requirement.
Base Settings #
- Name
Set to Quests.
General Requirement > Quest Conditions #
- Has Quest
Enable this setting. - Has Inactive/Active/Finished
Enable these settings.
Quest Menu Screen #
Next, we’ll set up the bestiary menu.
Navigate to UI > Menu Screens and add a new menu screen.
Menu Screen Settings #
We’ll use the same setup as in the other menu screens.
- Name
Set to Quests. - Remember Selection
Enable this setting. - Pause Notifications
Enable this setting. - Block Notifications
Enable this setting. - Block Flying Texts
Enable this setting. - Pause Game
Enable this setting. - Freeze Pause
Enable this setting.
Quest Part #
The Quest part is used to display the player’s quests.
Scroll down to the bottom of the settings to see the Add Menu Part button.
Click on the Add Menu Part button and select Quest.
The default setup will already show all types and sort them by name (which is ok for us).
Type Box Settings #
Lists the quest types that are available.
- Type Box
Select Blue Top Right Fit. - Add Back Button
Select Last.
Quest Box Settings #
Lists the quests of the selected quest type.
- Display Quest>Info
Select Same.
The quest list and details will both be displayed in the same UI box (the UI box is selected in the info box settings). - Add Back Button
Select Last. - Add Inactive/Active/Finished
Enable these settings. - Add Failed
Disable this setting. - Add Back Button
Select Last.
We’ll use a different content layout for inactive quests.
- Use Inactive Layout
Enable this setting. - Content Type
Select Custom. - Add Icon
Enable this setting. - Default Content
Set to: <color=#FF0000FF>[Inactive] <name></color>
We’ll use a different content layout for finished quests.
- Use Finished Layout
Enable this setting. - Content Type
Select Custom. - Add Icon
Enable this setting. - Default Content
Set to: <color=#00FF00FF>[Finished] <name></color>
Info Box Settings #
Displays the selected quest’s information using a quest layout.
- Info Box
Select Blue Menu Center Scroll. - Add Back Button
Select Last. - Use Activation Choice
Enable this setting.
We’ll allow activating or deactivating a quest. - Text (Activate Button)
Set to: Activate - Text (Inactivate Button)
Set to: Deactivate
That’s it for the quest menu screen.
Updating Overview Menu Screen #
Select the Overview menu screen, we’ll now add a button for the quests, but only display it if we have quests (menu requirement).
Button List 0 #
Scroll down to Menu Item 5, the button for the Bestiary menu screen.
Copy Menu Item 5.
Menu Item 6 #
This is the copied button, let’s change it.
- Menu Screen
Select Quests. - Text (Button Content)
Set to Quests. - Menu Requirement
Select Quests.
Save Changes #
That’s it for the hunting quest setup.
Don’t forget to save your changes by clicking on Save Settings at the bottom of the editor.
Next, we’ll set up the hunting quest’s NPC.