Search found 23368 matches

by Tony Li
Sun Sep 17, 2017 9:19 am
Forum: Dialogue System for Unity
Topic: Triggering animations with conversations
Replies: 5
Views: 687

Re: Triggering animations with conversations

Can you create an empty GameObject for the model-less player? This way in the future you can add scripts to it in that can receive player-specific messages such as OnConversationStart for conversations that involve the player. Otherwise, you can just leave the Conversation Trigger's Actor field blan...
by Tony Li
Sat Sep 16, 2017 8:21 pm
Forum: Dialogue System for Unity
Topic: Triggering animations with conversations
Replies: 5
Views: 687

Re: Triggering animations with conversations

Hi,

Use the AnimatorPlayWait() sequencer command in the node's Sequence field. For example, say your NPC has an animator state named "dance":
  • Dialogue Text: "Watch me dance!"
  • Sequence: AnimatorPlayWait(dance)
You can read more about sequences here.
by Tony Li
Sat Sep 16, 2017 8:19 pm
Forum: Dialogue System for Unity
Topic: How to present?
Replies: 5
Views: 719

Re: How to present?

For NPC nodes, it always shows the first node whose Conditions are true (or blank), at the highest available priority level.

For PC nodes, you found where to untick the Always Force Response Menu checkbox. To force a specific node to be a menu option, add the "[f]" (force) markup tag.
by Tony Li
Sat Sep 16, 2017 9:39 am
Forum: Dialogue System for Unity
Topic: How to present?
Replies: 5
Views: 719

Re: How to present?

Hi, It really depends on how you want it to work. Some designers show lengthy text in one go, typically using the typewriter effect to type it out into a scrollable Subtitle Line text component. The typewriter effect will automatically scroll to the bottom of the text component as it types. Other de...
by Tony Li
Sat Sep 16, 2017 9:32 am
Forum: Dialogue System for Unity
Topic: Localization for actor name
Replies: 3
Views: 684

Re: Localization for actor name

Hi, You can add localized versions of the Name field: http://pixelcrushers.com/dialogue_system/images/localizeActorName2.png Or the Display Name field, which I prefer: http://pixelcrushers.com/dialogue_system/images/localizeActorName4.png Then add an Override Actor Name component to your NPC, and ti...
by Tony Li
Wed Sep 13, 2017 8:19 pm
Forum: Dialogue System for Unity
Topic: Access portrait image in C# code
Replies: 1
Views: 468

Re: Access portrait image in C# code

Hi! The DialogueDatabase class has a list of actors . Each Actor has a portrait and an array of alternatePortraits which are Texture2Ds. Let's say you want to get the first alternate portrait for an actor named "Bob". (You can tell a dialogue entry to show this portrait by using the [pic=2...
by Tony Li
Wed Sep 13, 2017 10:29 am
Forum: Dialogue System for Unity
Topic: I want to change the font size of JRPG Dialogue UI with Continue Button
Replies: 17
Views: 6525

Re: I want to change the font size of JRPG Dialogue UI with Continue Button

Sure!

Code: Select all

A<color=red>B</color>C
You can also use [em#] codes. You can define the appearance of em1 - em4 on the Dialogue Editor window's Database tab.

Code: Select all

A[em1]B[/em1]C
by Tony Li
Tue Sep 12, 2017 10:16 pm
Forum: Dialogue System for Unity
Topic: I want to change the font size of JRPG Dialogue UI with Continue Button
Replies: 17
Views: 6525

Re: I want to change the font size of JRPG Dialogue UI with Continue Button

If you're using the Unity UI version, you can use < size> tags, such as:

Code: Select all

A<size=40>B</size>C
This will show the letter "B" in size 40.
by Tony Li
Tue Sep 12, 2017 10:25 am
Forum: Dialogue System for Unity
Topic: How to Send Conversations to Different UI
Replies: 15
Views: 2991

Re: How to Send Conversations to Different UI

Happy to help! If you run into any issues, just let me know.