Hi Tony, apologies if this has already been answered. Is there a way to dynamically set the text panel image and rotation depending on which actor is speaking and what their "emotion" is? I can change the [pic=#] of the subtitle panel image to match their emotion, but I'm unsure of how to handle this for text. I'm trying to emulate this style of dialogue (though not with multiple speech bubbles on screen at once):
Built in method to dynamically change the Text Panel image?
-
- Posts: 9
- Joined: Fri May 20, 2022 10:15 pm
Re: Built in method to dynamically change the Text Panel image?
Hi,
There isn't something built-in to change the text panel image.
A common way to do it is to set up multiple subtitle panels, one for each text panel image. Then use [panel=#] markup tags or SetPanel() to show text in a specific panel.
Alternatively, you could write a custom sequencer command (see: tutorials) or an OnConversationLine() method that looks for a custom field in the dialogue entry. That custom field could specify what image to use for the text panel.
There isn't something built-in to change the text panel image.
A common way to do it is to set up multiple subtitle panels, one for each text panel image. Then use [panel=#] markup tags or SetPanel() to show text in a specific panel.
Alternatively, you could write a custom sequencer command (see: tutorials) or an OnConversationLine() method that looks for a custom field in the dialogue entry. That custom field could specify what image to use for the text panel.
-
- Posts: 9
- Joined: Fri May 20, 2022 10:15 pm
Re: Built in method to dynamically change the Text Panel image?
Hey thank you for the response. When I add in the [panel=#] tag to the dialogue text field it just shifts the actor image to that panel instead of displaying the portrait image for that subtitle panel. Going to try the OnConversationLine sequence later!
Re: Built in method to dynamically change the Text Panel image?
The idea with [panel=#] is that you'd have a few panels that basically look the same (e.g., same portrait image position) with the only difference being the image used for each panel's text panel bubble.
-
- Posts: 9
- Joined: Fri May 20, 2022 10:15 pm
Re: Built in method to dynamically change the Text Panel image?
The custom sequence command worked like a charm and definitely makes things a lot easier. Thank you!