Doh, sorry, twice up there I typed "slot" instead of "strip".
It should be a strip named "AlternatePortraits". For its Allowed Object Types, tick only Images.
I even typed it wrong in the manual. I've fixed it for the next release.
articy:draft document import bug / multiple portaits question
-
- Posts: 6
- Joined: Tue Jan 22, 2019 5:20 pm
Re: articy:draft document import bug / multiple portaits question
Ah ha, got it! Took me a few tries to get it right...didn't realize that I needed to name both the "Feature parameters" as well as the "Property parameters" as "AlternatePortraits", as well as select both "Images", and "Assets" (images only) (see pic: https://imgur.com/a/i2RKqmZ) at first, but I got there.
Thanks for the assist!
Thanks for the assist!
-
- Posts: 6
- Joined: Tue Jan 22, 2019 5:20 pm
Re: articy:draft document import bug / multiple portaits question
Since I've got you here - what's the easiest way to directly access these images and change the PC (or NPC) portrait images accordingly? I've got the SetPCPortrait() function call, but I don't know how to specify them in the first argument of the call. Or maybe there's a better way I haven't found on the forum/manual yet - I'll keep looking in the meantime
Pic of database export: https://imgur.com/a/XvD0gBE
Edit: I realized I didn't really specify my intended method of implantation - I'd planned on using Stage Directions (sequences) to determine what the mood of the character was supposed to be, and change the portrait accordingly. I've already been using:
In order to access the actor and the sequence.
Pic of database export: https://imgur.com/a/XvD0gBE
Edit: I realized I didn't really specify my intended method of implantation - I'd planned on using Stage Directions (sequences) to determine what the mood of the character was supposed to be, and change the portrait accordingly. I've already been using:
Code: Select all
var actorName = DialogueManager.currentConversationState.subtitle.speakerInfo.Name;
var actorSequence = DialogueManager.currentConversationState.subtitle.sequence;
Re: articy:draft document import bug / multiple portaits question
Hi,
In the Dialogue System, each portrait has a number. The Portrait field is 1. The Alternate Portraits start numbering at 2. So Element 0 is 2, Element 1 is 3, etc. You can open your dialogue database in the Dialogue Editor window to see the portrait numbers.
There are two ways to change the displayed portrait.
To show an alternate portrait for a single dialogue fragment, use the [pic=#] markup tag in the Dialogue Text field. For example, to show PlayerPleased:
In the Dialogue System, each portrait has a number. The Portrait field is 1. The Alternate Portraits start numbering at 2. So Element 0 is 2, Element 1 is 3, etc. You can open your dialogue database in the Dialogue Editor window to see the portrait numbers.
There are two ways to change the displayed portrait.
To show an alternate portrait for a single dialogue fragment, use the [pic=#] markup tag in the Dialogue Text field. For example, to show PlayerPleased:
- Dialogue Text: "I'm pleased! [pic=3]"
- Dialogue Text: "I'm going to stay pleased."
- Stage Directions: {{default}}; SetPortrait(Player, pic=3)