Page 1 of 1

Gui Skin

Posted: Mon Jun 29, 2015 10:18 am
by Demonith
Hi i am new and have problem i realy donth know much but here is my problem
Image
THis first pic is close to her and u see the ui is on her feet
Image
and 2 oic is wary far from her and still see the image there is new UI system and there is no tutorial for it yet i hope they will make one can some one help me with this that image stays as hes size without shrinking and rising and to be on top of her ? and when i go far to have some kind distance from how much i can see her bark

Re: Gui Skin

Posted: Mon Jun 29, 2015 11:06 am
by Tony Li
Hi,

Later today, I'll post a prefab here that you can drop into your RPG Kit project. This should get you going until I have a chance to record a Unity UI Bark UI tutorial.

Re: Gui Skin

Posted: Mon Jun 29, 2015 12:39 pm
by Demonith
Where i can find the prefab ?

Re: Gui Skin

Posted: Mon Jun 29, 2015 5:20 pm
by Tony Li
Hi,

The prefab is in an updated RPG Kit Support package. You can download it from the Dialogue System Extras page: http://www.pixelcrushers.com/dialogue-system-extras/

The Barker prefab now uses Unity UI Bark UI. Add the Barker prefab to your scene and expand it. You will see a child GameObject named Basic Unity UI Bark UI. Inspect this GameObject. On the Canvas Group component, set Alpha to 1. Then customize the appearance to your liking.

When you're ready to make a build for players, set Alpha back to 0. The game will still run fine if you don't set it to 0, but the bark will flicker when appearing and disappearing.



To limit the barks to a certain distance, add a Range Trigger to the NPC:

1. Add a Sphere Collider. Tick Is Trigger. Expand it to the maximum range at which the NPC should bark.

2. Add a Range Trigger component. Set Conditions > Accepted Tags to "Player". Add Bark On Idle (or whatever method you're using to bark) to the Components section.

Re: Gui Skin

Posted: Tue Jun 30, 2015 3:09 am
by Demonith
When i try to import it its says Nothing to import ?

Re: Gui Skin

Posted: Tue Jun 30, 2015 8:38 am
by Tony Li
I'll take a look at the package and reply here later.

In the meantime, try deleting the Third Party Support/RPG Kit Support folder. Then import the package.

Re: Gui Skin

Posted: Tue Jun 30, 2015 10:33 pm
by Tony Li
Hi,

The package seems to be fine.

Did it work to delete and re-import the package? You can also download it here: RPGKit3_Support_2015-06-29.unitypackage

If you import this on top of your existing Third Party Support/RPG Kit folder, the "Importing package" window should look something like this:
Image

Re: Gui Skin

Posted: Wed Jul 01, 2015 3:13 am
by Demonith
I just put the GUI Skin on another empty object and now is above head now i have problem how to set up to stay the size of the gui like in images and still waiting the uGUI setup

But will try that one.

Re: Gui Skin

Posted: Wed Jul 01, 2015 4:52 am
by Demonith
The bark uGUI works with your pack awesome looking :) i just have a question when i get a quest how can i make a quest log :/ ???? there is no quest log for RPG Kit

Re: Gui Skin

Posted: Wed Jul 01, 2015 8:10 am
by Tony Li
The Dialogue System 1.5.3 (coming soon) will have a quest log window and a quest tracker HUD for RPG Kit.