Page 1 of 2
Folder structure in Project
Posted: Wed Sep 08, 2021 6:07 pm
by Mach4
Hi Tony -
I worked with QM and Dialogue system in my test project.
I recreated your video (Dialogue System for Unity 2.x Quest Setup" ) and all worked well.
Then I setup a new totally new project (Not scene).
I can get the dialogue system to work just fine on one object (Parent)
However when I set a second object up to do both dialogue and a Quest, as per Dialogue System for Unity 2.x Quest Setup video, I cannot get any interaction at all. It's as if the QM part is not working at all.
One thing I did notice is in my project assets on the test project I have two folders related to Pixel Crushers. One is a Pixel Crushers folder with Common, Dialogue system and Quest Machine subfolders. It also has the a Pixel Crushers within the "Plugins" folder.
The project that I am having issues does not have the Pixel Crushers folder in the Assets, only the PC folder within the Plugins folder.
Note sure how this came about but is this related to the problem I am having ?
Thanks
Rick
Re: Folder structure in Project
Posted: Wed Sep 08, 2021 9:36 pm
by Tony Li
Hi Rick,
Assets / Plugins / Pixel Crushers / ... contains the core Quest Machine and Dialogue System assets and their integrations with each other.
Assets / Pixel Crushers / ... contains third party integrations. The third party assets typically aren't in Plugins themselves, so the integrations can't be in Plugins either in this case.
Did you import Quest Machine''s Dialogue System Support package? (It will import into Assets / Plugins / Pixel Crushers / Quest Machine / Third Party Support.)
If so, how are you interacting with the Quest Giver?
Re: Folder structure in Project
Posted: Thu Sep 09, 2021 9:58 am
by Mach4
Here is the error I am getting:
Dialogue System: Can't find Quest Machine quest with ID 'Grab Bowls' to set its state.
Re: Folder structure in Project
Posted: Thu Sep 09, 2021 10:20 am
by Tony Li
Hi,
Did you add the 'Grab Bowls' quest to the quest database that's assigned to the Quest Machine GameObject?
Is the 'Grab Bowls' quest in the quest giver's Quests list? (I assume it is, but just making sure.)
Does the example scene included with the Quest Machine - Dialogue System integration work correctly in your project?
Re: Folder structure in Project
Posted: Thu Sep 09, 2021 1:29 pm
by Mach4
Hi Tony;
I followed the video "Dialogue System for Unity 2.x Quest Setup" and there is no Quest Machine game object in the Hierarchy in both the test project, (which is working) and my new project.
"Grab Bowls" is in the Data base.
I am back to using the test project (Which works ) and tried to recreate another scene. It's throwing the same error. I can get dialogue working with no issues.
Should I setup a quest first using Quest machine and then add dialogue ?
Re: Folder structure in Project
Posted: Thu Sep 09, 2021 2:11 pm
by Tony Li
Hi,
Sorry, I'm a bit confused. Are you intending to use the Dialogue System's quest system or Quest Machine's quest system?
The video "Dialogue System for Unity 2.x Quest Setup" is for the Dialogue System's quest system, which is totally fine to use if that's what you want. It won't involve Quest Machine at all.
If you intend to use Quest Machine with the Dialogue System, use the Quest Machine's video Tutorial 6: Dialogue System Integration, available on the
Quest Machine Video Tutorials page. (I recommend following tutorials 1-5 first.)
Re: Folder structure in Project
Posted: Thu Sep 09, 2021 3:19 pm
by Mach4
Yes, although I have Quest Machine, I was setting up using the Dialogue system / Quest as for right now that will suffice. Just cant figure out why I am getting that error. But I will review all of my inspector settings.
Re: Folder structure in Project
Posted: Thu Sep 09, 2021 3:52 pm
by Tony Li
The error is because you don't have a Quest Machine quest with the ID 'Grab Bowls'. (You only have a Dialogue System quest. They're different quest systems.)
If/until you're ready to incorporate Quest Machine, I recommend removing all of the Quest Machine and QM+DS integration components from your scene.
Re: Folder structure in Project
Posted: Thu Sep 09, 2021 4:44 pm
by Mach4
Hi Tony -
Since I have Quest Machine I agree that I should use the capabilities in Quest Machine, so I am making the change.
One question though, is there a way I can use the Runic UI from the dialogue system throughout?
If not do you have any video's on how to edit the QM UI ?
Thanks
Rick
Re: Folder structure in Project
Posted: Thu Sep 09, 2021 5:15 pm
by Tony Li
Hi,
Sure, you can continue to use it for all Dialogue System conversations, and alerts -- including when Quest Machine kicks off a Dialogue System conversation or uses it to show an alert via the integration.
Quest Machine's HUD and Quest Journal UI are intended to be customized. You can apply the same Runic UI images to both of those UIs. I recommend duplicating the UIs prefabs -- don't modify them directly, since you'll lose your modifications when you update Quest Machine. Add your customized duplicates to the Quest Machine GameObject instead of the ones that are already there.