Page 1 of 1

Setting up Quest Log & Tracker UI

Posted: Sat Aug 19, 2023 8:06 am
by lenster
Hey, thanks for the amazing asset!

I've been following the manual on setting up the quest UI, and I have a quest, I have attached quest tracker and quest log window components to the dialogue manager and I have added the basic stand quest tracker hud and basic standard ui quest log window to the instantiate prefabs component.

My problem is that all of the component fields on the quest tracker and quest log window aren't filled out, (main panel, buttons, transforms, etc.). In the tutorial they're all filled out, but I don't understand how I'm supposed to fill them out, I thought adding the prefabs to the instantiate prefabs component might do it, but it didn't.

I have attached screenshots of the empty component and the console errors.

I've probably just missed an important step.
Thank you for your help!

Re: Setting up Quest Log & Tracker UI

Posted: Sat Aug 19, 2023 8:59 am
by Tony Li
Hi,

Here are two ways to assign UI elements to those fields:

1. The easiest way is to duplicate one of the existing prefab UIs, such as "Basic Standard Quest Tracker HUD". Move the duplicate into your own folder, and assign it to the Dialogue Manager's Instantiate Prefabs component > Prefabs list in place of the original one. Then edit the duplicate to look the way you want.

2. Alternatively, you can start from scratch. To do this, I recommend examining how one of the existing prefab UIs is set up. Then set up similar UI elements in your own UI, and assign them to the corresponding fields in your freshly-added StandardUIQuestTracker or StandardUIQuestLogWindow component.

Re: Setting up Quest Log & Tracker UI

Posted: Sat Aug 19, 2023 9:07 am
by lenster
Hey,

Thanks for the quick reply!

It seems like I don't need the quest log window component if I just use the existing prefab and add it to the instantiate prefab component is that correct? I don't really need to customize the look of it.

If so, how can I open the quest log window if I don't have the component?

Re: Setting up Quest Log & Tracker UI

Posted: Sat Aug 19, 2023 1:27 pm
by Tony Li
Hi,

You can add a QuestLogWindowHotkey component to your Dialogue Manager and set the hotkey that opens the quest log window and/or set up a UI Button that calls its Open() method (or call its Open() method in your own script).

Re: Setting up Quest Log & Tracker UI

Posted: Sat Aug 19, 2023 6:51 pm
by lenster
Thank you!

Re: Setting up Quest Log & Tracker UI

Posted: Sat Aug 19, 2023 8:16 pm
by Tony Li
Glad to help!