I got 2 queries related to this.
1] How do we fill the pictures field for a dialogue entry? Is it the asset persistent file path? (Please check the attachment)
2] I want to change the portrait image in the PC / NPC subtitle panel, according to the Picture specified for the dialogue entry. Which is the easiest way to achieve this? Fiddling with the existing code? Or using an animator which can be linked to the dialogue system?
Please guide at least on a gross level, if the procedure is too lengthy.
[Solved] Changing Portrait Image (for Expression) as per Dialogue
-
- Posts: 12
- Joined: Wed Jan 30, 2019 1:02 pm
[Solved] Changing Portrait Image (for Expression) as per Dialogue
- Attachments
-
- picture.PNG (30.74 KiB) Viewed 756 times
Last edited by harshad.asawale on Fri Feb 01, 2019 3:03 pm, edited 1 time in total.
Re: Changing Portrait Image (for Expression) as per Dialogue
Hi,
Ignore the Pictures field. It's a holdover from Chat Mapper. The Dialogue System's internal data structure is based on Chat Mapper, a popular third party branching conversation application. By default, a dialogue database has several Chat Mapper fields -- including Pictures, Parenthetical, and Audio Files -- that are not used by the Dialogue System. They exist only to make it easier to import and export to Chat Mapper if you want to do that. You can delete these fields from the template, with the option to delete them from all dialogue entries.harshad.asawale wrote: ↑Wed Jan 30, 2019 1:14 pm1] How do we fill the pictures field for a dialogue entry? Is it the asset persistent file path? (Please check the attachment)
In the Actors section, assign portrait images to the actor. You will notice that each portrait image is assigned a number. In the dialogue entry's Dialogue Text, use the [pic=#] markup tag, where # is the image number. For example, if image 2 is a happy image, you could set the Dialogue Text field to:harshad.asawale wrote: ↑Wed Jan 30, 2019 1:14 pm2] I want to change the portrait image in the PC / NPC subtitle panel, according to the Picture specified for the dialogue entry. Which is the easiest way to achieve this? Fiddling with the existing code? Or using an animator which can be linked to the dialogue system?
Please guide at least on a gross level, if the procedure is too lengthy.
- Dialogue Text: "I'm so happy! [pic=2]"