Quest Icons and Preview

How to Setup and Use the Quest Icons and Preview on Locations.


Table of Contents


Overview

In first case, I'm talking about ThatWelshOne_'s Modern Quest System Plugin.


The Quest Icons are displayed on the Quest Mode on the Region Map.


Make sure the ShowQuestIcon Setting is set to true or the Switch ID you set for it is ON.


This will also make it possible to Preview these Quests. Which button is need to show the quest Preview is set with the ShowQuestButton Setting.


There are a few more settings for the Quest Preview which are listed and explained in the Quest Preview Settings page.


Now to make the Quest display an Icon for it, you'll need to edit the 004_Quest_Data.rb file (of the Modern Quest Plugin). If you haven't set up any Quests for your game yet, then you should probably do that first. (Follow the instructions that come with the MQS (Modern Quest System) plugin to know how.)


Example 1

Let's take a look at the Quest1 Data that comes by default with the Quest Plugin:

To make this Quest show an Icon (when the Quest is active) on the Region Map, we only need to add the coordinates for the icon to display at:

  • 0 = RegionID
  • 13 = X Position
  • 12 = Y Position

The edited Data for Quest1 would now look like this:

According to the TownMap.txt PBS file, the coordinates we set will match with "Lappet Town" in Region 0.


Result in Game:

Image not found
Quest 1
Hint

On the Screenshot, the icon is not visible, that's because it's behind the Player's Icon. You might also have noticed that it is saying "C: View Quest" in the Button Preview on the top right. This is because -FL-'s Set the Controls Screen Plugin was installed. In case you don't have this plugin installed, it'll say "USE: View Quest" by default or the Input Key you've set in the ShowQuestPreview Setting.

Image not found
Quest 1 Preview

Example 2

Let's take a look at the Quest2 Data that comes by default with the Quest Plugin:

This Quest Data is an extension of Example 1, it includes multiple Stages and Locations.


To make this Quest show an Icon (when any stage of this Quest is active) on the Region Map, we add the coordinates for each stage of the Quest:

Each number after :Map specifies which stage this applies to.

The edited Data for Quest2 would now look like this:

  • If you only put :Map without a number then this coordinate will be applied for all stages.
  • It is also the fallback if you only add :Map and :Map2 but there are 3 stages, then stage 1 and 3 will use the :Map and stage 2 the :Map2.
  • If you don't add the :Map and only give :Map2 then stage 1 and other stages will have show no icon on the Region Map. (see Example 3 and 4).

The extra parameter in this example e.g., "Purple" specifies which icon to use for this Quest and Stage. When this parameter is not given, the default "mapQuest.png" Icon will be used. For "Purple", the expected Icon name is "mapQuestPurple.png".


The Icons are located in:

  • Graphics > UI > Town Map > Icons > Quest (v21.1)
  • Graphics > Pictures > RegionMap > Icons > Quest (v20.1)
Image not found
Quest Icons

These are only example names for the Icons, name them anything you want as long as they start with "mapQuest" or the script will be unable to recognize them.


Result in Game for Stage 1:

Image not found
Quest 2 Stage 1
Image not found
Quest 2 Stage 1 Preview

Result in Game for Stage 2:

Image not found
Quest 2 Stage 2
Image not found
Quest 2 Stage 2 Preview

Result in Game for Stage 3:

Image not found
Quest 2 Stage 3
Image not found
Quest 2 stage 3 Preview

Example 3

Let's take a look at the Quest6 Data that comes by default with the Quest Plugin:

This Quest has just like in Example 2, more than 1 Stage. It only serves as an example, so it doesn't need to make that much sense as we'll add coordinates for the first Stage.

The edited Data for Quest6 would now look like this:

As explained in Example 2, there'll only be an Icon for Stage 1 as there's no :Map or :Map2 added.

Result in Game for Stage 1:

Image not found
Quest 6 Stage 1
Image not found
Quest 6 Stage 1 Preview

Result in Game for Stage 2:

Image not found
Quest 6 Stage 2

There'll be no Icon for Stage 2 and Previewing Quest Details will also not be possible.

Example 4

Let's take a look at the Quest8 Data that comes by default with the Quest Plugin:

This Quest has just like in Example 2 and 3, more than 1 Stage. Just like Example 3, we'll only add the coordinates for 1 Stage.

The edited Data for Quest8 would now look like this:

As explained in Example 2, there'll only be an Icon for Stage 2 as there's no :Map or :Map1 added.

Result in Game for Stage 1:

Image not found
Quest8 Stage 1

There'll be no Icon for Stage 1 and Previewing Quest Details will also not be possible. (The orange Icon you see is from Quest2 Stage 3.)

Result in Game for Stage 2:

Image not found
Quest 8 Stage 2
Image not found
Quest 8 Stage 2 Preview
Hint

As you might notice, the Quest Title is a bit too long to fit on the UI. It's recommended to keep Quest Titles short.