Page 1 of 1

integration of Invector-Quest Machine-Dialogue System Issue

Posted: Sat May 18, 2019 5:07 pm
by TattooRose
Hi,

I have been following the videos provided for Invector integration with Quest Machine and the Dialogue System an I am having some issues.

My main one right now is when I create a new dialogue database and add in the actors it already has the Player defined so then I add in my NPC.

Next I go to the quest/items tab and enter the name of the quest.

From there I move over to the conversations tab but when I try and pick my NPC so I can see the conversation there is nothing in the dropdown, Also on my NPC I am trying to fill in the Dialog System Event Actions by adding a conversation but there also no entries the drop down.

I know it's me missing something, any help with this would be greatly appreciated.

Thanks

Re: integration of Invector-Quest Machine-Dialogue System Issue

Posted: Sat May 18, 2019 11:05 pm
by Tony Li
Hi,
TattooRose wrote: Sat May 18, 2019 5:07 pmFrom there I move over to the conversations tab but when I try and pick my NPC so I can see the conversation there is nothing in the dropdown,
Have you created the conversation? If not, click the "+" that's to the right of the dropdown in the upper left corner. (This dropdown normally shows all your conversations so you can select which one to edit.) The "+" button will add a new conversation.

To view the conversation's properties -- for example to choose the two primary participants -- after creating a new conversation or selecting one from the dropdown, click on empty canvas area. This will show the conversation's properties in the Inspector. There will be dropdowns for the actor (typically the player) and conversant (typically the main NPC involved in this conversation).
TattooRose wrote: Sat May 18, 2019 5:07 pmAlso on my NPC I am trying to fill in the Dialog System Event Actions by adding a conversation but there also no entries the drop down.
Add a Dialogue Manager GameObject to the scene. Then assign your dialogue database to it.

You can add the Dialogue Manager prefab that's in Assets / Plugins / Pixel Crushers / Prefabs, or customize it and save it as a new prefab to add into your scenes.

Re: integration of Invector-Quest Machine-Dialogue System Issue

Posted: Sun May 19, 2019 2:29 am
by TattooRose
Hi,

I applied all the instructions you supplied and Yes I am starting to see my quest dialogue. I go through the dialogues and accept the quest. At that point I am not seeing anything in my Journal. I am sending the GiveQuest("NPC", "exploreTent") `on the accept node. Should I not see this in my Journal?

From the Dialogue System Quest Integration video it wants me to place a Dialogue System Quest Dialogue UI component on my Quest Machine component but in my system this component does not exist. Does this mean that my importing of the packages along with the patches for both quest and dialogue was done incorrectly?

Once again thanks for all your help!!

Re: integration of Invector-Quest Machine-Dialogue System Issue

Posted: Sun May 19, 2019 7:03 am
by TattooRose
Hi,

Continuing with my previous post I am trying to add in the Dialog System Conversation component to my Offer section of the quest in the Quest Editor. Here I am finding that this component is also missing.

If this is a bad import on my part is there a way to get the latest releases of Quest Machine and Dialogue system. Unity has not posted them yet.

Thanks

Re: integration of Invector-Quest Machine-Dialogue System Issue

Posted: Sun May 19, 2019 7:55 am
by Tony Li
Hi,

I think you just need to import Quest Machine's Dialogue System Support package, which is in Plugins / Pixel Crushers / Quest Machine / Third Party Support. While you're at it, import Plugins / Pixel Crushers / Common / Third Party Support / Dialogue System support.

Then you should see a Dialogue System integration manual in Pixel Crushers / Quest Machine Support / Third Party Support / Dialogue System Support with instructions on how to add the integration components.

Re: integration of Invector-Quest Machine-Dialogue System Issue

Posted: Sun May 19, 2019 10:05 am
by TattooRose
HI,

I went ahead and removed all PixelCrushers components from my project. I then re-imported the following:

From the asset store:

Import the Quest Machine component. After import I then ran the Invector Support packages in the PLUGINS / COMMON /THRID PARTY SUPPOT and PLUGINS / QUEST MACHINE / THIRD PARTY SUPPORT.

Once I completed that I then applied the following packages:
Common_Invector_Support_2019-05-15.unitypackage
QM_Invector_Support_2019-05-15.unitypackage

Next it went back to the asset store and imported Dialogue System component. I then ran the Invector Support packages in the in the PLUGINS / COMMON /THRID PARTY SUPPOT and PLUGINS / DIALOGUE SYSTEM / THIRD PARTY SUPPORT.

Once that was done I then applied the following packages.
Common_Invector_Support_2019-05-15.unitypackage
DS_Invector_Support_2019-05-15.unitypackage

When that was all completed I went through my scene and updated any missing component references from the initial delete of the two packages.

Now I have interaction from my Player and NPC with the quest defined showing up in the Dialog System UI. I get offered the quest and can respond correctly. This quest is the Explore Circle and Return quest only I am exploring a tent instead.

I added what I believe to be any LUA commands to the Dialogue nodes as I do not have the ones from the video I am looking at.

in the offer node:
SetQuestState("exploreTentAndReturn", "unassigned");

In the accept node:
SetQuestState("exploreTentAndReturn", "active");
Variable["Alert"] = "Go Explore the Tent";

When I go and accept the Quest through the Dialogue Systems UI the Alert box does appear in the center of the screen but the quest is never accepted in the Quest Machine quest.

From my limited knowledge of these components I can only suspect that my Quest does not have the Dialog System Conversation component when I want to add it. So I can not apply it to the Offer or any other nodes in the Quest Editor.

I did look for the document you suggested but that also is not on my system after bringing in all the components mentioned above. I also tried to locate the document on the PixelCrushers site to no avail. I am really not sure what else I can do as I have tried multiple trial and error attempts to get these systems to hook up.

If there is any updated components that will address this issue or some updated videos or documentation I would surely appreciate it as I am at a stand sill with my project.

Thanks

Re: integration of Invector-Quest Machine-Dialogue System Issue

Posted: Sun May 19, 2019 10:53 am
by Tony Li
Hi,

You must import this package:

qm_ds_support.png
qm_ds_support.png (38.56 KiB) Viewed 1406 times

The Quest Machine / Dialogue System integration will not work without it.

If you can't find it in the location shown above for some reason, you can download it directly from here:

QM_DS_Support_QM118.unitypackage

Re: integration of Invector-Quest Machine-Dialogue System Issue

Posted: Sun May 19, 2019 12:16 pm
by TattooRose
Hi,

Well after beating myself in the head for missing that import I started to work on the interaction between the components. Once I imported the missing package I started seeing the components mentioned in the video. Guess after being out of programming retired for the past 3 years has taken its toll. I am now going to see if I can finish off this integration,

Anyway, thanks again for all you help. Your support has been top notch.

TattooRose

Re: integration of Invector-Quest Machine-Dialogue System Issue

Posted: Sun May 19, 2019 2:49 pm
by Tony Li
Glad to help. :-)