Dialog System config

Announcements, support questions, and discussion for Quest Machine.
vectorfrog
Posts: 86
Joined: Mon May 02, 2022 12:16 am

Dialog System config

Post by vectorfrog »

Hello,

Not sure where to put this so I thought I'd start here. I am using Dialog System with Quest Machine. I am trying to set up a Dialog System Trigger on a Quest Giver. I would like to have the Quest Giver engage with the player, but only after the quest is done. So, I am trying to set a condition for the Dialog System trigger. How can I see the quests that I have already created in the drop-down for the condition on the Dialog System trigger component? So far, I'm able to only see quests that are created through the Dialog System dialog editor. I don't have any quests created in the database there. I would like to be able to use the quests that I have created and will create with Quest Machine, is this doable?
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog System config

Post by Tony Li »

There's a "QM To DS" utility window for that.

Select menu item Tools > Pixel Crushers > Quest Machine > Third Party > Dialogue System > Quest DB to Dialogue DB. In the window, assign your quest database and dialogue database. Then click Copy Selected QM Database. This will populate the dialogue database's Quests section with stubs matching the quest IDs in your quest database. This will allow you to select your Quest Machine quests in Dialogue System quest dropdowns.
vectorfrog
Posts: 86
Joined: Mon May 02, 2022 12:16 am

Re: Dialog System config

Post by vectorfrog »

Perfect, thank you!
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog System config

Post by Tony Li »

Glad to help!
vectorfrog
Posts: 86
Joined: Mon May 02, 2022 12:16 am

Re: Dialog System config

Post by vectorfrog »

I am able to select the specific quest I am trying to tie a condition to. I select a State of Success and it's not allowing the character to interact with the NPC. I've tried all states actually, and it's not letting it engage. Is there something else I need to set up, I'm going through the documentation and can't seem to find anything about this. I probably am missing something though. How can I have a condition of a quest from quest machine successfully completed, allow the quest giver to then engage in dialog?
vectorfrog
Posts: 86
Joined: Mon May 02, 2022 12:16 am

Re: Dialog System config

Post by vectorfrog »

I should mention that if I take the condition off completely, then the player can engage with the NPC. So I think I have the trigger set up right, just seems like maybe I'm not getting the state of the quest.
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog System config

Post by Tony Li »

Can you post a screenshot of your Dialogue System Trigger's Conditions section? I've finished work for the night, but I'll check it as soon as I can in the morning.
vectorfrog
Posts: 86
Joined: Mon May 02, 2022 12:16 am

Re: Dialog System config

Post by vectorfrog »

I have attached a screen shot. I even have my quest setting that status of the node to Success and still no luck.
Attachments
Screen Shot 2022-05-03 at 7.04.20 PM.png
Screen Shot 2022-05-03 at 7.04.20 PM.png (57.83 KiB) Viewed 1765 times
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog System config

Post by Tony Li »

Hi,

Does your Dialogue Manager have a DialogueSystemQuestMachineBridge component, and is the Override QuestLog checkbox ticked?
vectorfrog
Posts: 86
Joined: Mon May 02, 2022 12:16 am

Re: Dialog System config

Post by vectorfrog »

It does now :) and it appears to be working now. Thanks once again Tony! Great products! Have them all and will be integrating Love/Hate also.
Post Reply