Folder structure in Project

Announcements, support questions, and discussion for the Dialogue System.
Mach4
Posts: 28
Joined: Thu Jul 22, 2021 4:16 pm

Folder structure in Project

Post 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
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Folder structure in Project

Post 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?
Mach4
Posts: 28
Joined: Thu Jul 22, 2021 4:16 pm

Re: Folder structure in Project

Post 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.
Last edited by Mach4 on Thu Sep 09, 2021 1:40 pm, edited 1 time in total.
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Folder structure in Project

Post 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?
Mach4
Posts: 28
Joined: Thu Jul 22, 2021 4:16 pm

Re: Folder structure in Project

Post 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 ?
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Folder structure in Project

Post 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.)
Mach4
Posts: 28
Joined: Thu Jul 22, 2021 4:16 pm

Re: Folder structure in Project

Post 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.
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Folder structure in Project

Post 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.
Mach4
Posts: 28
Joined: Thu Jul 22, 2021 4:16 pm

Re: Folder structure in Project

Post 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
Last edited by Mach4 on Thu Sep 09, 2021 5:16 pm, edited 1 time in total.
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Folder structure in Project

Post 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.
Post Reply